summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-05-18 13:27:40 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-05-18 13:29:18 -0700
commit5e946e95aee09dd44c80f372a0277de3219e6525 (patch)
tree3245d34a68ab7e23b877f5364c2cd4570c47e636 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta025621bcd3233a4ffab1269d8b640fa40dab165 (diff)
Skip finishResize for non-exit animation if PIP is about to exit
This handles the case were exitPip is called while there is a animateResize PIP ongoing, such the menu expand/unexpand animation. When that was the case, the first finishResize was applied at the same time as the exit WCT, resulting in bad frames at the end of the exit animation. This CL makes it so that the first finishResize is skipped if we know exitPip is handling the exit and will eventually call its own finishResize operation. Bug: 185306679 Test: enter PIP with YT, tap on menu to show it and immediately tap on the app launcher icon to expand PIP - verify the exit transtion runs smoothly Change-Id: Iac49f69cc698f1ac5d88fd408c204e2281b70ac7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions