Home
last modified time | relevance | path

Searched refs:newIcon (Results 1 – 15 of 15) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/data/
H A DItemInfoWithIcon.java232 public FastBitmapDrawable newIcon(Context context) {
233 return newIcon(context, false);
239 public FastBitmapDrawable newIcon(Context context, boolean applyTheme) {
241 ? bitmap.newThemedIcon(context) : bitmap.newIcon(context);
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DLauncherDelegate.java88 View newIcon = null; in replaceFolderWithFinalItem()
97 newIcon = mLauncher.createShortcut(cellLayout, finalItem); in replaceFolderWithFinalItem()
108 if (newIcon != null) { in replaceFolderWithFinalItem()
112 mLauncher.getWorkspace().addInScreenFromBind(newIcon, info); in replaceFolderWithFinalItem()
115 newIcon.requestFocus(); in replaceFolderWithFinalItem()
H A DPreviewItemManager.java432 p.drawable = item.newIcon(mContext, true);
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
H A DPlaceHolderIconDrawable.java58 public void animateIconUpdate(Drawable newIcon) { in animateIconUpdate() argument
68 newIcon.setColorFilter(new PorterDuffColorFilter(newColor, PorterDuff.Mode.SRC_ATOP)); in animateIconUpdate()
73 newIcon.setColorFilter(null); in animateIconUpdate()
H A DBitmapInfo.java93 return newIcon(context); in newThemedIcon()
99 public FastBitmapDrawable newIcon(Context context) { in newIcon() method in BitmapInfo
H A DClockDrawableWrapper.java309 .newIcon(context); in newThemedIcon()
316 public FastBitmapDrawable newIcon(Context context) { in newIcon() method in ClockDrawableWrapper.ClockBitmapInfo
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DTaskIconCache.java162 false /* isInstantApp */).newIcon(mContext); in getCacheEntry()
172 entry.icon = bitmapInfo.newIcon(mContext); in getCacheEntry()
220 return info.newIcon(mContext); in getDefaultIcon()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DPendingAppWidgetHostView.java158 FastBitmapDrawable disabledIcon = info.newIcon(getContext()); in reapplyItemInfo()
169 ? info.newIcon(getContext()) in reapplyItemInfo()
H A DDatabaseWidgetPreviewLoader.java322 Process.myUserHandle(), 0).newIcon(mContext);
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DPinShortcutRequestActivityInfo.java80 d = cache.getDefaultIcon(Process.myUserHandle()).newIcon(mContext); in getFullResIcon()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java365 FastBitmapDrawable iconDrawable = info.newIcon(getContext(), useTheme); in applyIconAndLabel()
1029 private void updateIcon(Drawable newIcon) { in updateIcon() argument
1031 setCompoundDrawablesRelative(newIcon, null, null, null); in updateIcon()
1033 setCompoundDrawables(null, newIcon, null, null); in updateIcon()
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
H A DToolbarActivity.java350 Drawable newIcon = altIcon; in onCreate()
352 newIcon = iconBackups.get(item); in onCreate()
354 item.setIcon(newIcon); in onCreate()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationInfo.java89 .getDefaultIcon(statusBarNotification.getUser()).newIcon(context); in NotificationInfo()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/details2/
H A DWifiDetailPreferenceController2.java619 Drawable newIcon = new BitmapDrawable(null /*resource*/, bitmap); in redrawIconForHeader() local
622 newIcon.setTintList(Utils.getColorAttr(mContext, android.R.attr.textColorPrimary)); in redrawIconForHeader()
624 return newIcon; in redrawIconForHeader()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListHeader.java181 icon = info.newIcon(getContext()); in setIcon()