Searched refs:mBubbleData (Results 1 – 5 of 5) sorted by relevance
91 private BubbleData mBubbleData; field in BubbleDataTest148 mBubbleData = new BubbleData(getContext()); in setUp()152 mBubbleData.setTimeSource(mTimeSource); in setUp()155 assertThat(mBubbleData.hasBubbles()).isFalse(); in setUp()156 assertThat(mBubbleData.isExpanded()).isFalse(); in setUp()157 assertThat(mBubbleData.getSelectedBubble()).isNull(); in setUp()163 mBubbleData.setListener(mListener); in testAddBubble()180 mBubbleData.setListener(mListener); in testRemoveBubble()183 mBubbleData.dismissBubbleWithKey( in testRemoveBubble()194 mBubbleData.setListener(mListener); in ifSuppress_hideFlyout()[all …]
184 private BubbleData mBubbleData; field in NewNotifPipelineBubbleControllerTest228 mBubbleData = new BubbleData(mContext); in setUp()235 mBubbleData, in setUp()277 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble()283 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble()296 mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_inOverflow()301 assertTrue(mBubbleData.hasOverflowBubbleWithKey(mRow.getEntry().getKey())); in testRemoveBubble_withDismissedNotif_inOverflow()319 mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_notInOverflow()324 assertFalse(mBubbleData.hasOverflowBubbleWithKey(mRow.getEntry().getKey())); in testRemoveBubble_withDismissedNotif_notInOverflow()336 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testDismissStack()[all …]
189 private BubbleData mBubbleData; field in BubbleControllerTest243 mBubbleData = new BubbleData(mContext); in setUp()250 mBubbleData, in setUp()298 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble()304 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble()321 Bubble b = mBubbleData.getOverflowBubbleWithKey(mRow.getEntry().getKey()); in testPromoteBubble_autoExpand()322 assertThat(mBubbleData.getOverflowBubbles()).isEqualTo(ImmutableList.of(b)); in testPromoteBubble_autoExpand()327 Bubble b2 = mBubbleData.getBubbleInStackWithKey(mRow2.getEntry().getKey()); in testPromoteBubble_autoExpand()328 assertThat(mBubbleData.getSelectedBubble()).isEqualTo(b2); in testPromoteBubble_autoExpand()356 assertThat(mBubbleData.getOverflowBubbles()).isEmpty(); in testCancelOverflowBubble()[all …]
166 private BubbleData mBubbleData; field in BubbleController372 for (Bubble b : mBubbleData.getBubbles()) { in BubbleController()379 for (Bubble b : mBubbleData.getBubbles()) { in BubbleController()388 mBubbleData = data; in BubbleController()389 mBubbleData.setListener(mBubbleDataListener); in BubbleController()390 mBubbleData.setSuppressionChangedListener(new NotificationSuppressionChangedListener() { in BubbleController()403 mBubbleData.setPendingIntentCancelledListener(bubble -> { in BubbleController()456 mBubbleData.dismissAll(DISMISS_USER_CHANGED); in BubbleController()475 mBubbleData.removeBubblesWithPackageName(s, DISMISS_PACKAGE_REMOVED); in BubbleController()490 mBubbleData.removeBubblesWithPackageName(packageName, DISMISS_PACKAGE_REMOVED); in BubbleController()[all …]
215 private final BubbleData mBubbleData; field in BubbleStackView541 final Bubble clickedBubble = mBubbleData.getBubbleWithView(view);556 if (clickedBubble != mBubbleData.getSelectedBubble()) {558 mBubbleData.setSelectedBubble(clickedBubble);571 mBubbleData.setExpanded(!mBubbleData.isExpanded());595 if (mBubbleData.isExpanded()) {647 if (mBubbleData.isExpanded()) {669 if (mBubbleData.isExpanded()) {702 mBubbleToExpandAfterFlyoutCollapse = mBubbleData.getSelectedBubble();781 mBubbleData = data; in BubbleStackView()[all …]