summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-04-05 16:11:45 -0700
committerRobert Carr <racarr@google.com>2017-04-05 16:19:24 -0700
commit0c901695e6770bab6a7d247e1d8ce431fc3ca955 (patch)
treee9cde503dffbb9ab38b324c45c02150d7ee7bc24 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc01dd791c331815cfa496548cf535147dedfaa8a (diff)
Correct animation glitch for pinned stack.
During an auto-PiP operation it can be such that the pipped activity "isWaitingForOpening". This is due to the visibility toggling to hiddenRequested, and then back to visible, which causes it to enter mOpeningApps. Logic in display content, prevents updating the surface boundaries while we are in this waiting for opening state. This causes the animation to jank as the top left corner will not move. The claim made by the comment is that certain animations may have not "processed their initial transformation". So we ignore this "waiting for opening" state if the app transition is a dummy animation, in which case we have no transformation anyway. Bug: 36821017 Bug: 35396882 Test: Enter PiP from YouTube, make sure top left corner moves smoothly. Change-Id: Ia8519fe3c955f2ac80151b851c219d6ddbd26fed
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions