diff options
| author | 2022-04-07 16:26:37 +0200 | |
|---|---|---|
| committer | 2022-10-12 13:31:47 +0000 | |
| commit | 9c0637ba1ad8ab465d435cc662416d718715c92b (patch) | |
| tree | 3d83b26c9868d5ccfee9d06a36928f3d118b1183 /libs/hwui/AutoBackendTextureRelease.cpp | |
| parent | 7ad32c8746e734a660c21d1e294d73eed72c7535 (diff) | |
Add support for dialogs in Expandable (1/2)
This CL adds support for dialog animation in Expandable. It does so by
refactoring DialogLaunchAnimator so that its implementation doesn't
assume it is expanding a View anymore. For consistency with
ActivityLaunchAnimator.Controller, I introduced a
DialogLaunchAnimator.Controller to abstract the source of a dialog
animation.
This CL also slightly changes the behavior when a chain of dialogs is
dismissed (using DialogLaunchAnimator.dismissStack()): the top-level
dialog is not animated into the first source of the chain anymore.
The current behavior actually led to sub-optimal animations where it is
used (user switcher), so the new behavior from this CL is subjectively
better.
See b/230830644#comment11 for videos and ag/20139983 for an example.
Bug: 230830644
Test: Manual
Change-Id: I59cfc5e19d4de8e5d1fec962028d043cbd2c417b
Merged-In: I59cfc5e19d4de8e5d1fec962028d043cbd2c417b
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions