Пример #1
0
 private static Bitmap findCachedBitmap(
     JobContext jc, FileDescriptor fileDescriptor, Options options) {
   decodeBounds(jc, fileDescriptor, options);
   return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight);
 }
Пример #2
0
 private static Bitmap findCachedBitmap(
     JobContext jc, byte[] data, int offset, int length, Options options) {
   decodeBounds(jc, data, offset, length, options);
   return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight);
 }