Home
last modified time | relevance | path

Searched refs:bubble (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java260 public void setSelectedBubble(BubbleViewProvider bubble) { in setSelectedBubble() argument
262 Log.d(TAG, "setSelectedBubble: " + bubble); in setSelectedBubble()
264 setSelectedBubbleInternal(bubble); in setSelectedBubble()
320 void notificationEntryUpdated(Bubble bubble, boolean suppressFlyout, boolean showInShade) { in notificationEntryUpdated() argument
322 Log.d(TAG, "notificationEntryUpdated: " + bubble); in notificationEntryUpdated()
324 mPendingBubbles.remove(bubble.getKey()); // No longer pending once we're here in notificationEntryUpdated()
325 Bubble prevBubble = getBubbleInStackWithKey(bubble.getKey()); in notificationEntryUpdated()
326 suppressFlyout |= !bubble.isVisuallyInterruptive(); in notificationEntryUpdated()
330 bubble.setSuppressFlyout(suppressFlyout); in notificationEntryUpdated()
331 doAdd(bubble); in notificationEntryUpdated()
[all …]
DBubbleDebugConfig.java65 for (Bubble bubble : bubbles) { in formatBubblesString()
66 if (bubble == null) { in formatBubblesString()
71 && bubble == selected); in formatBubblesString()
75 bubble.getLastActivity(), in formatBubblesString()
76 (bubble.showInShade() ? 1 : 0), in formatBubblesString()
77 bubble.getKey())); in formatBubblesString()
DBubbleController.java271 mBubbleData.setPendingIntentCancelledListener(bubble -> { in initialize()
272 if (bubble.getBubbleIntent() == null) { in initialize()
275 if (bubble.isIntentActive() || mBubbleData.hasBubbleInStackWithKey(bubble.getKey())) { in initialize()
276 bubble.setPendingIntentCanceled(); in initialize()
279 mMainExecutor.execute(() -> removeBubble(bubble.getKey(), DISMISS_INVALID_INTENT)); in initialize()
502 public void onBubbleNotificationSuppressionChanged(Bubble bubble) { in onBubbleNotificationSuppressionChanged() argument
505 mBarService.onBubbleNotificationSuppressionChanged(bubble.getKey(), in onBubbleNotificationSuppressionChanged()
506 !bubble.showInShade(), bubble.isSuppressed()); in onBubbleNotificationSuppressionChanged()
510 mImpl.mCachedState.updateBubbleSuppressedState(bubble); in onBubbleNotificationSuppressionChanged()
688 for (Bubble bubble: mBubbleData.getBubbles()) { in saveBubbles()
[all …]
DBubbleStackView.java1088 final BubbleViewProvider bubble = mBubbleData.getSelectedBubble(); in setUpManageMenu()
1089 if (bubble != null && mBubbleData.hasBubbleInStackWithKey(bubble.getKey())) { in setUpManageMenu()
1091 final Intent intent = ((Bubble) bubble).getSettingsIntent(mContext); in setUpManageMenu()
1093 mContext.startActivityAsUser(intent, ((Bubble) bubble).getUser()); in setUpManageMenu()
1094 logBubbleEvent(bubble, in setUpManageMenu()
1326 bubbles.forEach(bubble -> { in updateExpandedViewTheme()
1327 if (bubble.getExpandedView() != null) { in updateExpandedViewTheme()
1328 bubble.getExpandedView().applyThemeAttrs(); in updateExpandedViewTheme()
1338 bubbles.forEach(bubble -> { in updateExpandedViewDirection()
1339 if (bubble.getExpandedView() != null) { in updateExpandedViewDirection()
[all …]
DBadgedImageView.java150 public void setRenderedBubble(BubbleViewProvider bubble) { in setRenderedBubble() argument
151 mBubble = bubble; in setRenderedBubble()
157 mDotColor = bubble.getDotColor(); in setRenderedBubble()
158 drawDot(bubble.getDotPath()); in setRenderedBubble()
333 Bitmap bubble = noBadgeBubble.copy(noBadgeBubble.getConfig(), /* isMutable */ true); in showBadge() local
336 bubbleCanvas.setBitmap(bubble); in showBadge()
337 final int bubbleSize = bubble.getWidth(); in showBadge()
347 setImageBitmap(bubble); in showBadge()
DBubbleLogger.java144 void logBubbleUiChanged(Bubble bubble, String packageName, int action, int bubbleCount, in logBubbleUiChanged() argument
148 bubble.getChannelId() /* notification channel */, in logBubbleUiChanged()
149 bubble.getNotificationId() /* notification ID */, in logBubbleUiChanged()
155 bubble.showInShade() /* isUnread */, in logBubbleUiChanged()
DBubbleExpandedView.java571 void update(Bubble bubble) { in update() argument
573 Log.d(TAG, "update: bubble=" + bubble); in update()
576 Log.w(TAG, "Stack is null for bubble: " + bubble); in update()
579 boolean isNew = mBubble == null || didBackingContentChange(bubble); in update()
580 if (isNew || bubble != null && bubble.getKey().equals(mBubble.getKey())) { in update()
581 mBubble = bubble; in update()
583 R.string.bubbles_settings_button_description, bubble.getAppName())); in update()
608 + bubble.getKey() + " old bubble: " + bubble.getKey()); in update()
DBubbles.java126 void expandStackAndSelectBubble(Bubble bubble); in expandStackAndSelectBubble() argument
262 void onBubbleNotificationSuppressionChange(Bubble bubble); in onBubbleNotificationSuppressionChange() argument
268 void onPendingIntentCanceled(Bubble bubble); in onPendingIntentCanceled() argument
DBubbleDataRepository.kt53 fun addBubble(@UserIdInt userId: Int, bubble: Bubble) = addBubbles(userId, listOf(bubble)) in <lambda>()
DBubbleViewInfoTask.java66 void onBubbleViewsReady(Bubble bubble); in onBubbleViewsReady() argument
DBubble.java827 Bubble bubble = (Bubble) o; in equals()
828 return Objects.equals(mKey, bubble.mKey); in equals()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleXmlHelper.kt75 private fun writeXmlEntry(serializer: XmlSerializer, bubble: BubbleEntity) { in writeXmlEntry()
78 serializer.attribute(null, ATTR_USER_ID, bubble.userId.toString()) in writeXmlEntry()
79 serializer.attribute(null, ATTR_PACKAGE, bubble.packageName) in writeXmlEntry()
80 serializer.attribute(null, ATTR_SHORTCUT_ID, bubble.shortcutId) in writeXmlEntry()
81 serializer.attribute(null, ATTR_KEY, bubble.key) in writeXmlEntry()
82 serializer.attribute(null, ATTR_DESIRED_HEIGHT, bubble.desiredHeight.toString()) in writeXmlEntry()
83 serializer.attribute(null, ATTR_DESIRED_HEIGHT_RES_ID, bubble.desiredHeightResId.toString()) in writeXmlEntry()
84 bubble.title?.let { serializer.attribute(null, ATTR_TITLE, it) } in writeXmlEntry()
85 serializer.attribute(null, ATTR_TASK_ID, bubble.taskId.toString()) in writeXmlEntry()
86 bubble.locus?.let { serializer.attribute(null, ATTR_LOCUS, it) } in writeXmlEntry()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java253 final View bubble = mLayout.getChildAt(index); in startOrUpdatePathAnimation()
257 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation()
265 path.lineTo(bubble.getTranslationX(), expandedY); in startOrUpdatePathAnimation()
298 (expanding && !mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation()
330 View bubble, in prepareForBubbleDrag() argument
333 mLayout.cancelAnimationsOnView(bubble); in prepareForBubbleDrag()
335 bubble.setTranslationZ(Short.MAX_VALUE); in prepareForBubbleDrag()
337 mLayout.getContext(), bubble, in prepareForBubbleDrag()
351 loc[0] = (int) bubble.getTranslationX(); in prepareForBubbleDrag()
352 loc[1] = (int) bubble.getTranslationY(); in prepareForBubbleDrag()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepositoryTest.kt143 val bubble = BubbleEntity(0, "com.example.pkg", "shortcut-id", "key", 120, 0, "title", in testAddBubbleMatchesByKey() constant
145 repository.addBubbles(user0.identifier, listOf(bubble)) in testAddBubbleMatchesByKey()
146 assertEquals(bubble, repository.getEntities(user0.identifier).get(0)) in testAddBubbleMatchesByKey()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java225 Bubble bubble = mock(Bubble.class); in testBubbleWithNoNotifOpensBubble() local
226 when(mBubblesManager.getBubbleWithShortcutId(any())).thenReturn(bubble); in testBubbleWithNoNotifOpensBubble()
236 verify(mBubblesManager, times(1)).expandStackAndSelectBubble(eq(bubble)); in testBubbleWithNoNotifOpensBubble()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java905 private void assertSelectionChangedTo(Bubble bubble) { in assertSelectionChangedTo() argument
908 assertWithMessage("selectedBubble").that(update.selectedBubble).isEqualTo(bubble); in assertSelectionChangedTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java666 public void expandStackAndSelectBubble(Bubble bubble) {
667 mBubbles.expandStackAndSelectBubble(bubble);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java1159 final Bubble bubble = createBubble(workProfileUserId, workPkg); in test_bubbleViewInfoGetPackageForUser() local
1160 assertEquals(workProfileUserId, bubble.getUser().getIdentifier()); in test_bubbleViewInfoGetPackageForUser()
1175 bubble, in test_bubbleViewInfoGetPackageForUser()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md76 … to the bottom of the screen, shrinking them to 50% size. Once the first bubble is done shrinking,…
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto2640 // Settings > global bubble settings
2643 // Settings > app > bubble settings
2649 // Open: Settings > app > bubble settings > confirmation dialog
/frameworks/proto_logging/stats/
Datoms.proto8890 // The app package that is posting the bubble.
8893 // The notification channel that is posting the bubble.
8896 // The notification id associated with the posted bubble.
8899 // The position of the bubble within the bubble stack.
8902 // The total number of bubbles within the bubble stack.
8905 // User interactions with the bubble.
8927 // Normalized screen position of the bubble stack. The range is between 0 and 1.
8931 // Whether the bubble is unread. If it is unread, a dot is shown in the bubble stack icon.
8934 // Whether the bubble is an on-going one.
8937 // Whether the bubble is produced by an app running in foreground.
[all …]
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto7180 // Settings > global bubble settings
7183 // Settings > app > bubble settings
7189 // Open: Settings > app > bubble settings > confirmation dialog