Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfoWithIcon.java225 public FastBitmapDrawable newIcon(Context context) {
226 return newIcon(context, false);
232 public FastBitmapDrawable newIcon(Context context, boolean applyTheme) {
234 ? bitmap.newThemedIcon(context) : bitmap.newIcon(context);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DLauncherDelegate.java104 View newIcon = null; in replaceFolderWithFinalItem()
113 newIcon = mLauncher.createShortcut(cellLayout, finalItem); in replaceFolderWithFinalItem()
124 if (newIcon != null) { in replaceFolderWithFinalItem()
128 mLauncher.getWorkspace().addInScreenFromBind(newIcon, info); in replaceFolderWithFinalItem()
131 newIcon.requestFocus(); in replaceFolderWithFinalItem()
DPreviewItemManager.java432 p.drawable = item.newIcon(mContext, true);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskIconCache.java162 false /* isInstantApp */).newIcon(mContext); in getCacheEntry()
172 entry.icon = bitmapInfo.newIcon(mContext); in getCacheEntry()
220 return info.newIcon(mContext); in getDefaultIcon()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java325 FastBitmapDrawable iconDrawable = info.newIcon(getContext(), useTheme); in applyIconAndLabel()
880 private void updateIcon(Drawable newIcon) { in updateIcon() argument
882 setCompoundDrawablesRelative(newIcon, null, null, null); in updateIcon()
884 setCompoundDrawables(null, newIcon, null, null); in updateIcon()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java158 FastBitmapDrawable disabledIcon = info.newIcon(getContext()); in reapplyItemInfo()
169 ? info.newIcon(getContext()) in reapplyItemInfo()
DDatabaseWidgetPreviewLoader.java569 Process.myUserHandle(), 0).newIcon(launcher); in generateShortcutPreview()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java350 Drawable newIcon = altIcon; in onCreate()
352 newIcon = iconBackups.get(item); in onCreate()
354 item.setIcon(newIcon); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinShortcutRequestActivityInfo.java80 d = cache.getDefaultIcon(Process.myUserHandle()).newIcon(mContext); in getFullResIcon()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java89 .getDefaultIcon(statusBarNotification.getUser()).newIcon(context); in NotificationInfo()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java618 Drawable newIcon = new BitmapDrawable(null /*resource*/, bitmap); in redrawIconForHeader() local
621 newIcon.setTintList(Utils.getColorAttr(mContext, android.R.attr.textColorPrimary)); in redrawIconForHeader()
623 return newIcon; in redrawIconForHeader()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java180 icon = info.newIcon(getContext()); in setIcon()