diff options
author | mincheli <mincheli@google.com> | 2021-04-22 13:42:47 +0800 |
---|---|---|
committer | mincheli <mincheli@google.com> | 2021-05-19 13:08:21 +0800 |
commit | 732aed15d7312768378356e50b5fc80366b5ff85 (patch) | |
tree | 2da380cb05a83f0506c6566ab1673e112b8d5005 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1d2868c45b52c68ef28b3a84b13dcc7347461c7f (diff) |
Makes magnification switch UI never overlap navigationBar and statusBar
This change contrains the x,y postion of switch button to make
the button never overlap navigation bar window and status bar window.
When the orientation is changed or navigation mode is change, the
position of switch button should be ajusted by the draggable bounds
because the window insets are updated.
Bug: 185288922
Test: atest MagnificationModeSwitchTest; atest ModeSwitchesControllerTest;
Change-Id: Idc03275f39418c18a190cdff6ffb0e94280c6281
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions