Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java67 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) {
138 public BubbleTextView(Context context) { in BubbleTextView() method in BubbleTextView
[all …]
DWorkspace.java1467 if (child instanceof BubbleTextView) { in beginDragShared()
1468 Drawable icon = ((BubbleTextView) child).getIcon(); in beginDragShared()
1489 if (child instanceof BubbleTextView) { in beginDragShared()
1491 ((BubbleTextView) child).getIconBounds(dragRect); in beginDragShared()
1505 if (child instanceof BubbleTextView) { in beginDragShared()
1506 BubbleTextView icon = (BubbleTextView) child; in beginDragShared()
1514 if (child instanceof BubbleTextView && !dragOptions.isAccessibleDrag) { in beginDragShared()
1516 .showForIcon((BubbleTextView) child); in beginDragShared()
2354 BubbleTextView cell = (BubbleTextView) layout.getChildAt(cellX, cellY);
3133 if (info instanceof WorkspaceItemInfo && v instanceof BubbleTextView && in updateShortcuts()
[all …]
DLauncherAppTransitionManager.java42 if (v instanceof BubbleTextView) { in getActivityLaunchOptions()
44 Drawable icon = ((BubbleTextView) v).getIcon(); in getActivityLaunchOptions()
DLauncher.java1132 BubbleTextView favorite = (BubbleTextView) LayoutInflater.from(parent.getContext()) in createShortcut()
1827 if (success && v instanceof BubbleTextView) { in startActivitySafely()
1832 BubbleTextView btv = (BubbleTextView) v; in startActivitySafely()
2528 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/folder/
DPreviewItemManager.java33 import com.android.launcher3.BubbleTextView;
203 List<BubbleTextView> items = mIcon.getPreviewItemsOnPage(page);
303 public void onDrop(List<BubbleTextView> oldParams, List<BubbleTextView> newParams,
310 List<BubbleTextView> moveIn = new ArrayList<>();
311 for (BubbleTextView btv : newParams) {
334 List<BubbleTextView> moveOut = new ArrayList<>(oldParams);
337 BubbleTextView item = moveOut.get(i);
351 private void updateTransitionParam(final PreviewItemDrawingParams p, BubbleTextView btv,
DFolderIcon.java43 import com.android.launcher3.BubbleTextView;
93 @Thunk BubbleTextView mFolderName;
102 private List<BubbleTextView> mCurrentPreviewItems = new ArrayList<>();
196 public BubbleTextView getFolderName() { in getFolderName()
329 List<BubbleTextView> oldPreviewItems = new ArrayList<>(mCurrentPreviewItems); in onDrop()
514 BubbleTextView.getIconBounds(this, iconBounds,
541 public List<BubbleTextView> getPreviewItems() {
548 public List<BubbleTextView> getPreviewItemsOnPage(int page) {
551 List<BubbleTextView> itemsToDisplay = new ArrayList<>();
552 List<BubbleTextView> itemsOnPage = mFolder.getItemsOnPage(page);
DFolderAnimationManager.java19 import static com.android.launcher3.BubbleTextView.TEXT_ALPHA_PROPERTY;
40 import com.android.launcher3.BubbleTextView;
116 final List<BubbleTextView> itemsInPreview = mFolderIcon.getPreviewItems(); in getAnimator()
180 for (BubbleTextView icon : mFolder.getItemsOnPage(mFolder.mContent.getCurrentPage())) { in getAnimator()
235 final List<BubbleTextView> itemsInPreview = isOnFirstPage in addPreviewItemAnimators()
246 final BubbleTextView btv = itemsInPreview.get(i); in addPreviewItemAnimators()
DFolderPagedView.java31 import com.android.launcher3.BubbleTextView;
233 final BubbleTextView textView = (BubbleTextView) mInflater.inflate( in createNewView()
356 if (verifier.isItemInPreview(rank) && v instanceof BubbleTextView) { in arrangeChildren()
357 ((BubbleTextView) v).verifyHighRes(); in arrangeChildren()
540 BubbleTextView icon = ((BubbleTextView) parent.getChildAt(i)); in verifyVisibleHighResIcons()
DFolder.java51 import com.android.launcher3.BubbleTextView;
1305 public List<BubbleTextView> getItemsOnPage(int page) {
1317 List<BubbleTextView> itemsOnCurrentPage = new ArrayList<>(numItemsOnCurrentPage);
1319 itemsOnCurrentPage.add((BubbleTextView) allItems.get(i));
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java31 import com.android.launcher3.BubbleTextView;
69 if (mView instanceof BubbleTextView) { in DragPreviewProvider()
70 Drawable d = ((BubbleTextView) mView).getIcon(); in DragPreviewProvider()
85 if (mView instanceof BubbleTextView) { in drawDragView()
86 Drawable d = ((BubbleTextView) mView).getIcon(); in drawDragView()
125 if (mView instanceof BubbleTextView) { in createDragBitmap()
126 Drawable d = ((BubbleTextView) mView).getIcon(); in createDragBitmap()
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/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionRowView.java36 import com.android.launcher3.BubbleTextView;
237 BubbleTextView icon = (BubbleTextView) mLauncher.getLayoutInflater().inflate( in applyPredictionApps()
257 BubbleTextView icon = (BubbleTextView) getChildAt(i); in applyPredictionApps()
322 ((BubbleTextView) getChildAt(i)).setTextColor(iconColor); in setTextAlpha()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsStore.java22 import com.android.launcher3.BubbleTextView;
156 private void updateAllIcons(Consumer<BubbleTextView> action) { in updateAllIcons()
163 if (child instanceof BubbleTextView) { in updateAllIcons()
164 action.accept((BubbleTextView) child); in updateAllIcons()
DAllAppsGridAdapter.java30 import com.android.launcher3.BubbleTextView;
251 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( in onCreateViewHolder()
286 BubbleTextView icon = (BubbleTextView) holder.itemView; in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java53 import com.android.launcher3.BubbleTextView;
356 if (v instanceof BubbleTextView) { in getLocationBoundsForView()
357 ((BubbleTextView) v).getIconBounds(iconBounds); in getLocationBoundsForView()
395 Drawable btvIcon = originalView instanceof BubbleTextView in getIconResult()
396 ? ((BubbleTextView) originalView).getIcon() : null; in getIconResult()
419 if (originalView instanceof BubbleTextView) { in getIconResult()
801 if (originalView instanceof BubbleTextView) { in createFadeAnimation()
802 BubbleTextView btv = (BubbleTextView) originalView; in createFadeAnimation()
DDoubleShadowBubbleTextView.java28 import com.android.launcher3.BubbleTextView;
34 public class DoubleShadowBubbleTextView extends BubbleTextView {
/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.java47 import com.android.launcher3.BubbleTextView;
96 private BubbleTextView mOriginalIcon;
196 public static PopupContainerWithArrow showForIcon(BubbleTextView icon) { in showForIcon()
237 BubbleTextView icon, ItemInfo item, SystemShortcutFactory factory) { in populateAndShow()
250 protected void populateAndShow(final BubbleTextView originalIcon, int shortcutCount, in populateAndShow()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java442 if (v instanceof BubbleTextView && !(v.getParent() instanceof DeepShortcutView)) { in getOpeningWindowAnimators()
443 Drawable dr = ((BubbleTextView) v).getIcon(); in getOpeningWindowAnimators()
480 if (v instanceof BubbleTextView) { in getOpeningWindowAnimators()
481 ((BubbleTextView) v).setStayPressed(false); in getOpeningWindowAnimators()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java38 import com.android.launcher3.BubbleTextView;
221 if ((v instanceof BubbleTextView) && shortcut.hasPromiseIconUi()) { in onClickAppShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java21 import com.android.launcher3.BubbleTextView;
240 return PopupContainerWithArrow.showForIcon((BubbleTextView) host) != null; in performAction()