summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-02-06 13:58:29 -0800
committerWale Ogunwale <ogunwale@google.com>2016-02-09 12:48:11 -0800
commit480dca0d1b08f8895f66f857e9bd341033fab2d9 (patch)
tree669bfc8f223892cf0e4c63ab5e34b8a99ecf9144 /tools/aapt2/diff/Diff.cpp
parentc61e102474c1fe0e16503856531106f8bff9e36b (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 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions