Searched refs:scaledBitmap (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | BitmapUtils.java | 39 final Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmap, in renderDrawableToByteArray() local 41 final byte[] renderedBitmap = renderBitmapToByteArray(scaledBitmap); in renderDrawableToByteArray() 42 scaledBitmap.recycle(); in renderDrawableToByteArray()
|
/frameworks/base/core/java/android/content/pm/ |
D | ArchivedActivityInfo.java | 121 var scaledBitmap = Bitmap.createScaledBitmap(bitmap, iconSize, iconSize, true); in drawableToBitmap() local 122 if (scaledBitmap != bitmap) { in drawableToBitmap() 125 return scaledBitmap; in drawableToBitmap()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 192 Bitmap scaledBitmap = Bitmap.createScaledBitmap(bmp, iconSize, iconSize, true); in getBitmapFromDrawable() local 193 if (scaledBitmap != bmp) { in getBitmapFromDrawable() 196 return scaledBitmap; in getBitmapFromDrawable()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 332 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz, in getBitmapFromVideoFrame() local 340 return scaledBitmap; in getBitmapFromVideoFrame()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 1610 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap() local 1611 final Canvas c = new Canvas(scaledBitmap); in shrinkBitmap() 1617 return scaledBitmap; in shrinkBitmap()
|