Home
last modified time | relevance | path

Searched refs:BubbleTextView (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ui/
DBubbleTextViewTest.java21 import static com.android.launcher3.BubbleTextView.DISPLAY_ALL_APPS;
22 import static com.android.launcher3.BubbleTextView.DISPLAY_PREDICTION_ROW;
23 import static com.android.launcher3.BubbleTextView.DISPLAY_SEARCH_RESULT;
24 import static com.android.launcher3.BubbleTextView.DISPLAY_SEARCH_RESULT_SMALL;
43 import com.android.launcher3.BubbleTextView;
100 private BubbleTextView mBubbleTextView;
113 mBubbleTextView = new BubbleTextView(mContext); in setUp()
116 BubbleTextView testView = new BubbleTextView(mContext); in setUp()
296 CharSequence newString = BubbleTextView.modifyTitleToSupportMultiLine(mLimitedWidth, in modifyTitleToSupportMultiLine_TEST_STRING_WITH_SPACE_LONGER_THAN_CHAR_LIMIT()
310 CharSequence newString = BubbleTextView.modifyTitleToSupportMultiLine(mLimitedWidth, 0, in modifyTitleToSupportMultiLine_TEST_LONG_STRING_NO_SPACE_LONGER_THAN_CHAR_LIMIT()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherBindableItemsContainer.java21 import com.android.launcher3.BubbleTextView;
49 if (v instanceof BubbleTextView && updates.contains(info)) { in updateWorkspaceItems()
51 BubbleTextView shortcut = (BubbleTextView) v; in updateWorkspaceItems()
84 if (info instanceof WorkspaceItemInfo && v instanceof BubbleTextView in updateRestoreItems()
86 ((BubbleTextView) v).applyLoadingState(null); in updateRestoreItems()
DItemInflater.kt26 import com.android.launcher3.BubbleTextView
86 BubbleTextView.DISPLAY_WORKSPACE in inflateItem()
106 as BubbleTextView in createShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java33 import com.android.launcher3.BubbleTextView;
133 BubbleTextView icon; in getView()
134 if (view instanceof BubbleTextView) { in getView()
135 icon = (BubbleTextView) view; in getView()
137 icon = (BubbleTextView) LayoutInflater.from(parent.getContext()) in getView()
DSecondaryDisplayLauncher.java33 import com.android.launcher3.BubbleTextView;
373 if (child instanceof BubbleTextView) { in beginDragShared()
374 FastBitmapDrawable icon = ((BubbleTextView) child).getIcon(); in beginDragShared()
383 if (child instanceof BubbleTextView) { in beginDragShared()
384 BubbleTextView icon = (BubbleTextView) child; in beginDragShared()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java58 import com.android.launcher3.BubbleTextView;
164 if (!(view instanceof BubbleTextView) || mDisallowLongClick) { in startDragOnLongClick()
168 BubbleTextView btv = (BubbleTextView) view; in startDragOnLongClick()
183 BubbleTextView btv, @Nullable DragPreviewProvider dragPreviewProvider) { in startInternalDrag()
350 startSystemDrag((BubbleTextView) mDragObject.originalView); in callOnDragStart()
353 private void startSystemDrag(BubbleTextView btv) { in startSystemDrag()
479 private void onSystemDragStarted(BubbleTextView btv) { in onSystemDragStarted()
514 ((BubbleTextView) mDragObject.originalView).setIconDisabled(false); in maybeOnDragEnd()
576 private void animateGlobalDragViewToOriginalPosition(BubbleTextView btv, in animateGlobalDragViewToOriginalPosition()
681 if (target instanceof BubbleTextView) { in setupReturnDragAnimator()
[all …]
DTaskbarViewController.java52 import com.android.launcher3.BubbleTextView;
333 if (iconView instanceof BubbleTextView && ((BubbleTextView) iconView).hasDot()) { in animateAwayNotificationDotsDuringTaskbarPinningAnimation()
334 ((BubbleTextView) iconView).animateDotScale(0); in animateAwayNotificationDotsDuringTaskbarPinningAnimation()
521 if (iconView instanceof BubbleTextView btv) { in updateIconViewsRunningStates()
529 private BubbleTextView.RunningAppState getRunningAppState( in getRunningAppState()
534 return BubbleTextView.RunningAppState.MINIMIZED; in getRunningAppState()
537 return BubbleTextView.RunningAppState.RUNNING; in getRunningAppState()
539 return BubbleTextView.RunningAppState.NOT_RUNNING; in getRunningAppState()
DTaskbarView.java20 import static com.android.launcher3.BubbleTextView.DISPLAY_TASKBAR;
50 import com.android.launcher3.BubbleTextView;
391 if (hotseatView instanceof BubbleTextView in updateHotseatItems()
393 BubbleTextView btv = (BubbleTextView) hotseatView; in updateHotseatItems()
438 && v instanceof BubbleTextView) { in setClickAndLongClickListenersForIcon()
439 mActivityContext.showPopupMenuForIcon((BubbleTextView) v); in setClickAndLongClickListenersForIcon()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java19 import static com.android.launcher3.BubbleTextView.DISPLAY_SEARCH_RESULT_APP_ROW;
31 import com.android.launcher3.BubbleTextView;
105 if (mView instanceof BubbleTextView btv in createDrawable()
107 FastBitmapDrawable icon = ((BubbleTextView) mView).getIcon(); in createDrawable()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DPredictionRowView.java30 import com.android.launcher3.BubbleTextView;
216 BubbleTextView icon = (BubbleTextView) inflater.inflate( in applyPredictionApps()
239 BubbleTextView icon = (BubbleTextView) getChildAt(i); in applyPredictionApps()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java96 public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, class
123 private static final Property<BubbleTextView, Float> DOT_SCALE_PROPERTY
124 = new Property<BubbleTextView, Float>(Float.TYPE, "dotScale") {
126 public Float get(BubbleTextView bubbleTextView) {
131 public void set(BubbleTextView bubbleTextView, Float value) {
137 public static final Property<BubbleTextView, Float> TEXT_ALPHA_PROPERTY
138 = new Property<BubbleTextView, Float>(Float.class, "textAlpha") {
140 public Float get(BubbleTextView bubbleTextView) {
145 public void set(BubbleTextView bubbleTextView, Float alpha) {
215 public BubbleTextView(Context context) { in BubbleTextView() method in BubbleTextView
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DBaseAllAppsAdapter.java41 import com.android.launcher3.BubbleTextView;
224 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( in onCreateViewHolder()
263 BubbleTextView icon = (BubbleTextView) holder.itemView; in onBindViewHolder()
DAllAppsStore.java31 import com.android.launcher3.BubbleTextView;
241 private void updateAllIcons(Consumer<BubbleTextView> action) { in updateAllIcons()
248 if (child instanceof BubbleTextView) { in updateAllIcons()
249 action.accept((BubbleTextView) child); in updateAllIcons()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBubbleTextHolder.java18 import com.android.launcher3.BubbleTextView;
24 BubbleTextView getBubbleText(); in getBubbleText()
DFloatingIconView.java48 import com.android.launcher3.BubbleTextView;
266 if (v instanceof BubbleTextView) { in getLocationBoundsForView()
267 ((BubbleTextView) v).getIconBounds(outViewBounds); in getLocationBoundsForView()
320 } else if (!(originalView instanceof BubbleTextView)) { in getIconResult()
560 if (v instanceof BubbleTextView) { in fetchIcon()
561 BubbleTextView btv = (BubbleTextView) v; in fetchIcon()
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIcon.java19 import static com.android.launcher3.BubbleTextView.DISPLAY_FOLDER;
31 import com.android.launcher3.BubbleTextView;
60 private BubbleTextView mAppPairName;
203 public BubbleTextView getTitleTextView() { in getTitleTextView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java26 import com.android.launcher3.BubbleTextView;
188 BubbleTextView tipTargetView = null; in showHotseatArrowTip()
193 if (v instanceof BubbleTextView && v.getTag() instanceof WorkspaceItemInfo) { in showHotseatArrowTip()
197 tipTargetView = (BubbleTextView) v; in showHotseatArrowTip()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsControllerTest.kt24 import com.android.launcher3.BubbleTextView
143 ?.itemView as? BubbleTextView in testUpdateNotificationDots_appInfo_hasDot()
165 val btv = predictionRowView.getChildAt(0) as BubbleTextView in testUpdateNotificationDots_predictedApp_hasDot()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultSearchAdapterProvider.java22 import com.android.launcher3.BubbleTextView;
57 if (mHighlightedView instanceof BubbleTextView in launchHighlightedItem()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
DTaplThemeIconsTest.java33 import com.android.launcher3.BubbleTextView;
143 BubbleTextView icon = null; in verifyIconTheme()
151 } else if (view instanceof BubbleTextView btv) { in verifyIconTheme()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java33 import com.android.launcher3.BubbleTextView;
53 private BubbleTextView mBubbleText;
117 public BubbleTextView getBubbleText() { in getBubbleText()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java37 import com.android.launcher3.BubbleTextView;
171 if (iconView instanceof BubbleTextView) { in unbindItems()
226 getContext()), null , api, BubbleTextView.DISPLAY_FOLDER); in createNewView()
229 ((BubbleTextView) icon).applyFromWorkspaceItem((WorkspaceItemInfo) item); in createNewView()
340 if (mOrganizer.isItemInPreview(rank) && v instanceof BubbleTextView) { in arrangeChildren()
341 ((BubbleTextView) v).verifyHighRes(); in arrangeChildren()
517 if (iconView instanceof BubbleTextView btv) { in verifyVisibleHighResIcons()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DBaseAccessibilityDelegate.java26 import com.android.launcher3.BubbleTextView;
90 if (host instanceof BubbleTextView) { in itemSupportsLongClick()
91 return ((BubbleTextView) host).canShowLongPressPopup(); in itemSupportsLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DLauncherPopupLiveUpdateHandler.java21 import com.android.launcher3.BubbleTextView;
48 BubbleTextView originalIcon = mPopupContainerWithArrow.getOriginalIcon(); in onWidgetsBound()
DPopupContainerWithArrow.java44 import com.android.launcher3.BubbleTextView;
91 private BubbleTextView mOriginalIcon;
181 return icon instanceof BubbleTextView && ShortcutUtil.supportsShortcuts(item); in canShow()
189 public static PopupContainerWithArrow<Launcher> showForIcon(BubbleTextView icon) { in showForIcon()
236 public void populateAndShowRows(final BubbleTextView originalIcon, in populateAndShowRows()
402 protected BubbleTextView getOriginalIcon() { in getOriginalIcon()

123