summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorkwaky <kwaky@google.com>2020-10-06 17:00:33 -0700
committerkwaky <kwaky@google.com>2020-10-08 14:19:09 -0700
commitdc32a1e213fef28ef54e9bcb8cf973cf4d7178f2 (patch)
tree70c3d8c5f6e17bec146f4d15130d46190e27bbf0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd8ba97d66c8189c1f40ab009d2086c68940f6609 (diff)
Handle System Bar Inset properly for immersive mode.
If we enter immersive mode (that is, SystemBar is hidden due to transient mode), inset from that system bar is not applied even when it becomes visible. To fix this, we are applying window inset to fit ignoring the visibility of the system bar. Each overlay view can opt-in to use this functionality by overriding shouldUseStableInsets's return value to true. It can also use conditionals to change its return value dynamically (e.g. depending on whether the IME is visible. See NotificationPanelViewController.) Bug: 169612767 Test: Manual (see screen shots) Change-Id: I9d0c460bd3b521f9e334c3f7c9d304e68593b6da
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions