summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-05-13 12:00:27 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-05-13 12:00:27 -0700
commitfa915cb52c2a8dea04928b2195f2d13c3deaabc9 (patch)
treec9a6810408dd62c6e23a983249a451d6d95637fb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent56daf16ed8bf454acf72213f245dfebada8bfed1 (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: I230a94b53d2a96331021c1ea49510caa92fa991e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions