summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-09-29 00:02:39 -0700
committerWinson Chung <winsonc@google.com>2021-09-29 07:08:07 +0000
commita40863be3a54bc1796a54a169a80dc55b61273a9 (patch)
tree2df7cf374bf2fcc9f89b5a459a29dd1440b52f35 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4589b798fd3e14e91c486a1ddd983c78f3c8f76a (diff)
Account for per-edge cutout for system gestures
- Currently, the start threshold for all edges is determined by the status bar size in the current orientation. On devices with notches, the device overlays override the status bar height to include the cutout size, which results in a large threshold on all sides which causes touch issues with games (especially now that the game dashboard overlay shows with the bars). Instead, we can use a standard threshold size for all edges and only expand to account for cutouts on each edge respectively. Bug: 195794974 Test: Without cutout, portrait/landscape app use default threshold With cutout, only the edge with the cutout has a non-default threshold Change-Id: Iff7fc98b4fcbb9b78fd5b22bcc07357d7171a9f9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions