diff options
| author | 2023-08-23 16:38:55 -0700 | |
|---|---|---|
| committer | 2023-08-23 23:46:02 +0000 | |
| commit | d1b48c9a70d7bc316e75ed037c7bf63c8eaabf5d (patch) | |
| tree | dc7e31a67964d77da436b9e73b38b400d07d4dae /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | a9d53171535fdb6f992f37be1360afe230d4ce68 (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