summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Haoyu Zhang <haoyuchang@google.com> 2023-08-23 16:38:55 -0700
committer Haoyu Zhang <haoyuchang@google.com> 2023-08-23 23:46:02 +0000
commitd1b48c9a70d7bc316e75ed037c7bf63c8eaabf5d (patch)
treedc7e31a67964d77da436b9e73b38b400d07d4dae /libs/hwui/FrameInfoVisualizer.cpp
parenta9d53171535fdb6f992f37be1360afe230d4ce68 (diff)
Fix: ViewGroupGetChildLocalHitRegionTest fail on cuttlefish auto devices
In the test, the expected Matrix's translation is computed by View.getLocationInWindow which only returns interger results. But the test view's actual matrix is 7.5 pixel. To fix the test failure, we specify the test view's translationX/Y in px unit instead. Bug: 296551016 Test: atest ViewGroupGetChildLocalHitRegionTest Change-Id: I170fba4057edf8b1be9029513a74de955aeb83e0
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions