summaryrefslogtreecommitdiff
path: root/libs/hwui/ProfileDataContainer.cpp
diff options
context:
space:
mode:
author Jacky Kao <jackykao@google.com> 2021-11-30 10:14:28 +0800
committer Jacky Kao <jackykao@google.com> 2022-02-24 09:53:29 +0800
commit914cef5f32e823d3480afa731b5260dcbe660da5 (patch)
treea09c1d58ca73dbb2cc546f1e87f2e333a8aed6d7 /libs/hwui/ProfileDataContainer.cpp
parent35433f34399ec97cbd955d7f3fea362828461f3e (diff)
Apply display transform to window bounds and node bounds
Currently, the node bounds and the window bounds are both in unrotated coordinates, it means if their layout is not changed, then the bound wouldn't be change after rotating the device. This effects Uiobject2, which is used for uiautomator, because it clips the nodes bounds based on current display metrics. see ag/13805539. To fix it, we transfer them back to the rotated coordinates based on the displayInfo called back from the surface flinger. (Co-Author: Ryan) Bug: 191736824 Test: a11y CTS & unit tests Test: atest NexusLauncherTests & Launcher3Tests Change-Id: Ia92e70d98f58cb68c8e464bc142d20640ad8c53c
Diffstat (limited to 'libs/hwui/ProfileDataContainer.cpp')
0 files changed, 0 insertions, 0 deletions