summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2019-03-05 20:44:27 +0800
committerlumark <lumark@google.com>2019-03-21 02:04:04 +0800
commit5428446535d693e13f7e83bf7ac81f325b36fae5 (patch)
tree76285979d3a7e90bcf55b5908faa1a2f4b6e25c7 /tools/aapt2/java/JavaClassGenerator.cpp
parent214679b5348680a06a178ab07c6610ea987ba2a9 (diff)
Better support for cleaning up the recents animation
With Life Tiles in QuickSteps (b/111697218), launcher will “punch a hole” for TaskView & the app window will be transformed in it & keep the task is running. To prevent launcher animates on TaskView without the real app surface during task switching, launcher start RecentsAnimation to monitor onStackOrderChanged without cancel animation when swiping to recents. We use this as signal to screenshot the previous app window when next app transtion start, make leash with screenshot surface to let it below homeAnimationLayer, so that launcher can still control the leash, and then callback onAnimationCanceled with screenshot parameter for launcher to know if need to call IRecentsAnimation#cleanupScreenshot for clean up screenshot, to make the next app transtion animation can work smoothly without flickering. Bug: 122593881 Test: manual Test: atest RecentsAnimationControllerTest RecentsAnimationTest Change-Id: I83504d578a17856623a53c04a7d3c54e5bcab5f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions