diff options
author | Vishnu Nair <vishnun@google.com> | 2019-03-22 13:45:31 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2019-03-22 20:47:15 +0000 |
commit | 93d68c27be452137cc472e8dc9015de71e87cd0a (patch) | |
tree | 061ecf4b6c33299f86ef48fa6d9c2fc3e4350902 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 16b4163b9deb9b983268ba519942f6febf7c3a75 (diff) |
WM: Add a crop to touchable region if needed
When populating the touchable region, check whether we should crop to stack bounds. With the
introduction of public SurfaceControl, users can position the surface outside of the bounds
its parents. SurfaceFlinger will ensure that regions outside its parents are not drawn but
the surface may still consume touch input.
Setting the crop will ensure that we crop the touch region to the specified surface.
Bug: 123992966
Test: go/wm-smoke
Test: manual input tests and check winscope trace
Change-Id: I4426500ea0a70a6b511cb26b4f9cdf5e0bcbac3f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions