summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/taskbar/TaskbarVisibilityController.java
AgeCommit message (Collapse)Author
2021-03-24Slightly improve Taskbar animations to launcherTony Wickham
- Move Taskbar scale to LauncherState - Rename TaskbarVisibilityController to TaskbarAnimationController and add mTaskbarScaleForLauncherState to TaskbarAnimationController - Set OverviewState#getTaskbarScale() = 1f so Taskbar doesn't scale up when going from an app to Overview - Increase home animation duration so Taskbar animation aligns better Test: Taskbar scales up when going home, doesn't scale up when going to overview Bug: 182512211 Change-Id: I6f448e76de98d7ff337ae93234d4bb7ce6254d50
2021-03-23Remove dead taskbar codeTony Wickham
Test: Works as before Bug: 182512211 Change-Id: Id4c979f2924f9ae6881a9bed18bcc52fbd80c05b
2021-03-16Hide taskbar when certain floating views are openTony Wickham
Test: Open widgets, ensure taskbar hides Bug: 171917176 Change-Id: Ib78182fe0ca1ea5ffbd28ab42f49ab8f0e535a18
2021-03-15Hide nav handle/background when taskbar is showingTony Wickham
Test: nav handle isn't showing unless taskbar is hidden or removed Fixes: 181206743 Bug: 171917176 Change-Id: I84b7d0bba1a5d208b1f8b1b467faf79f04078348
2021-02-23Ensure taskbar visibility callbacks are called in init()Tony Wickham
We're initializing the correct values, but the callback only runs if the value is different than the default value of 0. Thus we weren't updating the visibility according to the value 0 in init(). Test: Initialize taskbar while launcher is resumed Fixes: 180103543 Change-Id: I3f754cac59e2bd5ad542de050e8b4c3146d5eebf
2021-01-29Animate taskbar background alpha and visibility alphaTony Wickham
Setup codepath to animate the Taskbar when going to and from Launcher, primarily by listening for pause/resume signals but also hints from gesture nav and AppToOverviewAnimationProvider. Additionally, add TaskbarStateHandler to listen for Launcher state changes if Taskbar is enabled. Combined, the end behavior is: - Background alpha is 0 when Launcher is resumed, and 1 when Launcher is paused (we can make this animation more interesting later). - Taskbar is always visible when Launcher is paused, otherwise its visibility is determined by multiple factors: LauncherState and whether the IME is showing. Bug: 171917176 Change-Id: I7856fc979931c9d12d714dee11d179fd1b5a6968