summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2025-01-16 11:34:42 -0800
committer Evan Rosky <erosky@google.com> 2025-01-22 16:12:47 -0800
commit5c73d96e34be4e9dffd751ac2b265ecbba7ffc94 (patch)
tree7ba6c5db4a6f569c67af9f90fddd9b1d9f388c2b /libs/androidfw/Util.cpp
parente06e571f349f738a6233dd70b553f9738887c5d5 (diff)
Add a convert-from-bubble transition
This adds convert-from-bubble transition support. Unlike the to-bubble transition, this one does NOT actually do an animation, it is just the necessary "setup" logic required to synchronize taking the task out of the taskview before dispatching to a handler which will play the actual animation. The basic principle is that the windowing-feature that "accepts" the task is the one that animates it. Because bubbles use taskview and taskviews are view-hierarchys, removing the task from the taskview seamlessly is non-trivial. In this case, there's a `pluck` utility added which posts reparenting on the taskview's choreographer and then hides the taskview. Once that happens, it can pass the task-surface onto another transition handler. This also introduces a bubbles-specific TaskViewController so that it can implement moveTaskViewToFullscreen with this bubble-specific transition. Bug: 384976265 Test: BubbleTransitionsTest Flag: com.android.wm.shell.enable_bubble_to_fullscreen Change-Id: I5edd380200a9839c75e37a87fb9a244b62df702b
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions