Refactor TaskbarLauncherStateController to use a single AnimatedFLoat
- Use a single iconAlignment animation - Introduced isInLauncher/goingToLauncher/FLAGS_LAUNCHER as combined FLAG_RESUMED|FLAG_RECENTS_ANIMATION_RUNNING - iconAlignment is now centralized in onStateChangeApplied with single source of truth Bug: 245320601 Test: Home<->Overview, Home<->App, App<->Overview, Home->Overview->App->Home, Home->App->Overview->Home, Overview->Home->App->Overview, Overview->App->Home->Overview, App->Overview->Home->App, App->Home->Overview->App Test: Go to AllApps, call KEYCODE_HOME, go to app and taskbar should be there Test: App->Overview->Select->Home->App Test: QuickSwitch -> App Test: Repeat above with taskbarStashed on/off Test: Repeat above with gesture and 3-button Change-Id: Ie51b602394c155aca060a84585eb0e677e23425c
Loading
Please register or sign in to comment