Home
last modified time | relevance | path

Searched refs:Bubbles (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleLogger.java97 public void logOverflowRemove(Bubble b, @Bubbles.DismissReason int r) { in logOverflowRemove()
98 if (r == Bubbles.DISMISS_NOTIF_CANCEL) { in logOverflowRemove()
100 } else if (r == Bubbles.DISMISS_GROUP_CANCELLED) { in logOverflowRemove()
102 } else if (r == Bubbles.DISMISS_NO_LONGER_BUBBLE) { in logOverflowRemove()
104 } else if (r == Bubbles.DISMISS_BLOCKED) { in logOverflowRemove()
113 public void logOverflowAdd(Bubble b, @Bubbles.DismissReason int r) { in logOverflowAdd()
114 if (r == Bubbles.DISMISS_AGED) { in logOverflowAdd()
116 } else if (r == Bubbles.DISMISS_USER_GESTURE) { in logOverflowAdd()
118 } else if (r == Bubbles.DISMISS_RELOAD_FROM_DISK) { in logOverflowAdd()
DBubbleData.java41 import com.android.wm.shell.bubbles.Bubbles.DismissReason;
163 private Bubbles.SuppressionChangedListener mSuppressionListener;
164 private Bubbles.PendingIntentCanceledListener mCancelledListener;
195 Bubbles.SuppressionChangedListener listener) { in setSuppressionChangedListener()
200 Bubbles.PendingIntentCanceledListener listener) { in setPendingIntentCancelledListener()
493 toRemove.forEach((b) -> doRemove(b.getKey(), Bubbles.DISMISS_AGED)); in trim()
537 && (reason == Bubbles.DISMISS_NOTIF_CANCEL in doRemove()
538 || reason == Bubbles.DISMISS_GROUP_CANCELLED in doRemove()
539 || reason == Bubbles.DISMISS_NO_LONGER_BUBBLE in doRemove()
540 || reason == Bubbles.DISMISS_BLOCKED in doRemove()
[all …]
DBubbleController.java31 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_BLOCKED;
32 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_GROUP_CANCELLED;
33 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_INVALID_INTENT;
34 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NOTIF_CANCEL;
35 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NO_BUBBLE_UP;
36 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NO_LONGER_BUBBLE;
37 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_PACKAGE_REMOVED;
38 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_SHORTCUT_REMOVED;
39 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_USER_CHANGED;
129 private Bubbles.BubbleExpandListener mExpandListener;
[all …]
DBubble.java75 private Bubbles.SuppressionChangedListener mSuppressionListener;
194 @Nullable final Bubbles.SuppressionChangedListener listener, in Bubble()
195 final Bubbles.PendingIntentCanceledListener intentCancelListener, in Bubble()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java115 private Bubbles.SuppressionChangedListener mSuppressionListener;
118 private Bubbles.PendingIntentCanceledListener mPendingIntentCanceledListener;
195 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
199 assertBubbleRemoved(mBubbleA1, Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
292 assertBubbleRemoved(mBubbleA1, Bubbles.DISMISS_AGED); in testOverflow_add_stackAtMaxBubbles_overflowsOldest()
300 assertBubbleRemoved(mBubbleA2, Bubbles.DISMISS_AGED); in testOverflow_add_stackAtMaxBubbles_overflowsOldest()
317 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_USER_GESTURE); in testOverflow_maxReached_bubbleRemoved()
322 mBubbleData.dismissBubbleWithKey(mEntryA2.getKey(), Bubbles.DISMISS_USER_GESTURE); in testOverflow_maxReached_bubbleRemoved()
343 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_NOTIF_CANCEL); in testOverflow_notifCanceled_removesOverflowBubble()
348 mBubbleData.dismissBubbleWithKey(mEntryA2.getKey(), Bubbles.DISMISS_GROUP_CANCELLED); in testOverflow_notifCanceled_removesOverflowBubble()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java28 import com.android.wm.shell.bubbles.Bubbles;
43 private final Optional<Bubbles> mBubblesOptional;
49 Optional<Bubbles> bubblesOptional, in NotificationClicker()
131 Optional<Bubbles> bubblesOptional, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java119 import com.android.wm.shell.bubbles.Bubbles;
206 private Bubbles.BubbleExpandListener mBubbleExpandListener;
392 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
408 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testPromoteBubble_autoExpand()
439 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testCancelOverflowBubble()
442 mRow.getKey(), Bubbles.DISMISS_NOTIF_CANCEL); in testCancelOverflowBubble()
455 mRow.getKey(), Bubbles.DISMISS_USER_CHANGED); in testUserChange_doesNotRemoveNotif()
473 mBubbleData.dismissAll(Bubbles.DISMISS_USER_GESTURE); in testDismissStack()
648 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_selectsOverflow()
660 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_selectsOverflow()
[all …]
DNewNotifPipelineBubblesTest.java99 import com.android.wm.shell.bubbles.Bubbles;
175 private Bubbles.BubbleExpandListener mBubbleExpandListener;
330 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
348 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble_withDismissedNotif_inOverflow()
371 mRow.getKey(), Bubbles.DISMISS_NOTIF_CANCEL); in testRemoveBubble_withDismissedNotif_notInOverflow()
391 mBubbleData.dismissAll(Bubbles.DISMISS_USER_GESTURE); in testDismissStack()
550 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_selectsOverflow()
562 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_selectsOverflow()
587 Bubbles.DISMISS_BLOCKED); in testRemoveLastExpandedEmptyOverflow_collapses()
685 mBubbleController.removeBubble(mRow.getKey(), Bubbles.DISMISS_AGED); in testDeleteIntent_removeBubble_aged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/init/
DNotificationsController.kt26 import com.android.wm.shell.bubbles.Bubbles
40 bubblesOptional: Optional<Bubbles>,
DNotificationsControllerStub.kt27 import com.android.wm.shell.bubbles.Bubbles
42 bubblesOptional: Optional<Bubbles>, in initialize()
DNotificationsControllerImpl.kt46 import com.android.wm.shell.bubbles.Bubbles
85 bubblesOptional: Optional<Bubbles>, in initialize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DBubbleCoordinator.java28 import com.android.wm.shell.bubbles.Bubbles;
61 private final Optional<Bubbles> mBubblesOptional;
70 Optional<Bubbles> bubblesOptional, in BubbleCoordinator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DShadeControllerImpl.java30 import com.android.wm.shell.bubbles.Bubbles;
53 private final Optional<Bubbles> mBubblesOptional;
66 Optional<Bubbles> bubblesOptional in ShadeControllerImpl()
DNotificationIconAreaController.java41 import com.android.wm.shell.bubbles.Bubbles;
72 private final Optional<Bubbles> mBubblesOptional;
120 Optional<Bubbles> bubblesOptional, in NotificationIconAreaController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DWMComponent.java29 import com.android.wm.shell.bubbles.Bubbles;
93 Optional<Bubbles> getBubbles(); in getBubbles()
DSysUIComponent.java32 import com.android.wm.shell.bubbles.Bubbles;
81 Builder setBubbles(Optional<Bubbles> b); in setBubbles()
DSystemUIModule.java81 import com.android.wm.shell.bubbles.Bubbles;
186 Optional<Bubbles> bubblesOptional, in provideBubblesManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaControllerTest.java36 import com.android.wm.shell.bubbles.Bubbles;
73 private Bubbles mBubbles;
DNotificationGroupManagerLegacyTest.java43 import com.android.wm.shell.bubbles.Bubbles;
71 mDependency.injectMockDependency(Bubbles.class); in setup()
79 Optional.of(mock(Bubbles.class))); in initializeGroupManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java89 import com.android.wm.shell.bubbles.Bubbles;
110 private final Bubbles mBubbles;
122 private final Bubbles.SysuiProxy mSysuiProxy;
132 Optional<Bubbles> bubblesOptional, in create()
163 Bubbles bubbles, in BubblesManager()
261 mSysuiProxy = new Bubbles.SysuiProxy() { in BubblesManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java34 import com.android.wm.shell.bubbles.Bubbles;
242 Optional<Bubbles> bubblesOptional, NotificationEntry entry) { in shouldFilterOut()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java56 import com.android.wm.shell.bubbles.Bubbles;
122 Optional.of(mock(Bubbles.class)))); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DStatusBarDependenciesModule.java70 import com.android.wm.shell.bubbles.Bubbles;
184 Optional<Bubbles> bubblesOptional, in provideNotificationViewHierarchyManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java45 import com.android.wm.shell.bubbles.Bubbles;
88 private final Optional<Bubbles> mBubblesOptional;
116 Optional<Bubbles> bubblesOptional, in NotificationViewHierarchyManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java56 import com.android.wm.shell.bubbles.Bubbles;
110 Optional.of(mock(Bubbles.class)), in setUp()

12