Home
last modified time | relevance | path

Searched refs:Bubble (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java68 private static final Comparator<Bubble> BUBBLES_BY_SORT_KEY_DESCENDING =
79 @Nullable Bubble addedBubble;
80 @Nullable Bubble updatedBubble;
81 @Nullable Bubble addedOverflowBubble;
82 @Nullable Bubble removedOverflowBubble;
83 @Nullable Bubble suppressedBubble;
84 @Nullable Bubble unsuppressedBubble;
87 final List<Pair<Bubble, Integer>> removedBubbles = new ArrayList<>();
90 final List<Bubble> bubbles;
91 final List<Bubble> overflowBubbles;
[all …]
DBubbleDataRepository.kt53 fun addBubble(@UserIdInt userId: Int, bubble: Bubble) = addBubbles(userId, listOf(bubble)) in <lambda>()
59 fun addBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
69 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
76 private fun transform(bubbles: List<Bubble>): List<BubbleEntity> { in <lambda>()
125 fun loadBubbles(userId: Int, cb: (List<Bubble>) -> Unit) = ioScope.launch { in <lambda>()
175 Bubble( in <lambda>()
DBubbleController.java357 for (Bubble b : mBubbleData.getBubbles()) { in initialize()
364 for (Bubble b : mBubbleData.getOverflowBubbles()) { in initialize()
482 for (Bubble b : mBubbleData.getBubbles()) { in onZenStateChanged()
502 public void onBubbleNotificationSuppressionChanged(Bubble bubble) { in onBubbleNotificationSuppressionChanged()
555 List<Bubble> getOverflowBubbles() { in getOverflowBubbles()
688 for (Bubble bubble: mBubbleData.getBubbles()) { in saveBubbles()
723 for (Bubble b: mBubbleData.getBubbles()) { in updateForThemeChanges()
727 for (Bubble b: mBubbleData.getOverflowBubbles()) { in updateForThemeChanges()
822 public void promoteBubbleFromOverflow(Bubble bubble) { in promoteBubbleFromOverflow()
836 public void expandStackAndSelectBubble(Bubble b) { in expandStackAndSelectBubble()
[all …]
DBubbleLogger.java89 public void log(Bubble b, UiEventLogger.UiEventEnum e) { in log()
97 public void logOverflowRemove(Bubble b, @Bubbles.DismissReason int r) { in logOverflowRemove()
113 public void logOverflowAdd(Bubble b, @Bubbles.DismissReason int r) { in logOverflowAdd()
144 void logBubbleUiChanged(Bubble bubble, String packageName, int action, int bubbleCount, in logBubbleUiChanged()
DBubbleOverflowContainerView.java64 private List<Bubble> mOverflowBubbles = new ArrayList<>();
224 Bubble toRemove = update.removedOverflowBubble;
235 Bubble toAdd = update.addedOverflowBubble;
265 private Consumer<Bubble> mPromoteBubbleFromOverflow;
267 private List<Bubble> mBubbles;
270 List<Bubble> list, in BubbleOverflowAdapter()
271 Consumer<Bubble> promoteBubble, in BubbleOverflowAdapter()
307 Bubble b = mBubbles.get(index); in onBindViewHolder()
DBubbles.java126 void expandStackAndSelectBubble(Bubble bubble); in expandStackAndSelectBubble()
132 Bubble getBubbleWithShortcutId(String shortcutId); in getBubbleWithShortcutId()
262 void onBubbleNotificationSuppressionChange(Bubble bubble); in onBubbleNotificationSuppressionChange()
268 void onPendingIntentCanceled(Bubble bubble); in onPendingIntentCanceled()
DBubbleDebugConfig.java63 static String formatBubblesString(List<Bubble> bubbles, BubbleViewProvider selected) { in formatBubblesString()
65 for (Bubble bubble : bubbles) { in formatBubblesString()
DBubbleViewInfoTask.java66 void onBubbleViewsReady(Bubble bubble); in onBubbleViewsReady()
69 private Bubble mBubble;
82 BubbleViewInfoTask(Bubble b, in BubbleViewInfoTask()
132 Bubble.FlyoutMessage flyoutMessage;
137 BubbleStackView stackView, BubbleIconFactory iconFactory, Bubble b, in populate()
DBubble.java60 public class Bubble implements BubbleViewProvider { class
170 public Bubble(@NonNull final String key, @NonNull final ShortcutInfo shortcutInfo, in Bubble() method in Bubble
193 public Bubble(@NonNull final BubbleEntry entry, in Bubble() method in Bubble
826 if (!(o instanceof Bubble)) return false; in equals()
827 Bubble bubble = (Bubble) o; in equals()
848 static Bubble.FlyoutMessage extractFlyoutMessage(BubbleEntry entry) { in extractFlyoutMessage()
853 Bubble.FlyoutMessage bubbleMessage = new Bubble.FlyoutMessage(); in extractFlyoutMessage()
DBubbleStackView.java502 final Bubble clickedBubble = mBubbleData.getBubbleWithView(view);
1091 final Intent intent = ((Bubble) bubble).getSettingsIntent(mContext); in setUpManageMenu()
1093 mContext.startActivityAsUser(intent, ((Bubble) bubble).getUser()); in setUpManageMenu()
1189 for (Bubble b : mBubbleData.getBubbles()) { in updateFontScale()
1207 for (Bubble b : mBubbleData.getOverflowBubbles()) { in updateOverflowButtonDot()
1264 for (Bubble b : mBubbleData.getBubbles()) { in onDisplaySizeChanged()
1322 final List<Bubble> bubbles = mBubbleData.getBubbles(); in updateExpandedViewTheme()
1334 final List<Bubble> bubbles = mBubbleData.getBubbles(); in updateExpandedViewDirection()
1418 final Bubble bubble = mBubbleData.getBubbles().get(i); in updateContentDescription()
1494 void addBubble(Bubble bubble) { in addBubble()
[all …]
DBubbleFlyoutView.java233 void animateUpdate(Bubble.FlyoutMessage flyoutMessage, float parentWidth, PointF stackPos, in animateUpdate()
269 private void updateFlyoutMessage(Bubble.FlyoutMessage flyoutMessage, float parentWidth) { in updateFlyoutMessage()
329 Bubble.FlyoutMessage flyoutMessage, in setupFlyoutStartingAsDot()
DBubbleExpandedView.java120 @Nullable private Bubble mBubble;
571 void update(Bubble bubble) { in update()
623 private boolean didBackingContentChange(Bubble newBubble) { in didBackingContentChange()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleTest.java63 private Bubble mBubble;
84 mBubble = new Bubble(mBubbleEntry, mSuppressionListener, null, mMainExecutor); in setUp()
92 assertEquals(msg, Bubble.extractFlyoutMessage(mBubbleEntry).message); in testGetUpdateMessage_default()
103 assertEquals(msg, Bubble.extractFlyoutMessage(mBubbleEntry).message); in testGetUpdateMessage_bigText()
111 assertNull(Bubble.extractFlyoutMessage(mBubbleEntry).message); in testGetUpdateMessage_media()
127 Bubble.extractFlyoutMessage(mBubbleEntry).message); in testGetUpdateMessage_inboxStyle()
142 assertEquals("Oh, hello!", Bubble.extractFlyoutMessage(mBubbleEntry).message); in testGetUpdateMessage_messagingStyle()
143 assertEquals("Mady", Bubble.extractFlyoutMessage(mBubbleEntry).senderName); in testGetUpdateMessage_messagingStyle()
DBubbleDataTest.java85 private Bubble mBubbleA1;
86 private Bubble mBubbleA2;
87 private Bubble mBubbleA3;
88 private Bubble mBubbleB1;
89 private Bubble mBubbleB2;
90 private Bubble mBubbleB3;
91 private Bubble mBubbleC1;
92 private Bubble mBubbleInterruptive;
93 private Bubble mBubbleDismissed;
136 mBubbleInterruptive = new Bubble(mEntryInterruptive, mSuppressionListener, null, in setUp()
[all …]
DBubbleFlyoutViewTest.java52 private Bubble.FlyoutMessage mFlyoutMessage;
62 mFlyoutMessage = new Bubble.FlyoutMessage(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java49 import com.android.wm.shell.bubbles.Bubble;
178 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(Bubble.class)); in testEntryClearsNotificationAndDoesNotOpenBubble()
218 verify(mBubblesManager, never()).expandStackAndSelectBubble(any(Bubble.class)); in testQuietModeOpensQuietModeDialog()
225 Bubble bubble = mock(Bubble.class); in testBubbleWithNoNotifOpensBubble()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java305 static class Bubble { class in PlatLogoActivity
325 private final Bubble[] mBubbs = new Bubble[MAX_BUBBS];
339 mBubbs[j] = new Bubble(); in BubblesDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java42 import com.android.wm.shell.bubbles.Bubble;
59 private Bubble mBubble;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java110 import com.android.wm.shell.bubbles.Bubble;
410 Bubble b = mBubbleData.getOverflowBubbleWithKey(mRow.getKey()); in testPromoteBubble_autoExpand()
416 Bubble b2 = mBubbleData.getBubbleInStackWithKey(mRow2.getKey()); in testPromoteBubble_autoExpand()
1159 final Bubble bubble = createBubble(workProfileUserId, workPkg); in test_bubbleViewInfoGetPackageForUser()
1185 private Bubble createBubble(int userId, String pkg) { in createBubble()
1194 return new Bubble(BubblesManager.notifToBubbleEntry(workEntry), in createBubble()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java87 import com.android.wm.shell.bubbles.Bubble;
666 public void expandStackAndSelectBubble(Bubble bubble) {
673 public Bubble getBubbleWithShortcutId(String shortcutId) {
/frameworks/proto_logging/stats/
Datoms.proto8953 // Bubble developer error type enums.