mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Modify Taskbar code to accommodate bubble bar gesture to stash/unstash
* Bubble bar typically follows the behavior of taskbar - if taskbar is shown, the bubble bar is shown, if taskbar hides, bubble bar hides. * The bubble bar has 3 states: stashed, collapsed (unstashed but the bubbles are not expanded), and expanded. When bubbles are expanded, this means WMShell is rendering the bubble expanded view. In this situation taskbar becomes collapsed. Bug: 253318833 Test: manual, with other CLs, see go/bubble-bar-tests Flag: WM_BUBBLE_BAR Change-Id: Ic210c382e7482c259ae543a0dc083fe9305cbf5b
This commit is contained in:
@@ -92,6 +92,10 @@ public class TaskbarTranslationController implements TaskbarControllers.Loggable
|
||||
mControllers.stashedHandleViewController.setTranslationYForSwipe(transY);
|
||||
mControllers.taskbarViewController.setTranslationYForSwipe(transY);
|
||||
mControllers.taskbarDragLayerController.setTranslationYForSwipe(transY);
|
||||
mControllers.bubbleControllers.ifPresent(controllers -> {
|
||||
controllers.bubbleBarViewController.setTranslationYForSwipe(transY);
|
||||
controllers.bubbleStashedHandleViewController.setTranslationYForSwipe(transY);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user