Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleTaskViewHelper.java70 private Bubble mBubble; field in BubbleTaskViewHelper
114 if (mBubble.isAppBubble()) {
117 mBubble.getUser(), Context.CONTEXT_RESTRICTED);
121 mBubble.getAppBubbleIntent()
128 } else if (mBubble.hasMetadataShortcutId()) {
130 mTaskView.startShortcutActivity(mBubble.getShortcutInfo(),
133 if (mBubble != null) {
134 mBubble.setIntentActive();
164 if (mBubble != null && mBubble.isAppBubble()) {
166 mExpandedViewManager.setAppBubbleTaskId(mBubble.getKey(), mTaskId);
[all …]
DBubbleExpandedView.java184 @Nullable private Bubble mBubble; field in BubbleExpandedView
236 if (mBubble.isAppBubble()) {
239 mBubble.getUser(), Context.CONTEXT_RESTRICTED);
243 mBubble.getAppBubbleIntent()
250 } else if (!mIsOverflow && mBubble.hasMetadataShortcutId()) {
252 mTaskView.startShortcutActivity(mBubble.getShortcutInfo(),
255 if (mBubble != null) {
256 mBubble.setIntentActive();
285 if (mBubble != null && mBubble.isAppBubble()) {
287 mManager.setAppBubbleTaskId(mBubble.getKey(), mTaskId);
[all …]
DBadgedImageView.java83 private BubbleViewProvider mBubble; field in BadgedImageView
165 mBubble = bubble; in setRenderedBubble()
283 return (mBubble != null) ? mBubble.getKey() : null; in getKey()
320 return mDotIsAnimating || (mBubble.showDot() && mDotSuppressionFlags.isEmpty()); in shouldDrawDot()
359 Bitmap appBadgeBitmap = mBubble.getAppBadge(); in showBadge()
367 translationX = -(mBubble.getBubbleIcon().getWidth() - appBadgeBitmap.getWidth()); in showBadge()
382 return "BadgedImageView{" + mBubble + "}"; in toString()
DBubbleViewInfoTask.java71 private Bubble mBubble; field in BubbleViewInfoTask
98 mBubble = b; in BubbleViewInfoTask()
120 mBubble, mSkipInflation); in doInBackground()
124 mBubble, mSkipInflation); in doInBackground()
138 mBubble.setViewInfo(viewInfo); in onPostExecute()
140 mCallback.onBubbleViewsReady(mBubble); in onPostExecute()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java67 private Bubble mBubble; field in BubblesTransitionObserverTest
82 when(mBubbleData.getSelectedBubble()).thenReturn(mBubble); in testOnTransitionReady_open_collapsesStack()
83 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_open_collapsesStack()
96 when(mBubbleData.getSelectedBubble()).thenReturn(mBubble); in testOnTransitionReady_toFront_collapsesStack()
97 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_toFront_collapsesStack()
110 when(mBubbleData.getSelectedBubble()).thenReturn(mBubble); in testOnTransitionReady_noTaskInfo_skip()
111 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_noTaskInfo_skip()
125 when(mBubbleData.getSelectedBubble()).thenReturn(mBubble); in testOnTransitionReady_noTaskId_skip()
126 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_noTaskId_skip()
141 when(mBubbleData.getSelectedBubble()).thenReturn(mBubble); in testOnTransitionReady_notOpening_skip()
[all …]
DBubbleTest.java67 private Bubble mBubble; field in BubbleTest
88 mBubble = new Bubble(mBubbleEntry, mBubbleMetadataFlagListener, null, mMainExecutor); in setUp()
152 assertThat(mBubble.showInShade()).isTrue(); in testBubbleMetadataFlagListener_change_notified()
154 mBubble.setSuppressNotification(true); in testBubbleMetadataFlagListener_change_notified()
156 assertThat(mBubble.showInShade()).isFalse(); in testBubbleMetadataFlagListener_change_notified()
158 verify(mBubbleMetadataFlagListener).onBubbleMetadataFlagChanged(mBubble); in testBubbleMetadataFlagListener_change_notified()
163 assertThat(mBubble.showInShade()).isTrue(); in testBubbleMetadataFlagListener_noChange_doesntNotify()
165 mBubble.setSuppressNotification(false); in testBubbleMetadataFlagListener_noChange_doesntNotify()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java65 private Bubble mBubble; field in LaunchConversationActivity
90 if (mBubble != null) { in LaunchConversationActivity()
91 mBubblesManagerOptional.get().expandStackAndSelectBubble(mBubble); in LaunchConversationActivity()
143 mBubble = mBubblesManagerOptional.get().getBubbleWithShortcutId(tileId); in onCreate()
145 if (mBubble != null || (entry != null && entry.canBubble())) { in onCreate()
149 "Opening bubble: " + mBubble + ", entry: " + mEntryToBubble); in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarMenuViewController.java45 private @Nullable Bubble mBubble; field in BubbleBarMenuViewController
71 mBubble = bubble; in updateMenu()
155 if (mBubble != null) { in setupMenu()
156 mMenuView.updateInfo(mBubble); in setupMenu()
157 mMenuView.updateActions(createMenuActions(mBubble)); in setupMenu()