/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
BitmapDrawableResource.java | 5 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 15 * {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool} when the resource is recycled. 19 private final BitmapPool bitmapPool; 21 public BitmapDrawableResource(BitmapDrawable drawable, BitmapPool bitmapPool) { 23 this.bitmapPool = bitmapPool; 33 bitmapPool.put(drawable.getBitmap());
|
FitCenter.java | 6 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 18 public FitCenter(BitmapPool bitmapPool) { 19 super(bitmapPool); 23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
|
GlideBitmapDrawableResource.java | 3 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 11 private final BitmapPool bitmapPool; 13 public GlideBitmapDrawableResource(GlideBitmapDrawable drawable, BitmapPool bitmapPool) { 15 this.bitmapPool = bitmapPool; 25 bitmapPool.put(drawable.getBitmap());
|
BitmapResource.java | 6 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 14 private final BitmapPool bitmapPool; 21 * @param bitmapPool A non-null {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool}. 23 public static BitmapResource obtain(Bitmap bitmap, BitmapPool bitmapPool) { 27 return new BitmapResource(bitmap, bitmapPool); 31 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { [all...] |
BitmapDecoder.java | 6 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 18 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or 25 Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat)
|
CenterCrop.java | 6 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 20 public CenterCrop(BitmapPool bitmapPool) { 21 super(bitmapPool); 27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
|
BitmapTransformation.java | 9 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 20 * public Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { 33 private BitmapPool bitmapPool; 39 public BitmapTransformation(BitmapPool bitmapPool) { 40 this.bitmapPool = bitmapPool; 50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); 56 result = BitmapResource.obtain(transformed, bitmapPool); [all...] |
FileDescriptorBitmapDecoder.java | 11 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 21 private final BitmapPool bitmapPool; 32 public FileDescriptorBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { 33 this(new VideoBitmapDecoder(), bitmapPool, decodeFormat); 36 public FileDescriptorBitmapDecoder(VideoBitmapDecoder bitmapDecoder, BitmapPool bitmapPool, 39 this.bitmapPool = bitmapPool; [all...] |
StreamBitmapDecoder.java | 10 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 22 private BitmapPool bitmapPool; 30 public StreamBitmapDecoder(BitmapPool bitmapPool) { 31 this(bitmapPool, DecodeFormat.DEFAULT); 38 public StreamBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { 39 this(Downsampler.AT_LEAST, bitmapPool, decodeFormat); 42 public StreamBitmapDecoder(Downsampler downsampler, BitmapPool bitmapPool, DecodeFormat decodeFormat) [all...] |
VideoBitmapDecoder.java | 8 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 31 public Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight,
|
FileDescriptorBitmapDataLoadProvider.java | 10 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 27 public FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { 28 cacheDecoder = new FileToStreamDecoder<Bitmap>(new StreamBitmapDecoder(bitmapPool, decodeFormat)); 29 sourceDecoder = new FileDescriptorBitmapDecoder(bitmapPool, decodeFormat);
|
StreamBitmapDataLoadProvider.java | 9 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 27 public StreamBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { 29 decoder = new StreamBitmapDecoder(bitmapPool, decodeFormat);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifBitmapProvider.java | 7 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 10 private final BitmapPool bitmapPool; 12 public GifBitmapProvider(BitmapPool bitmapPool) { 13 this.bitmapPool = bitmapPool; 18 return bitmapPool.getDirty(width, height, config); 23 if (!bitmapPool.put(bitmap)) {
|
GifFrameResourceDecoder.java | 8 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 12 private final BitmapPool bitmapPool; 14 public GifFrameResourceDecoder(BitmapPool bitmapPool) { 15 this.bitmapPool = bitmapPool; 21 return BitmapResource.obtain(bitmap, bitmapPool);
|
GifDrawableTransformation.java | 7 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 16 private final BitmapPool bitmapPool; 18 public GifDrawableTransformation(Transformation<Bitmap> wrapped, BitmapPool bitmapPool) { 20 this.bitmapPool = bitmapPool; 32 Resource<Bitmap> bitmapResource = new BitmapResource(firstFrame, bitmapPool);
|
GifDrawableLoadProvider.java | 8 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 26 public GifDrawableLoadProvider(Context context, BitmapPool bitmapPool) { 27 decoder = new GifResourceDecoder(context, bitmapPool); 29 encoder = new GifResourceEncoder(bitmapPool);
|
GifResourceEncoder.java | 13 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 29 private final BitmapPool bitmapPool; 32 public GifResourceEncoder(BitmapPool bitmapPool) { 33 this(bitmapPool, FACTORY); 37 GifResourceEncoder(BitmapPool bitmapPool, Factory factory) { 38 this.bitmapPool = bitmapPool; [all...] |
GifResourceDecoder.java | 13 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 33 private final BitmapPool bitmapPool; 41 public GifResourceDecoder(Context context, BitmapPool bitmapPool) { 42 this(context, bitmapPool, PARSER_POOL, DECODER_POOL); 46 GifResourceDecoder(Context context, BitmapPool bitmapPool, GifHeaderParserPool parserPool, 49 this.bitmapPool = bitmapPool; [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
BitmapPoolTest.java | 48 private Set<Bitmap> fillPoolAndGetPoolContents(final BitmapPool pool, final int width, 64 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); 75 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); 88 BitmapPool.getBitmapOptionsForPool(false, IMAGE_DIM, IMAGE_DIM); 93 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); 95 BitmapPool.getBitmapOptionsForPool(true, IMAGE_DIM, IMAGE_DIM);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
BitmapPool.java | 8 public interface BitmapPool {
|
BitmapPoolAdapter.java | 6 * An {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool BitmapPool} implementation that rejects all 9 public class BitmapPoolAdapter implements BitmapPool {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
GlideBitmapDrawableTranscoder.java | 9 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 19 private final BitmapPool bitmapPool; 25 public GlideBitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool) { 27 this.bitmapPool = bitmapPool; 33 return new GlideBitmapDrawableResource(drawable, bitmapPool);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFiller.java | 8 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 17 * {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool}. 22 private final BitmapPool bitmapPool; 28 public BitmapPreFiller(MemoryCache memoryCache, BitmapPool bitmapPool, DecodeFormat defaultFormat) { 30 this.bitmapPool = bitmapPool; 50 current = new BitmapPreFillRunner(bitmapPool, memoryCache, allocationOrder); 56 final int maxSize = memoryCache.getMaxSize() - memoryCache.getCurrentSize() + bitmapPool.getMaxSize() [all...] |
BitmapPreFillRunner.java | 10 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 23 * {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool} is pre-populated. 56 private final BitmapPool bitmapPool; 66 public BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder) { 67 this(bitmapPool, memoryCache, allocationOrder, DEFAULT_CLOCK, new Handler(Looper.getMainLooper())); 71 BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder, Clock clock, 73 this.bitmapPool = bitmapPool [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
GifBitmapWrapperTransformation.java | 7 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; 19 public GifBitmapWrapperTransformation(BitmapPool bitmapPool, Transformation<Bitmap> bitmapTransformation) { 20 this(bitmapTransformation, new GifDrawableTransformation(bitmapTransformation, bitmapPool));
|