Home
last modified time | relevance | path

Searched refs:mBubble (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java66 private Bubble mBubble; field in BubbleView
106 mBubble = bubble; in setBubble()
114 return mBubble != null ? mBubble.getEntry() : null; in getEntry()
122 return (mBubble != null) ? mBubble.getKey() : null; in getKey()
129 mBubble = bubble; in update()
150 return (mBubble != null) ? mBubble.getEntry().getRow() : null; in getRowView()
228 if (mBubble == null || mBubbleIconFactory == null) { in updateViews()
232 Notification.BubbleMetadata metadata = mBubble.getEntry().getBubbleMetadata(); in updateViews()
233 Notification n = mBubble.getEntry().notification.getNotification(); in updateViews()
278 return mBubble.showBubbleDot() && !mSuppressDot; in shouldShowDot()
DBubbleExpandedView.java102 private Bubble mBubble; field in BubbleExpandedView
139 mBubbleController.removeBubble(mBubble.getKey(),
181 if (mBubble != null) {
183 post(() -> mBubbleController.removeBubble(mBubble.getKey(),
269 return mBubble != null ? mBubble.getKey() : "null"; in getBubbleKey()
348 mBubble = bubble; in setBubble()
394 if (bubble.getKey().equals(mBubble.getKey())) { in update()
395 mBubble = bubble; in update()
410 mBubbleIntent = mBubble.getBubbleIntent(mContext); in updateExpandedView()
431 float desiredHeight = Math.max(mBubble.getDesiredHeight(mContext), mMinHeight); in updateHeight()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleTest.java52 private Bubble mBubble; field in BubbleTest
66 mBubble = new Bubble(mContext, mEntry); in setUp()
74 assertEquals(msg, mBubble.getUpdateMessage(mContext)); in testGetUpdateMessage_default()
85 assertEquals(msg, mBubble.getUpdateMessage(mContext)); in testGetUpdateMessage_bigText()
93 assertNull(mBubble.getUpdateMessage(mContext)); in testGetUpdateMessage_media()
108 assertEquals("Really? I prefer them that way.", mBubble.getUpdateMessage(mContext)); in testGetUpdateMessage_inboxStyle()
123 assertEquals("Mady: Oh, hello!", mBubble.getUpdateMessage(mContext)); in testGetUpdateMessage_messagingStyle()