Home
last modified time | relevance | path

Searched refs:createIconBitmap (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java131 public static Bitmap createIconBitmap(Cursor c, int iconIndex, Context context) { in createIconBitmap() method in Utilities
134 return createIconBitmap(BitmapFactory.decodeByteArray(data, 0, data.length), context); in createIconBitmap()
144 public static Bitmap createIconBitmap(String packageName, String resourceName, in createIconBitmap() method in Utilities
152 return createIconBitmap( in createIconBitmap()
169 public static Bitmap createIconBitmap(Bitmap icon, Context context) { in createIconBitmap() method in Utilities
174 return createIconBitmap(new BitmapDrawable(context.getResources(), icon), context); in createIconBitmap()
180 public static Bitmap createIconBitmap(Drawable icon, Context context) { in createIconBitmap() method in Utilities
DIconCache.java383 entry.icon = Utilities.createIconBitmap(app.getBadgedIcon(mIconDpi), mContext); in updateCacheAndGetContentValues()
545 entry.icon = Utilities.createIconBitmap(info.getBadgedIcon(mIconDpi), mContext); in cacheLocked()
594 entry.icon = Utilities.createIconBitmap(icon, mContext); in cachePackageInstallInfo()
628 entry.icon = Utilities.createIconBitmap(drawable, mContext); in getEntryForPackageLocked()
DLauncherModel.java3121 Bitmap icon = Utilities.createIconBitmap(
3540 Bitmap icon = Utilities.createIconBitmap(c, iconIndex, context);
3647 icon = Utilities.createIconBitmap((Bitmap) bitmap, context);
3653 icon = Utilities.createIconBitmap(iconResource.packageName,
DAutoInstallsLayout.java432 ItemInfo.writeBitmap(mValues, Utilities.createIconBitmap(icon, mContext)); in parseAndAdd()
DLauncherBackupHelper.java1021 Bitmap icon = Utilities.createIconBitmap(fullResIcon, mContext); in packWidget()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java70 static Bitmap createIconBitmap(Bitmap icon, Context context) { in createIconBitmap() method in Utilities
87 return createIconBitmap(new BitmapDrawable(resources, icon), context); in createIconBitmap()
94 static Bitmap createIconBitmap(Drawable icon, Context context) { in createIconBitmap() method in Utilities
212 return createIconBitmap(new BitmapDrawable(resources, bitmap), context); in resampleIconBitmap()
DLauncherModel.java184 mDefaultIcon = Utilities.createIconBitmap( in LauncherModel()
2302 icon = Utilities.createIconBitmap( in getShortcutInfo()
2348 return Utilities.createIconBitmap( in getIconFromCursor()
2437 icon = Utilities.createIconBitmap(new FastBitmapDrawable((Bitmap)bitmap), context); in infoFromShortcutIntent()
2448 icon = Utilities.createIconBitmap( in infoFromShortcutIntent()
DIconCache.java248 entry.icon = Utilities.createIconBitmap(info.getBadgedIcon(mIconDpi), mContext); in cacheLocked()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DCursorIconInfo.java56 icon = Utilities.createIconBitmap(packageName, resourceName, context); in loadIcon()
60 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon()
64 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerTask.java137 return createIconBitmap((Drawable) drawable, outputOptions); in getBitmapFromResource()
319 private static Bitmap createIconBitmap(Drawable drawable, BitmapWorkerOptions workerOptions) {
/packages/apps/Settings/src/com/android/settings/sim/
DSimSettings.java284 setIcon(new BitmapDrawable(res, (mSubInfoRecord.createIconBitmap(mContext)))); in update()
DSimDialogActivity.java321 holder.icon.setImageBitmap(sir.createIconBitmap(mContext)); in getView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java245 preview = Utilities.createIconBitmap(icon, mLauncher); in beginDraggingWidget()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java136 icon = Icon.createWithBitmap(record.createIconBitmap(mContext)); in registerPstnPhoneAccount()