diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-02-06 13:58:29 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-02-09 12:48:11 -0800 |
commit | 480dca0d1b08f8895f66f857e9bd341033fab2d9 (patch) | |
tree | 669bfc8f223892cf0e4c63ab5e34b8a99ecf9144 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c61e102474c1fe0e16503856531106f8bff9e36b (diff) |
Reduce jank during pinned stack animation
- Don’t launch Pip overlay activities during pinned stack animation.
This causes extra CPU load and takes a way resources from the running
animation.
- Finish Pip overlay activities before starting pinned stack resize
animation. Reduces the amount of work the system needs to do to keep
the overlays in-sync with the other activities in the pinned stack.
- Use AM.resizeStack with null bounds to take Pip to fullscreen so that
we can animate the bounds changed.
- Also, fixed Activity.enterPictureInPicture API to animate the transition
if Pip is entered from the app instead of Pip manager.
Bug: 25672053
Change-Id: I82399c10f1b8c675ea3861ba973dc8ecfbfbe50f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions