diff options
| author | 2023-10-26 23:18:03 +0800 | |
|---|---|---|
| committer | 2023-10-27 15:59:30 +0800 | |
| commit | 8e804eeaf280b656706f44cee59d0981935cf590 (patch) | |
| tree | 68bcfb611b6899e76db9f5807d95d9481145392e /libs/input/PointerController.cpp | |
| parent | c9d20f37276dbdedbe6579f2e0be02eece55996f (diff) | |
Add support of custom animation in ActivityEmbeddingController
Because ActivityEmbeddingAnimationRunner will union the bounds of
open changes as the animation parent size (Animation#initialize),
it won't animate on a small region as DefaultTransitionHandler
that uses end bounds.
E.g. one {OPEN,FILL_TASK} TaskFragment and two {CLOSE} TaskFragment.
Bug: 288233059
Test: atest ActivityEmbeddingControllerTests# \
testShouldAnimate_containsAnimationOptions
Test: With a device that supports activity embedding.
Below cases can run their specified animation:
1. Launch Settings->Display->Brightness level
2. Security->Device unlock->Fingerprint Unlock
while a secured lock is set and the device only uses
fingerprintStatusUtils.getSettingsClassName().
Change-Id: Idda515ba483c1c55508dd07450f10f3e9f232e52
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions