Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java83 private BubbleData mBubbleData; field in BubbleDataTest
120 mBubbleData = new BubbleData(getContext()); in setUp()
124 mBubbleData.setTimeSource(mTimeSource); in setUp()
127 assertThat(mBubbleData.hasBubbles()).isFalse(); in setUp()
128 assertThat(mBubbleData.isExpanded()).isFalse(); in setUp()
129 assertThat(mBubbleData.getSelectedBubble()).isNull(); in setUp()
135 mBubbleData.setListener(mListener); in testAddBubble()
152 mBubbleData.setListener(mListener); in testRemoveBubble()
155 mBubbleData.notificationEntryRemoved(mEntryA1, BubbleController.DISMISS_USER_GESTURE); in testRemoveBubble()
176 mBubbleData.setListener(mListener); in test_collapsed_addBubble_atMaxBubbles_expiresOldest()
[all …]
DBubbleControllerTest.java145 private BubbleData mBubbleData; field in BubbleControllerTest
183 mBubbleData = new BubbleData(mContext); in setUp()
186 mBubbleData, in setUp()
223 assertNotNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testRemoveBubble()
230 assertNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testRemoveBubble()
244 mBubbleData.getBubbleWithKey(mRow.getEntry().key).setShowInShadeWhenBubble(false); in testRemoveBubble_withDismissedNotif()
260 assertNotNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testDismissStack()
263 assertNotNull(mBubbleData.getBubbleWithKey(mRow2.getEntry().key)); in testDismissStack()
269 assertNull(mBubbleData.getBubbleWithKey(mRow.getEntry().key)); in testDismissStack()
270 assertNull(mBubbleData.getBubbleWithKey(mRow2.getEntry().key)); in testDismissStack()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java145 private BubbleData mBubbleData; field in BubbleController
258 mBubbleData = data; in BubbleController()
259 mBubbleData.setListener(mBubbleDataListener); in BubbleController()
277 && mBubbleData.isSummarySuppressed(groupKey)) { in BubbleController()
278 mBubbleData.removeSuppressedSummary(groupKey); in BubbleController()
305 mBubbleData.dismissAll(DISMISS_USER_CHANGED); in BubbleController()
317 mStackView = new BubbleStackView(mContext, mBubbleData, mSurfaceSynchronizer); in ensureStackViewCreated()
340 for (Bubble bubble: mBubbleData.getBubbles()) { in saveBubbles()
421 return mBubbleData.hasBubbles(); in hasBubbles()
428 return mBubbleData.isExpanded(); in isStackExpanded()
[all …]
DBubbleTouchHandler.java59 private final BubbleData mBubbleData; field in BubbleTouchHandler
76 mBubbleData = bubbleData; in BubbleTouchHandler()
93 mBubbleData.setExpanded(false); in onTouch()
202 if (!mBubbleData.isExpanded() && !mMovedEnough) { in onTouch()
212 mBubbleData.setExpanded(false); in onTouch()
215 mBubbleData.setExpanded(!mBubbleData.isExpanded()); in onTouch()
218 mBubbleData.setSelectedBubble(mBubbleData.getBubbleWithKey(key)); in onTouch()
DBubbleStackView.java153 private final BubbleData mBubbleData; field in BubbleStackView
322 mBubbleData = data; in BubbleStackView()
510 for (Bubble b: mBubbleData.getBubbles()) { in onThemeChanged()
595 mBubbleData.dismissAll(BubbleController.DISMISS_ACCESSIBILITY_ACTION); in performAccessibilityActionInternal()
598 mBubbleData.setExpanded(false); in performAccessibilityActionInternal()
601 mBubbleData.setExpanded(true); in performAccessibilityActionInternal()
623 if (mBubbleData.getBubbles().isEmpty()) { in updateContentDescription()
626 Bubble topBubble = mBubbleData.getBubbles().get(0); in updateContentDescription()
678 Bubble b = mBubbleData.getBubbleWithKey(key); in updateDotVisibility()
727 Bubble bubbleToExpand = mBubbleData.getBubbleWithKey(key); in setExpandedBubble()
[all …]