diff options
| author | 2025-01-16 08:57:02 -0800 | |
|---|---|---|
| committer | 2025-01-22 16:06:02 -0800 | |
| commit | e06e571f349f738a6233dd70b553f9738887c5d5 (patch) | |
| tree | 2a62a75e27e9cf6511015dc7f4f2220764427dc0 /libs/androidfw/FileStream.cpp | |
| parent | 84319ceb865d2fd4b98675bf154ad4a6afecc7c3 (diff) | |
Add Transition for convert-task-to-bubble
This adds BubbleTransitions infrastructure for managing the
lifetime of a bubble-transition. Bubbles have multiple stages
to their lifecycle so this encapsulates a logical operation
into a single object.
While a transition is ongoing for a bubble, it marks itself
as a "PendingTransition" in the bubble. This is to support
coordination (since the call-graph goes through bubble
internals).
In this case (covert-to-bubble), a ConvertToBubble object is
created for every convert-to-bubble event. It coordinates with
bubble inflation, shell-transitions, and launcher-roundtrip.
Additionally, some infrastructure was set-up for associating
a bubble with a task (rather than activity). This is in the
form of a TaskInfo in Bubble and corresponding key-type.
Since convert-to-bubble is effectively "expanding a new bubble",
there is a lot of overlap with expand animation, so some of
BubbleBarLayerView was refactored to share.
A convertToBubble animation was added (using SizeChangeAnimation
ported from core).
Bug: 384976265
Test: BubbleTransitionsTest
Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Change-Id: I25fde9b0a3b4b69eaad57724febab1103f8b7a0b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions