summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2024-06-17 17:26:48 -0700
committer Hongwei Wang <hwwang@google.com> 2024-06-20 15:08:05 -0700
commitb5a7a1263815922c0660169a0e8648afb0ff4d3b (patch)
tree0568ab678fae5c74a228603abe4c33c858d38b33 /libs/androidfw/StringPool.cpp
parent4031a2dfd957db01aa7c61e87b6c1faaad8e2b18 (diff)
Position PiP animation based on actual coordinates
In the previous patchset, we assumed the left/top to be 0/0 which is not always the case. This could break, for instance, in ActivityEmbedding setup, where the pip-ing app is on the left side. Changed also to use the Math.floor value for positions at the beginning of the animation to avoid rounding errors (1 pixel off). Flag: NONE test fix Bug: 345327260 Test: atest FlickerTestsOther:SecondaryActivityEnterPipTest \ WMShellFlickerTestsPip1 \ WMShellFlickerTestsPip2 \ WMShellFlickerTestsPip3 \ PipAnimationControllerTest Change-Id: I74739af591dd546c8cb35123fa580cfc6625fca4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions