diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-12-23 01:25:44 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-12-23 01:26:19 +0800 |
commit | fa209a71789b01bc2b5da15f8614ad9903f64624 (patch) | |
tree | ac0571f054b2812661e718bbc772787854931771 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a0334be887757324e671e09e4563034704c66fb0 (diff) |
Use rotated bounds as source touchable region for rotated app
The Layer in SF side will transform the given touchable region
according to the transformation matrix of surface. So if a window
is rotated, the raw touchable region should be the rotated bounds
instead of the bounds in display space. Then the raw region can
be rotated to the correct orientation. Otherwise the region is
like being rotated twice.
Bug: 175849666
Test: WindowStateTests#testUpdateInputWindowHandle
Change-Id: I266aaa21651c0bd5964e99d755382933d1336a9c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions