Home
last modified time | relevance | path

Searched refs:bubbleBarViewController (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/stashing/
DPersistentBubbleStashControllerTest.kt65 @Mock lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.bubbles.stashing.PersistentBubbleStashControllerTest
83 bubbleBarViewController, in setUp()
92 whenever(bubbleBarViewController.hasBubbles()).thenReturn(false) in updateLauncherState_noBubbles_controllerNotified()
100 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ false) in updateLauncherState_noBubbles_controllerNotified()
106 whenever(bubbleBarViewController.hasBubbles()).thenReturn(false) in setBubblesShowingOnHomeUpdatedToFalse_barPositionYUpdated_controllersNotified()
108 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in setBubblesShowingOnHomeUpdatedToFalse_barPositionYUpdated_controllersNotified()
117 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ true) in setBubblesShowingOnHomeUpdatedToFalse_barPositionYUpdated_controllersNotified()
128 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in setBubblesShowingOnHomeUpdatedToTrue_barPositionYUpdated_controllersNotified()
137 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ true) in setBubblesShowingOnHomeUpdatedToTrue_barPositionYUpdated_controllersNotified()
150 clearInvocations(bubbleBarViewController) in setBubblesShowingOnOverviewUpdatedToFalse_controllersNotified()
[all …]
DTransientBubbleStashControllerTest.kt79 @Mock lateinit var bubbleBarViewController: BubbleBarViewController in <lambda>() variable in com.android.launcher3.taskbar.bubbles.stashing.TransientBubbleStashControllerTest
115 bubbleBarViewController, in <lambda>()
124 whenever(bubbleBarViewController.hasBubbles()).thenReturn(false) in <lambda>()
132 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ false) in <lambda>()
138 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in <lambda>()
147 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ true) in <lambda>()
161 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in <lambda>()
170 verify(bubbleBarViewController).onBubbleBarConfigurationChanged(/* animate= */ true) in <lambda>()
184 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in <lambda>()
206 whenever(bubbleBarViewController.isHiddenForNoBubbles).thenReturn(false) in <lambda>()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/stashing/
DTransientBubbleStashController.kt62 private lateinit var bubbleBarViewController: BubbleBarViewController in <lambda>() variable in com.android.launcher3.taskbar.bubbles.stashing.TransientBubbleStashController
71 bubbleBarViewController.setTranslationYForStash(transY) in <lambda>()
98 val hasBubbles = bubbleBarViewController.hasBubbles() in <lambda>()
99 bubbleBarViewController.onBubbleBarConfigurationChanged(hasBubbles) in <lambda>()
125 if (!isLocked && bubbleBarViewController.hasBubbles()) { in <lambda>()
134 val bubbleBarHeight = bubbleBarViewController.bubbleBarCollapsedHeight in <lambda>()
150 bubbleBarViewController: BubbleBarViewController, in <lambda>()
155 this.bubbleBarViewController = bubbleBarViewController in <lambda>()
158 bubbleBarTranslationYAnimator = bubbleBarViewController.bubbleBarTranslationY in <lambda>()
159 bubbleBarBubbleTranslationY = bubbleBarViewController.bubbleOffsetY in <lambda>()
[all …]
DPersistentBubbleStashController.kt45 private lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.bubbles.stashing.PersistentBubbleStashController
57 val hasBubbles = bubbleBarViewController.hasBubbles()
58 bubbleBarViewController.onBubbleBarConfigurationChanged(hasBubbles)
76 if (!isLocked && bubbleBarViewController.hasBubbles()) {
92 val bubbleBarHeight: Float = bubbleBarViewController.bubbleBarCollapsedHeight
99 val bubbleBarHeight = bubbleBarViewController.bubbleBarCollapsedHeight
136 bubbleBarViewController: BubbleBarViewController, in init()
141 this.bubbleBarViewController = bubbleBarViewController in init()
143 bubbleBarTranslationYAnimator = bubbleBarViewController.bubbleBarTranslationY in init()
145 bubbleBarAlphaAnimator = bubbleBarViewController.bubbleBarAlpha.get(/* index= */ 0) in init()
[all …]
DBubbleStashController.kt93 bubbleBarViewController: BubbleBarViewController, in init()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarInputConsumerTest.kt45 @Mock private lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.bubbles.BubbleBarInputConsumerTest
64 bubbleBarViewController, in setUp()
100 whenever(bubbleBarViewController.hasBubbles()).thenReturn(false) in testIsEventOnBubbles_noBubbles()
109 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in testIsEventOnBubbles_eventOnStashedHandle()
122 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in testIsEventOnBubbles_eventNotOnStashedHandle()
135 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in testIsEventOnBubbles_eventOnVisibleBubbleView()
138 whenever(bubbleBarViewController.isBubbleBarVisible).thenReturn(true) in testIsEventOnBubbles_eventOnVisibleBubbleView()
139 whenever(bubbleBarViewController.isEventOverBubbleBar(any())).thenReturn(true) in testIsEventOnBubbles_eventOnVisibleBubbleView()
149 whenever(bubbleBarViewController.hasBubbles()).thenReturn(true) in testIsEventOnBubbles_eventNotOnVisibleBubbleView()
152 whenever(bubbleBarViewController.isBubbleBarVisible).thenReturn(true) in testIsEventOnBubbles_eventNotOnVisibleBubbleView()
[all …]
DBubbleBarSwipeControllerTest.kt65 @Mock private lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.bubbles.BubbleBarSwipeControllerTest
89 bubbleBarViewController, in setUp()
114 verify(bubbleBarViewController).setTranslationYForSwipe(dampedTranslation) in testViewsHaveDampedTranslationOnSwipe()
151 verify(bubbleBarViewController, atLeastOnce()) in testViewsTranslationResetOnFinish()
274 verify(bubbleBarViewController, never()).setTranslationYForSwipe(any()) in swipeDown_stashedBar_swipeIgnored()
292 verify(bubbleBarViewController, never()).setTranslationYForSwipe(any()) in swipe_expandedBar_swipeIgnored()
361 verify(bubbleBarViewController, never()).setTranslationYForSwipe(any()) in swipeDown_collapsedBar_swipeIgnored()
371 whenever(bubbleBarViewController.isExpanded).thenReturn(false) in setUpStashedBar()
377 whenever(bubbleBarViewController.isExpanded).thenReturn(false) in setUpCollapsedBar()
383 whenever(bubbleBarViewController.isExpanded).thenReturn(true) in setUpExpandedBar()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleControllers.java38 public final BubbleBarViewController bubbleBarViewController; field in BubbleControllers
57 BubbleBarViewController bubbleBarViewController, in BubbleControllers() argument
67 this.bubbleBarViewController = bubbleBarViewController; in BubbleControllers()
97 bubbleBarViewController, in init()
101 bubbleBarViewController.init(taskbarControllers, /* bubbleControllers = */ this, in init()
141 bubbleBarViewController.onDestroy(); in onDestroy()
146 bubbleBarViewController.dump(pw); in dump()
DBubbleBarPinController.kt44 private lateinit var bubbleBarViewController: BubbleBarViewController in <lambda>() variable
57 bubbleBarViewController = bubbleControllers.bubbleBarViewController in <lambda>()
93 val bounds = bubbleBarViewController.bubbleBarBounds in <lambda>()
94 val horizontalMargin = bubbleBarViewController.horizontalMargin in <lambda>()
DBubblePinController.kt43 private lateinit var bubbleBarViewController: BubbleBarViewController in <lambda>() variable
55 bubbleBarViewController = bubbleControllers.bubbleBarViewController in <lambda>()
101 val bubbleBarBounds = bubbleBarViewController.bubbleBarBounds in <lambda>()
DBubbleBarSwipeController.kt41 private lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.bubbles.BubbleBarSwipeController
64 bubbleBarViewController = bubbleControllers.bubbleBarViewController in init()
74 bubbleBarViewController.isExpanded -> EXPANDED in start()
165 bubbleBarViewController.setTranslationYForSwipe(dampedSwipe) in onSwipeUpdate()
DBubbleDismissController.java84 mBubbleBarViewController = bubbleControllers.bubbleBarViewController; in init()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewCallbacks.java152 BubbleBarViewController bubbleBarViewController =
153 mControllers.bubbleControllers.map(c -> c.bubbleBarViewController).orElse(null);
154 if (bubbleBarViewController != null && bubbleBarViewController.isBubbleBarVisible()) {
155 return bubbleBarViewController.getBubbleBarLocation();
166 .filter(c -> !c.bubbleBarViewController.isHiddenForNoBubbles())
167 .map(c -> c.bubbleBarViewController.getCollapsedWidthWithMaxVisibleBubbles())
DTaskbarInsetsController.kt140 val bubbleBarViewController = bubbleControllers.bubbleBarViewController in <lambda>() constant
142 val isAnimatingNewBubble = bubbleBarViewController.isAnimatingNewBubble in <lambda>()
145 defaultTouchableRegion.addBoundsToRegion(bubbleBarViewController.bubbleBarBounds) in <lambda>()
146 defaultTouchableRegion.addBoundsToRegion(bubbleBarViewController.flyoutBounds) in <lambda>()
349 controllers.bubbleControllers.get().bubbleBarViewController.isBubbleBarVisible() in <lambda>()
401 if (!bubbleControllers.bubbleBarViewController.isBubbleBarVisible) { in <lambda>()
404 bubbleControllers.bubbleBarViewController.bubbleBarBounds in <lambda>()
DTaskbarDragController.java135 c -> c.bubbleBarViewController.addBubbleBarDropTargets(this)); in init()
141 c -> c.bubbleBarViewController.removeBubbleBarDropTargets(this)); in onDestroy()
565 BubbleBarViewController bubbleBarViewController = bc.bubbleBarViewController; in notifyBubbleBarItemDropped()
566 boolean showingDropTarget = bubbleBarViewController.isShowingDropTarget(); in notifyBubbleBarItemDropped()
568 bubbleBarViewController.onItemDragCompleted(); in notifyBubbleBarItemDropped()
576 bc.bubbleBarViewController.onItemDraggedOutsideBubbleBarDropZone()); in notifyBubbleBarItemDragCanceled()
DTaskbarStashViaTouchController.kt114 if (bubbleControllers != null && bubbleControllers.bubbleBarViewController.isExpanded) { in onControllerInterceptTouchEvent()
136 bubbleControllers.bubbleBarViewController.isEventOverAnyItem( in onControllerInterceptTouchEvent()
DTaskbarControllers.java238 bubbleControllers.bubbleBarViewController.getBubbleBarLocation(); in setUiController()
240 bubbleControllers.bubbleBarViewController.isHiddenForNoBubbles(); in setUiController()
DLauncherTaskbarUIController.java319 && bubbleControllers.bubbleBarViewController.isBubbleBarVisible(); in isBubbleBarVisible()
483 return mControllers.bubbleControllers.get().bubbleBarViewController.hasBubbles(); in hasBubbles()
DTaskbarTranslationController.java96 controllers.bubbleBarViewController.setTranslationYForSwipe(transY); in updateTranslationYForSwipe()
DTaskbarPinningController.kt127 controllers.bubbleControllers.getOrNull()?.bubbleBarViewController?.let { in getAnimatorSetForTaskbarPinningAnimation()
DTaskbarViewController.java356 return mBubbleControllers.bubbleBarViewController in getTransientTaskbarShiftXForBubbleBar()
535 int translationXForTransientTaskbar = mBubbleControllers.bubbleBarViewController in updateTaskbarIconTranslationXForPinning()
964 int offsetX = mBubbleControllers.bubbleBarViewController in createIconAlignmentController()
1173 && mBubbleControllers.bubbleBarViewController.hasBubbles(); in bubbleBarHasBubbles()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/
DTaskbarOverflowTest.kt115 @InjectController lateinit var bubbleBarViewController: BubbleBarViewController in <lambda>() variable
236 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(false) } in <lambda>()
250 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(false) } in <lambda>()
259 bubbleBarViewController.collapsedWidthWithMaxVisibleBubbles.toInt() in <lambda>()
270 bubbleBarViewController.setHiddenForBubbles(false) in <lambda>()
280 bubbleBarViewController.collapsedWidthWithMaxVisibleBubbles.toInt() in <lambda>()
287 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(false) } in <lambda>()
301 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(false) } in <lambda>()
306 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(true) } in <lambda>()
320 currentControllerInitCallback = { bubbleBarViewController.setHiddenForBubbles(false) } in <lambda>()
[all …]
DTaskbarStashControllerTest.kt80 @InjectController lateinit var bubbleBarViewController: BubbleBarViewController variable in com.android.launcher3.taskbar.TaskbarStashControllerTest
426 bubbleBarViewController.setHiddenForBubbles(false) in testUpdateAndAnimateTransientTaskbar_unstashTaskbarWithBubbles_bubbleBarUnstashes()
437 bubbleBarViewController.setHiddenForBubbles(false) in testUpdateAndAnimateTransientTaskbar_unstashTaskbarWithoutBubbles_bubbleBarStashed()
448 bubbleBarViewController.setHiddenForBubbles(false) in testUpdateAndAnimateTransientTaskbar_stashTaskbarWithBubbles_bubbleBarStashes()
459 bubbleBarViewController.setHiddenForBubbles(false) in testUpdateAndAnimateTransientTaskbar_stashTaskbarWithoutBubbles_bubbleBarUnstashed()
470 bubbleBarViewController.setHiddenForBubbles(false) in testUpdateAndAnimateTransientTaskbar_bubbleBarExpandedBeforeTimeout_expandedAfterwards()
471 bubbleBarViewController.isExpanded = true in testUpdateAndAnimateTransientTaskbar_bubbleBarExpandedBeforeTimeout_expandedAfterwards()
481 assertThat(bubbleBarViewController.isExpanded).isTrue() in testUpdateAndAnimateTransientTaskbar_bubbleBarExpandedBeforeTimeout_expandedAfterwards()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DBubbleBarInputConsumer.java74 mBubbleBarViewController = bubbleControllers.bubbleBarViewController; in BubbleBarInputConsumer()
188 if (controllers == null || !controllers.bubbleBarViewController.hasBubbles()) { in isEventOnBubbles()
194 } else if (controllers.bubbleBarViewController.isBubbleBarVisible()) { in isEventOnBubbles()
195 return controllers.bubbleBarViewController.isEventOverBubbleBar(ev); in isEventOnBubbles()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DInputConsumerUtilsTest.java591 BubbleBarViewController bubbleBarViewController = mock(BubbleBarViewController.class); in createBubbleControllers() local
603 bubbleBarViewController, in createBubbleControllers()
613 when(bubbleBarViewController.hasBubbles()).thenReturn(true); in createBubbleControllers()
616 when(bubbleBarViewController.isBubbleBarVisible()).thenReturn(!isStashed); in createBubbleControllers()
617 when(bubbleBarViewController.isEventOverBubbleBar(any())).thenReturn(true); in createBubbleControllers()

12