Home
last modified time | relevance | path

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

123

/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;
226 private Bubbles.BubbleMetadataFlagListener mBubbleMetadataFlagListener;
227 private Bubbles.PendingIntentCanceledListener mCancelledListener;
271 public void setSuppressionChangedListener(Bubbles.BubbleMetadataFlagListener listener) { in setSuppressionChangedListener()
276 Bubbles.PendingIntentCanceledListener listener) { in setPendingIntentCancelledListener()
605 doRemove(b.getKey(), Bubbles.DISMISS_USER_ACCOUNT_REMOVED); in removeBubblesForUser()
637 toRemove.forEach((b) -> doRemove(b.getKey(), Bubbles.DISMISS_AGED)); in trim()
674 boolean shouldRemoveHiddenBubble = reason == Bubbles.DISMISS_NOTIF_CANCEL in doRemove()
675 || reason == Bubbles.DISMISS_GROUP_CANCELLED in doRemove()
676 || reason == Bubbles.DISMISS_NO_LONGER_BUBBLE in doRemove()
[all …]
DBubbleController.java28 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_BLOCKED;
29 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_GROUP_CANCELLED;
30 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_INVALID_INTENT;
31 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NOTIF_CANCEL;
32 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NO_BUBBLE_UP;
33 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NO_LONGER_BUBBLE;
34 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_PACKAGE_REMOVED;
35 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_SHORTCUT_REMOVED;
36 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_USER_CHANGED;
145 RemoteCallable<BubbleController>, Bubbles.SysuiProxy.Provider {
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java124 private Bubbles.BubbleMetadataFlagListener mBubbleMetadataFlagListener;
127 private Bubbles.PendingIntentCanceledListener mPendingIntentCanceledListener;
250 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
254 assertBubbleRemoved(mBubbleA1, Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
347 assertBubbleRemoved(mBubbleA1, Bubbles.DISMISS_AGED); in testOverflow_add_stackAtMaxBubbles_overflowsOldest()
355 assertBubbleRemoved(mBubbleA2, Bubbles.DISMISS_AGED); in testOverflow_add_stackAtMaxBubbles_overflowsOldest()
372 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_USER_GESTURE); in testOverflow_maxReached_bubbleRemoved()
377 mBubbleData.dismissBubbleWithKey(mEntryA2.getKey(), Bubbles.DISMISS_USER_GESTURE); in testOverflow_maxReached_bubbleRemoved()
398 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_NOTIF_CANCEL); in testOverflow_notifCanceled_removesOverflowBubble()
403 mBubbleData.dismissBubbleWithKey(mEntryA2.getKey(), Bubbles.DISMISS_GROUP_CANCELLED); in testOverflow_notifCanceled_removesOverflowBubble()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsScreenshotHelperService.java27 import com.android.wm.shell.bubbles.Bubbles;
44 private final Optional<Bubbles> mOptionalBubbles;
47 public AppClipsScreenshotHelperService(Optional<Bubbles> optionalBubbles) { in AppClipsScreenshotHelperService()
DAppClipsService.java44 import com.android.wm.shell.bubbles.Bubbles;
66 private final Optional<Bubbles> mOptionalBubbles;
72 Optional<Bubbles> optionalBubbles, DevicePolicyManager devicePolicyManager) { in AppClipsService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskBubblesServiceTest.kt27 import com.android.wm.shell.bubbles.Bubbles
42 @Mock private lateinit var bubbles: Bubbles
44 private fun createServiceBinder(bubbles: Bubbles? = this.bubbles) = in createServiceBinder()
DFakeNoteTaskBubbleController.kt23 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
36 private val optionalBubbles: Optional<Bubbles> in <lambda>()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DLaunchBubbleHelper.kt27 ActivityOptions.Bubbles.LaunchBubble.LABEL,
28 ActivityOptions.Bubbles.LaunchBubble.COMPONENT.toFlickerComponent()
/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;
57 Optional<Bubbles> bubblesOptional, in NotificationClicker()
144 Optional<Bubbles> bubblesOptional, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsScreenshotHelperServiceTest.java34 import com.android.wm.shell.bubbles.Bubbles;
58 @Mock private Optional<Bubbles> mBubblesOptional;
59 @Mock private Bubbles mBubbles;
DAppClipsServiceTest.java44 import com.android.wm.shell.bubbles.Bubbles;
63 @Mock private Optional<Bubbles> mOptionalBubbles;
64 @Mock private Bubbles mBubbles;
/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/tests/src/com/android/systemui/wmshell/
DBubblesTest.java170 import com.android.wm.shell.bubbles.Bubbles;
290 private Bubbles.BubbleExpandListener mBubbleExpandListener;
474 Optional.of(mock(Bubbles.class)) in setUp()
572 Bubbles.DISMISS_NO_LONGER_BUBBLE); in tearDown()
639 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
659 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble_withDismissedNotif_inOverflow()
681 mRow.getKey(), Bubbles.DISMISS_NOTIF_CANCEL); in testRemoveBubble_withDismissedNotif_notInOverflow()
701 mBubbleData.dismissAll(Bubbles.DISMISS_USER_GESTURE); in testDismissStack()
869 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_collapses()
881 Bubbles.DISMISS_USER_GESTURE); in testRemoveLastExpanded_collapses()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/
DOWNERS1 # window manager > wm shell > Bubbles
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DWMComponent.java25 import com.android.wm.shell.bubbles.Bubbles;
91 Optional<Bubbles> getBubbles(); in getBubbles()
DSysUIComponent.java33 import com.android.wm.shell.bubbles.Bubbles;
91 Builder setBubbles(Optional<Bubbles> b); in setBubbles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskBubblesController.kt30 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
114 constructor(private val mOptionalBubbles: Optional<Bubbles>) : Service() { in <lambda>()
DNoteTaskLaunchMode.kt19 import com.android.wm.shell.bubbles.Bubbles
DNoteTaskInitializer.kt35 import com.android.wm.shell.bubbles.Bubbles
47 private val optionalBubbles: Optional<Bubbles>,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestUtil.kt35 import com.android.wm.shell.bubbles.Bubbles
60 bubbles: Optional<Bubbles>, in createProviderByFlag()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/wm/shell/bubbles/
DBubblesKosmos.kt24 var Kosmos.bubbles by Kosmos.Fixture { mock<Bubbles> {} } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLegacyNotificationIconAreaControllerImplTest.java41 import com.android.wm.shell.bubbles.Bubbles;
79 private Bubbles mBubbles;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractor.kt27 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
43 private val bubbles: Optional<Bubbles>, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorTest.kt46 import com.android.wm.shell.bubbles.Bubbles
59 private val bubbles: Bubbles = mock()
158 private val bubbles: Bubbles = mock()
270 private val bubbles: Bubbles = mock()

123