Home
last modified time | relevance | path

Searched refs:mBubbles (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java199 private final List<Bubble> mBubbles; field in BubbleData
250 mBubbles = new ArrayList<>(); in BubbleData()
253 mStateChange = new Update(mBubbles, mOverflowBubbles); in BubbleData()
291 return !mBubbles.isEmpty(); in hasBubbles()
366 && !mBubbles.contains(bubble) in setSelectedBubbleFromLauncher()
370 + " (" + bubble + ") bubbles=" + mBubbles); in setSelectedBubbleFromLauncher()
614 mBubbles.add(0, bubble); in doAdd()
617 mStateChange.orderChanged = mBubbles.size() > 1; in doAdd()
619 setSelectedBubbleInternal(mBubbles.get(0)); in doAdd()
624 if (mBubbles.size() > mMaxBubbles) { in trim()
[all …]
DBubbleOverflowContainerView.java294 private List<Bubble> mBubbles; field in BubbleOverflowAdapter
301 mBubbles = list; in BubbleOverflowAdapter()
333 Bubble b = mBubbles.get(index); in onBindViewHolder()
338 mBubbles.remove(b); in onBindViewHolder()
374 return mBubbles.size(); in getItemCount()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsServiceTest.java64 @Mock private Bubbles mBubbles; field in AppClipsServiceTest
185 when(mOptionalBubbles.get()).thenReturn(mBubbles); in mockForTaskIdNotAppBubble()
186 when(mBubbles.isAppBubbleTaskId(eq((FAKE_TASK_ID)))).thenReturn(false); in mockForTaskIdNotAppBubble()
192 when(mOptionalBubbles.get()).thenReturn(mBubbles); in mockForScreenshotBlocked()
193 when(mBubbles.isAppBubbleTaskId(eq((FAKE_TASK_ID)))).thenReturn(true); in mockForScreenshotBlocked()
201 when(mOptionalBubbles.get()).thenReturn(mBubbles); in mockForInvalidConfigComponentName()
202 when(mBubbles.isAppBubbleTaskId(eq((FAKE_TASK_ID)))).thenReturn(true); in mockForInvalidConfigComponentName()
210 when(mOptionalBubbles.get()).thenReturn(mBubbles); in mockToSatisfyAllPrerequisites()
211 when(mBubbles.isAppBubbleTaskId(eq((FAKE_TASK_ID)))).thenReturn(true); in mockToSatisfyAllPrerequisites()
DAppClipsScreenshotHelperServiceTest.java59 @Mock private Bubbles mBubbles; field in AppClipsScreenshotHelperServiceTest
81 when(mBubblesOptional.get()).thenReturn(mBubbles); in bubblesPresent_screenshotFailed_shouldReturnNull()
82 when(mBubbles.getScreenshotExcludingBubble(DEFAULT_DISPLAY)).thenReturn(mScreenshotSync); in bubblesPresent_screenshotFailed_shouldReturnNull()
91 when(mBubblesOptional.get()).thenReturn(mBubbles); in bubblesPresent_screenshotSuccess_shouldReturnScreenshot()
92 when(mBubbles.getScreenshotExcludingBubble(DEFAULT_DISPLAY)).thenReturn(mScreenshotSync); in bubblesPresent_screenshotSuccess_shouldReturnScreenshot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java100 private final Bubbles mBubbles; field in BubblesManager
199 mBubbles = bubbles; in BubblesManager()
233 mBubbles.onZenStateChanged(); in BubblesManager()
238 mBubbles.onZenStateChanged(); in BubblesManager()
246 mBubbles.onUserChanged(userId); in BubblesManager()
251 mBubbles.onCurrentProfilesChanged(currentProfiles); in BubblesManager()
256 mBubbles.onUserRemoved(userId); in BubblesManager()
267 mBubbles.onNotificationPanelExpandedChanged(panelExpanded); in BubblesManager()
413 mBubbles.setSysuiProxy(mSysuiProxy); in BubblesManager()
425 mBubbles.onStatusBarStateChanged(isUnlockedShade); in updateKeyguardAndDreamingState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLegacyNotificationIconAreaControllerImplTest.java79 private Bubbles mBubbles; field in LegacyNotificationIconAreaControllerImplTest
98 Optional.of(mBubbles), in setup()
DCentralSurfacesImplTest.java293 @Mock private Bubbles mBubbles; field in CentralSurfacesImplTest
378 when(mBubbles.canShowBubbleNotification()).thenReturn(true); in setup()
402 Optional.of(mBubbles)); in setup()
538 Optional.of(mBubbles), in createCentralSurfaces()
1147 verify(mBubbles).onStatusBarVisibilityChanged(false); in bubbleBarVisibility()
1150 verify(mBubbles).onStatusBarVisibilityChanged(true); in bubbleBarVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java88 private final Optional<Bubbles> mBubbles; field in NotificationInterruptStateProviderImpl
155 mBubbles = bubbles; in NotificationInterruptStateProviderImpl()
449 mBubbles.isPresent() && mBubbles.get().canShowBubbleNotification(); in shouldHeadsUpWhenAwake()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java132 Bubbles mBubbles; field in NotificationInterruptStateProviderImplTest
143 when(mBubbles.canShowBubbleNotification()).thenReturn(true); in setup()
169 Optional.of(mBubbles)); in setup()
355 when(mBubbles.canShowBubbleNotification()).thenReturn(false); in testShouldHeadsUp_bubble_bubblesCannotShowNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java259 private Bubbles mBubbles; field in PeopleSpaceWidgetManagerTest
281 Optional.of(mBubbles), mUserManager, mBackupManager, mINotificationManager, in setUp()
307 when(mBubbles.isBubbleNotificationSuppressedFromShade(any(), any())).thenReturn(false); in setUp()
1262 when(mBubbles.isBubbleNotificationSuppressedFromShade(any(), any())).thenReturn(true); in testAugmentTileFromNotificationEntryManager_notificationHidden()