/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | BitmapDecoder.java | 17 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or 24 public Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) argument
|
H A D | BitmapDrawableResource.java | 10 private BitmapPool bitmapPool; field in class:BitmapDrawableResource 12 public BitmapDrawableResource(BitmapDrawable drawable, BitmapPool bitmapPool) { argument 14 this.bitmapPool = bitmapPool; 29 bitmapPool.put(drawable.getBitmap());
|
H A D | BitmapResource.java | 10 private BitmapPool bitmapPool; field in class:BitmapResource 12 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { argument 14 this.bitmapPool = bitmapPool; 29 if (!bitmapPool.put(bitmap)) {
|
H A D | FileDescriptorBitmapDataLoadProvider.java | 20 public FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool) { argument 21 cacheDecoder = new StreamBitmapDecoder(bitmapPool); 22 sourceDecoder = new FileDescriptorBitmapDecoder(bitmapPool);
|
H A D | FileDescriptorBitmapDecoder.java | 15 private final BitmapPool bitmapPool; field in class:FileDescriptorBitmapDecoder 18 public FileDescriptorBitmapDecoder(BitmapPool bitmapPool) { argument 19 this(new VideoBitmapDecoder(), bitmapPool, DecodeFormat.ALWAYS_ARGB_8888); 22 public FileDescriptorBitmapDecoder(VideoBitmapDecoder bitmapDecoder, BitmapPool bitmapPool, argument 25 this.bitmapPool = bitmapPool; 31 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat); 35 return new BitmapResource(bitmap, bitmapPool);
|
H A D | ImageVideoDataLoadProvider.java | 23 public ImageVideoDataLoadProvider(BitmapPool bitmapPool) { argument 27 cacheDecoder = new StreamBitmapDecoder(bitmapPool); 29 new FileDescriptorBitmapDecoder(bitmapPool));
|
H A D | StreamBitmapDataLoadProvider.java | 18 public StreamBitmapDataLoadProvider(BitmapPool bitmapPool) { argument 20 decoder = new StreamBitmapDecoder(bitmapPool);
|
H A D | StreamBitmapDecoder.java | 17 private BitmapPool bitmapPool; field in class:StreamBitmapDecoder 25 public StreamBitmapDecoder(BitmapPool bitmapPool) { argument 26 this(Downsampler.AT_LEAST, bitmapPool, DecodeFormat.ALWAYS_ARGB_8888); 29 public StreamBitmapDecoder(Downsampler downsampler, BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument 31 this.bitmapPool = bitmapPool; 37 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat); 41 return new BitmapResource(bitmap, bitmapPool);
|
H A D | VideoBitmapDecoder.java | 29 public Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight, argument
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
H A D | GifDataLoadProvider.java | 18 public GifDataLoadProvider(Context context, BitmapPool bitmapPool) { argument 19 decoder = new GifResourceDecoder(context, bitmapPool);
|
H A D | GifFrameResourceDecoder.java | 13 private BitmapPool bitmapPool; field in class:GifFrameResourceDecoder 15 public GifFrameResourceDecoder(BitmapPool bitmapPool) { argument 16 this.bitmapPool = bitmapPool; 22 return new BitmapResource(bitmap ,bitmapPool);
|
H A D | GifResourceDecoder.java | 22 private BitmapPool bitmapPool; field in class:GifResourceDecoder 28 public GifResourceDecoder(Context context, BitmapPool bitmapPool) { argument 30 this.bitmapPool = bitmapPool; 38 return new GifDataResource(new GifData(context, bitmapPool, id, header, data, width, height));
|
H A D | GifData.java | 25 public GifData(Context context, BitmapPool bitmapPool, String gifId, GifHeader header, byte[] data, argument 33 bitmapProvider = new GifDecoderBitmapProvider(bitmapPool); 76 private BitmapPool bitmapPool; field in class:GifData.GifDecoderBitmapProvider 78 public GifDecoderBitmapProvider(BitmapPool bitmapPool) { argument 79 this.bitmapPool = bitmapPool; 84 return bitmapPool.get(width, height, config);
|
H A D | GifFrameManager.java | 56 public GifFrameManager(Context context, BitmapPool bitmapPool, GifDecoder decoder, Handler mainHandler, argument 66 frameResourceDecoder = new GifFrameResourceDecoder(bitmapPool);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
H A D | BitmapDrawableTranscoder.java | 12 private BitmapPool bitmapPool; field in class:BitmapDrawableTranscoder 14 public BitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool) { argument 16 this.bitmapPool = bitmapPool; 22 return new BitmapDrawableResource(drawable, bitmapPool);
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
H A D | GlideBuilder.java | 26 private BitmapPool bitmapPool; field in class:GlideBuilder 41 public GlideBuilder setBitmapPool(BitmapPool bitmapPool) { argument 42 this.bitmapPool = bitmapPool; 85 if (bitmapPool == null) { 87 bitmapPool = new LruBitmapPool(calculator.getBitmapPoolSize()); 89 bitmapPool = new BitmapPoolAdapter(); 111 return new Glide(engine, requestQueue, memoryCache, bitmapPool, context);
|
H A D | BitmapRequestBuilder.java | 41 private final BitmapPool bitmapPool; field in class:BitmapRequestBuilder 53 this.bitmapPool = glide.getBitmapPool(); 55 imageDecoder = new StreamBitmapDecoder(bitmapPool); 56 videoDecoder = new FileDescriptorBitmapDecoder(bitmapPool); 94 imageDecoder = new StreamBitmapDecoder(downsampler, bitmapPool, decodeFormat); 168 imageDecoder = new StreamBitmapDecoder(downsampler, bitmapPool, format); 169 videoDecoder = new FileDescriptorBitmapDecoder(new VideoBitmapDecoder(), bitmapPool, format);
|
H A D | Glide.java | 86 private final BitmapPool bitmapPool; field in class:Glide 173 Glide(Engine engine, RequestQueue requestQueue, MemoryCache memoryCache, BitmapPool bitmapPool, argument 177 this.bitmapPool = bitmapPool; 182 dataLoadProviderFactory.register(InputStream.class, Bitmap.class, new StreamBitmapDataLoadProvider(bitmapPool)); 184 new FileDescriptorBitmapDataLoadProvider(bitmapPool)); 186 ImageVideoDataLoadProvider imageVideoDataLoadProvider = new ImageVideoDataLoadProvider(bitmapPool); 189 GifDataLoadProvider gifDataLoadProvider = new GifDataLoadProvider(context, bitmapPool); 207 new BitmapDrawableTranscoder(context.getResources(), bitmapPool)); 209 new GifBitmapWrapperDrawableTranscoder(new BitmapDrawableTranscoder(context.getResources(), bitmapPool), [all...] |