summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2019-08-21 17:26:26 -0700
committerMady Mellor <madym@google.com>2019-09-17 18:12:07 -0700
commit9be3bedc5b2ab364062cdb22a1371ff717975640 (patch)
tree1c4f6f0d80b819e30da3b9d5ce4281a42523ec66 /rs/java/android/renderscript/ProgramFragment.java
parente19353d67bcc958a73aa5a5e49d0db4b59c40892 (diff)
Restrict height of expanded view in landscape & fix left / right padding
Previously the height & width of expanded view was not updated when switching between landscape & portrait. This CL: * Adjusts max height calculation so it accounts for landscape * Updates the position, height, & left / right padding of the expanded view when the orientation changes, also accounting for notches / navbar * Also accounts display cutout when calculating IME inset for expanded view Test: manual - have multiple bubbles with different heights (small & max) - expand the stack - go to each bubble and rotate to landscape / portrait => in landscape the heights should be restricted & width of the view shouldn't overlap notches (turn them on/off) or navbar (turn gesture nav on/off), in portrait the max height should increase Bug: 135487618 Change-Id: Iaffcef0a070d3eb2d6b21248be3c94a861d77d5d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions