Home
last modified time | relevance | path

Searched refs:mBubbleData (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java95 private BubbleData mBubbleData; field in BubbleDataTest
159 mBubbleData = new BubbleData(getContext(), mBubbleLogger, mPositioner, in setUp()
164 mBubbleData.setTimeSource(mTimeSource); in setUp()
167 assertThat(mBubbleData.hasBubbles()).isFalse(); in setUp()
168 assertThat(mBubbleData.isExpanded()).isFalse(); in setUp()
169 assertThat(mBubbleData.getSelectedBubble()).isNull(); in setUp()
175 mBubbleData.setListener(mListener); in testAddBubble()
192 mBubbleData.setListener(mListener); in testRemoveBubble()
195 mBubbleData.dismissBubbleWithKey(mEntryA1.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
205 mBubbleData.setListener(mListener); in ifSuppress_hideFlyout()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java146 private BubbleData mBubbleData; field in BubbleController
261 mBubbleData = data; in BubbleController()
268 mBubbleData.setListener(mBubbleDataListener); in initialize()
269 mBubbleData.setSuppressionChangedListener(this::onBubbleNotificationSuppressionChanged); in initialize()
271 mBubbleData.setPendingIntentCancelledListener(bubble -> { in initialize()
275 if (bubble.isIntentActive() || mBubbleData.hasBubbleInStackWithKey(bubble.getKey())) { in initialize()
288 mBubbleData.setCurrentUserId(mCurrentUserId); in initialize()
291 mBubbleData.onLocusVisibilityChanged(taskId, locus, visible)); in initialize()
304 mBubbleData.removeBubblesWithPackageName(s, DISMISS_PACKAGE_REMOVED); in initialize()
316 mBubbleData.removeBubblesWithPackageName(packageName, DISMISS_PACKAGE_REMOVED); in initialize()
[all …]
DBubbleStackView.java190 private final BubbleData mBubbleData; field in BubbleStackView
502 final Bubble clickedBubble = mBubbleData.getBubbleWithView(view);
517 if (clickedBubble != mBubbleData.getSelectedBubble()) {
519 mBubbleData.setSelectedBubble(clickedBubble);
532 mBubbleData.setExpanded(!mBubbleData.isExpanded());
556 if (mBubbleData.isExpanded()) {
629 if (mBubbleData.isExpanded() || mPositioner.showingInTaskbar()) {
655 if (mBubbleData.isExpanded()) {
690 mBubbleToExpandAfterFlyoutCollapse = mBubbleData.getSelectedBubble();
756 mBubbleData = data; in BubbleStackView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DNewNotifPipelineBubblesTest.java209 private BubbleData mBubbleData; field in NewNotifPipelineBubblesTest
248 mBubbleData = new BubbleData(mContext, mBubbleLogger, mPositioner, syncExecutor); in setUp()
265 mBubbleData, in setUp()
325 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
331 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
344 mBubbleData.getBubbleInStackWithKey(mRow.getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_inOverflow()
349 assertTrue(mBubbleData.hasOverflowBubbleWithKey(mRow.getKey())); in testRemoveBubble_withDismissedNotif_inOverflow()
367 mBubbleData.getBubbleInStackWithKey(mRow.getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_notInOverflow()
372 assertFalse(mBubbleData.hasOverflowBubbleWithKey(mRow.getKey())); in testRemoveBubble_withDismissedNotif_notInOverflow()
385 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testDismissStack()
[all …]
DBubblesTest.java244 private BubbleData mBubbleData; field in BubblesTest
303 mBubbleData = new BubbleData(mContext, mBubbleLogger, mPositioner, syncExecutor); in setUp()
321 mBubbleData, in setUp()
387 assertNotNull(mBubbleData.getBubbleInStackWithKey(mBubbleEntry.getKey())); in testRemoveBubble()
393 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
410 Bubble b = mBubbleData.getOverflowBubbleWithKey(mRow.getKey()); in testPromoteBubble_autoExpand()
411 assertThat(mBubbleData.getOverflowBubbles()).isEqualTo(ImmutableList.of(b)); in testPromoteBubble_autoExpand()
416 Bubble b2 = mBubbleData.getBubbleInStackWithKey(mRow2.getKey()); in testPromoteBubble_autoExpand()
417 assertThat(mBubbleData.getSelectedBubble()).isEqualTo(b2); in testPromoteBubble_autoExpand()
445 assertThat(mBubbleData.getOverflowBubbles()).isEmpty(); in testCancelOverflowBubble()
[all …]