summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2019-07-10 15:55:45 -0400
committerWinson Chung <winsonc@google.com>2019-07-10 22:57:21 +0000
commite1822fd8d409ba491c360102deb8ebf06f051987 (patch)
treea0cfb7b23c8c6238241410f92ae9afd67b98ad8b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentae80cf399add15ffc78c1fb314811c00a73bc75e (diff)
Use a Region when calculating TouchableRegion for cutouts
HeadsUpManagerPhone handles adding extra touchable region for the display cutout. When this changed to use Rects, the extra touch region was applied to the entire phone width because Rect#union() will cause the resulting Rect to grow in every dimension. The fix is to use a Region instead so we can properly union only the space under the notch Fixes: 135487528 Test: manual Change-Id: I1d39785087cc3378fc42363df170b81b84420a8e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions