summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2021-02-22 21:53:26 -0800
committerHongwei Wang <hwwang@google.com>2021-02-24 10:10:12 -0800
commitc241580de587f7a0dfd129526f3a4e16f31a2549 (patch)
treea9a97b5d69d9de8564136b9263f56bb4cc47a5a1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc952ffe7a0d700f20458ab0486e3843eaa2b121f (diff)
Fixes autoEnterPip transition from landscape
Fixes included in this change - PiP bounces back to fullscreen. The animation direction is not cleaned up after animation finishes and when display rotation callback happens and calls into PipTaskOrganizer#onMovementBoundsChanged, it accidentally invokes the onTaskVanished. Therefore, this does not happen on the first try but following attempts. - PiP window offsets to the bottom caused by duplicated display changed callbacks, bail early if we know for sure the DisplayLayout objects are identical. Also, when display rotation callback happens, the PipBoundsState#getNormalBounds is still in landscape though the internal rotation has been set in PipController#startSwipePipToHome. Known issue - PiP window flickers at the end of the transition, will track in different bug. Video: http://rcll/aaaaaabFQoRHlzixHdtY/hAdwMhKMaYTylRcnW24Utg Bug: 179721427 Bug: 179718773 Test: repeatedly enter PiP from landscape with autoEnterPip, see video Change-Id: I77c6f441563bc54720b9ef2952526691c495a777
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions