Searched refs:inBitmap (Results 1 – 11 of 11) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | BitmapProcessor.java | 55 Bitmap inBitmap = null; in blur() local 61 inBitmap = Bitmap.createScaledBitmap(bitmap, rect.width(), rect.height(), in blur() 66 if (inBitmap.getConfig() != Bitmap.Config.ARGB_8888) { in blur() 67 Bitmap oldIn = inBitmap; in blur() 68 inBitmap = oldIn.copy(Bitmap.Config.ARGB_8888, false /* isMutable */); in blur() 71 Bitmap outBitmap = Bitmap.createBitmap(inBitmap.getWidth(), inBitmap.getHeight(), in blur() 74 input = Allocation.createFromBitmap(renderScript, inBitmap, in blur() 97 if (inBitmap != null) { in blur() 98 inBitmap.recycle(); in blur()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 254 options.inBitmap = (options.inSampleSize == 1) in decodeUsingPool() 258 if (options.inBitmap != null && options.inBitmap != bitmap) { in decodeUsingPool() 259 GalleryBitmapPool.getInstance().put(options.inBitmap); in decodeUsingPool() 260 options.inBitmap = null; in decodeUsingPool() 264 if (options.inBitmap == null) throw e; in decodeUsingPool() 267 GalleryBitmapPool.getInstance().put(options.inBitmap); in decodeUsingPool() 268 options.inBitmap = null; in decodeUsingPool() 281 options.inBitmap = (options.inSampleSize == 1) in decodeUsingPool() 285 if (options.inBitmap != null && options.inBitmap != bitmap) { in decodeUsingPool() 286 GalleryBitmapPool.getInstance().put(options.inBitmap); in decodeUsingPool() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | AutoThumbnailDrawable.java | 259 mOptions.inBitmap = sBitmapPool.get( 263 if (mOptions.inBitmap != null && b != mOptions.inBitmap) { 264 sBitmapPool.put(mOptions.inBitmap); 265 mOptions.inBitmap = null; 271 mOptions.inBitmap = sBitmapPool.get(width / sampleSize, height / sampleSize); 273 if (mOptions.inBitmap != null && b != mOptions.inBitmap) { 274 sBitmapPool.put(mOptions.inBitmap); 275 mOptions.inBitmap = null;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BitmapPool.java | 172 optionsTmp.inBitmap = findPoolBitmap(width, height); in assignPoolBitmap() 199 if (optionsTmp.inBitmap != null) { in decodeSampledBitmapFromResource() 200 optionsTmp.inBitmap = null; in decodeSampledBitmapFromResource() 238 if (optionsTmp.inBitmap != null) { in decodeSampledBitmapFromInputStream() 239 optionsTmp.inBitmap = null; in decodeSampledBitmapFromInputStream() 283 if (optionsTmp.inBitmap != null) { in decodeByteArray() 284 optionsTmp.inBitmap = null; in decodeByteArray()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | PoolableImageCache.java | 152 if (optionsTmp.inBitmap != null) { in decodeSampledBitmapFromInputStream() 153 optionsTmp.inBitmap.recycle(); in decodeSampledBitmapFromInputStream() 154 optionsTmp.inBitmap = null; in decodeSampledBitmapFromInputStream() 195 if (optionsTmp.inBitmap != null) { in decodeByteArray() 196 optionsTmp.inBitmap.recycle(); in decodeByteArray() 197 optionsTmp.inBitmap = null; in decodeByteArray() 375 optionsTmp.inBitmap = getReusableBitmapFromPool(width, height); in assignPoolBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageViewAdapter.java | 120 options.inBitmap = bitmap; in getTile() 128 if (options.inBitmap != bitmap && options.inBitmap != null) { in getTile() 129 GalleryBitmapPool.getInstance().put(options.inBitmap); in getTile() 130 options.inBitmap = null; in getTile()
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 167 opts.inBitmap = reusableBitmap; in loadInBackground() 172 opts.inBitmap = null; in loadInBackground() 369 mOptions.inBitmap = bitmap; in getTile() 374 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile() 375 mOptions.inBitmap = null; in getTile()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 139 mOptions.inBitmap = bitmap; in getTile() 144 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile() 145 mOptions.inBitmap = null; in getTile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); in getThumbnail()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 278 options.inBitmap = reuse; in loadRegionBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | DatabaseWidgetPreviewLoader.java | 327 opts.inBitmap = recycle; in readFromDb()
|