summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2020-08-14 17:33:28 -0700
committerJorge Gil <jorgegil@google.com>2020-08-17 23:31:00 +0000
commitc07be0dfcff85391249778a49a3b6ccfc5b62500 (patch)
treeaf17614106bf171c50f9a40680635e78a0124061 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentbe05cd4b4032c1ad158c988b4c94e968cb3afd7e (diff)
Invalidate resized bounds on aspect ratio changes
When the aspect ratio is changed on the pinned window, the previously saved user-resize bounds are used as the restore bounds when unexpanding, which have the previous aspect ratio still. This change invalidates the user resized bounds on aspect ratio changes, which then forces it to be re-set to the new normal bounds. Bug: 163420655 Test: PIP portrait Youtube video, touch to expand menu, click 'next' icon to switch to a landscape video. The landscape video should restore to its unexpanded bounds with the correct aspect ratio. Change-Id: I808993a921e3dc3858fad2c131e6a86bf45955e0 Merged-In: I808993a921e3dc3858fad2c131e6a86bf45955e0 (cherry picked from commit 9b9c7d019b55a00c50964307a037620de225bbce)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions