Attached the navigation bar to app for launching from Launcher
- Play the nav bar fade-out animation at the same time when the app launching animation starts and make the fade-in animation ends at the same time when app launching animation ends. - To make the nav bar fade-in animation looks like it's attached to the app, apply crop rect and translation that the app targets apply to the nav target. Bug: 181638132 Test: manual: click app icon on launcher to launch an activity and observe the navigation bar animation. Change-Id: If7e610eca5fccbb747a76c87335a600b018195a6
This commit is contained in:
@@ -130,7 +130,7 @@ public class SplitSelectStateController {
|
||||
AnimatorSet anim = new AnimatorSet();
|
||||
BaseQuickstepLauncher activity = BaseActivity.fromContext(mV.getContext());
|
||||
TaskViewUtils.composeRecentsSplitLaunchAnimator(anim, mV,
|
||||
appTargets, wallpaperTargets, true, activity.getStateManager(),
|
||||
appTargets, wallpaperTargets, nonAppTargets, true, activity.getStateManager(),
|
||||
activity.getDepthController(), mTargetState);
|
||||
result.setAnimation(anim, activity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user