summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-23 01:25:44 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-12-23 01:26:19 +0800
commitfa209a71789b01bc2b5da15f8614ad9903f64624 (patch)
treeac0571f054b2812661e718bbc772787854931771 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta0334be887757324e671e09e4563034704c66fb0 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions