diff options
author | shawnlin <shawnlin@google.com> | 2021-04-26 15:45:30 +0800 |
---|---|---|
committer | shawnlin <shawnlin@google.com> | 2021-05-14 13:15:29 +0800 |
commit | 9aee2dc7e6bc9e3d55574d21da5e57e127754b4b (patch) | |
tree | 76ce872a2c7ebbbb8799e3b925dfc58ca7953109 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68667bdd3a82fbd77eddc9ec6e07ed760b92de92 (diff) |
Attach nav bar to app during transition for non-remote animation case
- Play fade-out/in animation in AppTransition.goodToGo() if it's not a
remote animation.
- Create a new class NavFadeAnimationAdapter:
- Able to play fade-out and fade-in sequentially.
- Able to reparent the animation leash to the specified parent when
the animation starts.
- This CL also refines a case when users launch an app and then swipe up
immediately to enter recent app by canceling animation of the nav
token in RecentsAnimationController.attachNavigationBarToApp().
In this case, the swipe-up gesture should have higher priority to
control the nav bar.
Bug: 185303414
Test: - atest RecentsAnimationControllerTest
- Launch clock widget from launcher and observe the transition
- Launch an app and then swipe up immediately to enter recent app
Change-Id: Ic8ad3dfe4fe3efcf88cf3cfcf362d18e3c47f632
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions