/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ui/ |
D | BubbleTextViewTest.java | 21 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/ |
D | LauncherBindableItemsContainer.java | 21 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()
|
D | ItemInflater.kt | 26 import com.android.launcher3.BubbleTextView 86 BubbleTextView.DISPLAY_WORKSPACE in inflateItem() 106 as BubbleTextView in createShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | PinnedAppsAdapter.java | 33 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()
|
D | SecondaryDisplayLauncher.java | 33 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/ |
D | TaskbarDragController.java | 58 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 …]
|
D | TaskbarViewController.java | 52 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()
|
D | TaskbarView.java | 20 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/ |
D | DragPreviewProvider.java | 19 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/ |
D | PredictionRowView.java | 30 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/ |
D | BubbleTextView.java | 96 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/ |
D | BaseAllAppsAdapter.java | 41 import com.android.launcher3.BubbleTextView; 224 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( in onCreateViewHolder() 263 BubbleTextView icon = (BubbleTextView) holder.itemView; in onBindViewHolder()
|
D | AllAppsStore.java | 31 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/ |
D | BubbleTextHolder.java | 18 import com.android.launcher3.BubbleTextView; 24 BubbleTextView getBubbleText(); in getBubbleText()
|
D | FloatingIconView.java | 48 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/ |
D | AppPairIcon.java | 19 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/ |
D | HotseatEduController.java | 26 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/ |
D | TaskbarAllAppsControllerTest.kt | 24 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/ |
D | DefaultSearchAdapterProvider.java | 22 import com.android.launcher3.BubbleTextView; 57 if (mHighlightedView instanceof BubbleTextView in launchHighlightedItem()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | TaplThemeIconsTest.java | 33 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/ |
D | DeepShortcutView.java | 33 import com.android.launcher3.BubbleTextView; 53 private BubbleTextView mBubbleText; 117 public BubbleTextView getBubbleText() { in getBubbleText()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 37 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/ |
D | BaseAccessibilityDelegate.java | 26 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/ |
D | LauncherPopupLiveUpdateHandler.java | 21 import com.android.launcher3.BubbleTextView; 48 BubbleTextView originalIcon = mPopupContainerWithArrow.getOriginalIcon(); in onWidgetsBound()
|
D | PopupContainerWithArrow.java | 44 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()
|