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.java156 public static Bitmap createIconBitmap(Cursor c, int iconIndex, Context context) { in createIconBitmap() method in Utilities
159 return createIconBitmap(BitmapFactory.decodeByteArray(data, 0, data.length), context); in createIconBitmap()
169 public static Bitmap createIconBitmap(String packageName, String resourceName, in createIconBitmap() method in Utilities
177 return createIconBitmap( in createIconBitmap()
194 public static Bitmap createIconBitmap(Bitmap icon, Context context) { in createIconBitmap() method in Utilities
199 return createIconBitmap(new BitmapDrawable(context.getResources(), icon), context); in createIconBitmap()
211 Bitmap bitmap = createIconBitmap(icon, context, scale); in createBadgedIconBitmap()
220 return createIconBitmap(badged, context); in createBadgedIconBitmap()
230 public static Bitmap createIconBitmap(Drawable icon, Context context) { in createIconBitmap() method in Utilities
231 return createIconBitmap(icon, context, 1.0f /* scale */); in createIconBitmap()
[all …]
DAutoInstallsLayout.java438 ItemInfo.writeBitmap(mValues, Utilities.createIconBitmap(icon, mContext)); in parseAndAdd()
DLauncherModel.java3137 Bitmap icon = Utilities.createIconBitmap(
3477 Bitmap icon = Utilities.createIconBitmap(c, iconIndex, context);
3588 icon = Utilities.createIconBitmap((Bitmap) bitmap, context);
3594 icon = Utilities.createIconBitmap(iconResource.packageName,
DIconCache.java596 entry.icon = Utilities.createIconBitmap(icon, mContext); in cachePackageInstallInfo()
DLauncherBackupHelper.java1021 Bitmap icon = Utilities.createIconBitmap(fullResIcon, mContext); in packWidget()
/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/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()
DIconCache.java248 entry.icon = Utilities.createIconBitmap(info.getBadgedIcon(mIconDpi), mContext); in cacheLocked()
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()
/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/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java219 preview = Utilities.createIconBitmap(icon, mLauncher); in beginDraggingWidget()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java321 holder.icon.setImageBitmap(sir.createIconBitmap(mContext)); in getView()
DSimSettings.java308 setIcon(new BitmapDrawable(res, (mSubInfoRecord.createIconBitmap(mContext)))); in update()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java138 icon = Icon.createWithBitmap(record.createIconBitmap(mContext)); in registerPstnPhoneAccount()