Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java66 public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, OnResumeCallback, class
76 private static final Property<BubbleTextView, Float> DOT_SCALE_PROPERTY
77 = new Property<BubbleTextView, Float>(Float.TYPE, "dotScale") {
79 public Float get(BubbleTextView bubbleTextView) {
84 public void set(BubbleTextView bubbleTextView, Float value) {
90 public static final Property<BubbleTextView, Float> TEXT_ALPHA_PROPERTY
91 = new Property<BubbleTextView, Float>(Float.class, "textAlpha") {
93 public Float get(BubbleTextView bubbleTextView) {
98 public void set(BubbleTextView bubbleTextView, Float alpha) {
143 public BubbleTextView(Context context) { in BubbleTextView() method in BubbleTextView
[all …]
DWorkspace.java1479 if (child instanceof BubbleTextView) { in beginDragShared()
1480 Drawable icon = ((BubbleTextView) child).getIcon(); in beginDragShared()
1501 if (child instanceof BubbleTextView) { in beginDragShared()
1503 BubbleTextView.getIconBounds(child, dragRect, grid.iconSizePx); in beginDragShared()
1517 if (child instanceof BubbleTextView) { in beginDragShared()
1518 BubbleTextView icon = (BubbleTextView) child; in beginDragShared()
1526 if (child instanceof BubbleTextView && !dragOptions.isAccessibleDrag) { in beginDragShared()
1528 .showForIcon((BubbleTextView) child); in beginDragShared()
2369 BubbleTextView cell = (BubbleTextView) layout.getChildAt(cellX, cellY);
3143 if (v instanceof BubbleTextView && updates.contains(info)) { in updateShortcuts()
[all …]
DLauncherAppTransitionManager.java42 if (v instanceof BubbleTextView) { in getActivityLaunchOptions()
44 Drawable icon = ((BubbleTextView) v).getIcon(); in getActivityLaunchOptions()
DLauncher.java1159 BubbleTextView favorite = (BubbleTextView) LayoutInflater.from(parent.getContext()) in createShortcut()
1853 if (success && v instanceof BubbleTextView) { in startActivitySafely()
1858 BubbleTextView btv = (BubbleTextView) v; in startActivitySafely()
2556 if (focusedView instanceof BubbleTextView in onKeyShortcut()
DCellLayout.java580 if (child instanceof BubbleTextView) { in addViewToCellLayout()
581 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java32 import com.android.launcher3.BubbleTextView;
70 if (mView instanceof BubbleTextView) { in DragPreviewProvider()
71 Drawable d = ((BubbleTextView) mView).getIcon(); in DragPreviewProvider()
86 if (mView instanceof BubbleTextView) { in drawDragView()
87 Drawable d = ((BubbleTextView) mView).getIcon(); in drawDragView()
129 if (mView instanceof BubbleTextView) { in createDragBitmap()
130 Drawable d = ((BubbleTextView) mView).getIcon(); in createDragBitmap()
203 mIsIcon = mView instanceof BubbleTextView; in OutlineGeneratorCallback()
DLauncherPreviewRenderer.java45 import com.android.launcher3.BubbleTextView;
219 BubbleTextView icon = (BubbleTextView) mHomeElementInflater.inflate(
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DAppPredictionsUITests.java33 import com.android.launcher3.BubbleTextView;
134 public ArrayList<BubbleTextView> getPredictedApp(Launcher launcher) { in getPredictedApp()
138 ArrayList<BubbleTextView> predictedAppViews = new ArrayList<>(); in getPredictedApp()
141 if (view instanceof BubbleTextView && view.getVisibility() == View.VISIBLE) { in getPredictedApp()
142 predictedAppViews.add((BubbleTextView) view); in getPredictedApp()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java60 import com.android.launcher3.BubbleTextView;
364 if (v instanceof BubbleTextView) { in getLocationBoundsForView()
365 ((BubbleTextView) v).getIconBounds(iconBounds); in getLocationBoundsForView()
403 Drawable btvIcon = originalView instanceof BubbleTextView in getIconResult()
404 ? ((BubbleTextView) originalView).getIcon() : null; in getIconResult()
427 if (originalView instanceof BubbleTextView) { in getIconResult()
782 if (originalView instanceof BubbleTextView) { in getFloatingIconView()
783 ((BubbleTextView) originalView).setIconVisible(true); in getFloatingIconView()
784 ((BubbleTextView) originalView).setForceHideDot(false); in getFloatingIconView()
840 if (originalView instanceof BubbleTextView) { in createFadeAnimation()
[all …]
DDoubleShadowBubbleTextView.java28 import com.android.launcher3.BubbleTextView;
34 public class DoubleShadowBubbleTextView extends BubbleTextView {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionRowView.java39 import com.android.launcher3.BubbleTextView;
241 BubbleTextView icon = (BubbleTextView) mLauncher.getLayoutInflater().inflate( in applyPredictionApps()
261 BubbleTextView icon = (BubbleTextView) getChildAt(i); in applyPredictionApps()
334 ((BubbleTextView) getChildAt(i)).setTextColor(iconColor); in setTextAlpha()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsStore.java25 import com.android.launcher3.BubbleTextView;
145 private void updateAllIcons(Consumer<BubbleTextView> action) { in updateAllIcons()
152 if (child instanceof BubbleTextView) { in updateAllIcons()
153 action.accept((BubbleTextView) child); in updateAllIcons()
DAllAppsGridAdapter.java30 import com.android.launcher3.BubbleTextView;
255 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( in onCreateViewHolder()
290 BubbleTextView icon = (BubbleTextView) holder.itemView; in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java19 import static com.android.launcher3.BubbleTextView.TEXT_ALPHA_PROPERTY;
40 import com.android.launcher3.BubbleTextView;
119 final List<BubbleTextView> itemsInPreview = getPreviewIconsOnPage(0); in getAnimator()
189 for (BubbleTextView icon : mFolder.getItemsOnPage(mFolder.mContent.getCurrentPage())) { in getAnimator()
281 private List<BubbleTextView> getPreviewIconsOnPage(int page) { in getPreviewIconsOnPage()
293 final List<BubbleTextView> itemsInPreview = getPreviewIconsOnPage( in addPreviewItemAnimators()
303 final BubbleTextView btv = itemsInPreview.get(i); in addPreviewItemAnimators()
DFolderPagedView.java31 import com.android.launcher3.BubbleTextView;
200 final BubbleTextView textView = mViewCache.getView( in createNewView()
307 if (mOrganizer.isItemInPreview(rank) && v instanceof BubbleTextView) { in arrangeChildren()
308 ((BubbleTextView) v).verifyHighRes(); in arrangeChildren()
478 BubbleTextView icon = ((BubbleTextView) parent.getChildAt(i)); in verifyVisibleHighResIcons()
DFolderIcon.java43 import com.android.launcher3.BubbleTextView;
97 @Thunk BubbleTextView mFolderName;
201 public BubbleTextView getFolderName() { in getFolderName()
532 BubbleTextView.getIconBounds(this, iconBounds, in drawDot()
DFolder.java53 import com.android.launcher3.BubbleTextView;
1325 public List<BubbleTextView> getItemsOnPage(int page) { in getItemsOnPage()
1337 List<BubbleTextView> itemsOnCurrentPage = new ArrayList<>(numItemsOnCurrentPage); in getItemsOnPage()
1339 itemsOnCurrentPage.add((BubbleTextView) allItems.get(i)); in getItemsOnPage()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java27 import com.android.launcher3.BubbleTextView;
42 private BubbleTextView mBubbleText;
73 public BubbleTextView getBubbleText() { in getBubbleText()
DDeepShortcutTextView.java29 import com.android.launcher3.BubbleTextView;
36 public class DeepShortcutTextView extends BubbleTextView {
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRowViewHolder.java20 import com.android.launcher3.BubbleTextView;
28 public final BubbleTextView title;
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java48 import com.android.launcher3.BubbleTextView;
95 private BubbleTextView mOriginalIcon;
198 public static PopupContainerWithArrow showForIcon(BubbleTextView icon) { in showForIcon()
242 BubbleTextView icon, ItemInfo item, SystemShortcutFactory factory) { in populateAndShow()
258 protected void populateAndShow(final BubbleTextView originalIcon, int shortcutCount, in populateAndShow()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java451 if (v instanceof BubbleTextView && !(v.getParent() instanceof DeepShortcutView)) { in getOpeningWindowAnimators()
452 Drawable dr = ((BubbleTextView) v).getIcon(); in getOpeningWindowAnimators()
489 if (v instanceof BubbleTextView) { in getOpeningWindowAnimators()
490 ((BubbleTextView) v).setStayPressed(false); in getOpeningWindowAnimators()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java44 import com.android.launcher3.BubbleTextView;
228 if ((v instanceof BubbleTextView) && shortcut.hasPromiseIconUi()) { in onClickAppShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java23 import com.android.launcher3.BubbleTextView;
250 return PopupContainerWithArrow.showForIcon((BubbleTextView) host) != null; in performAction()