Home
last modified time | relevance | path

Searched refs:decodeFormat (Results 1 – 10 of 10) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DStreamBitmapDecoder.java23 private DecodeFormat decodeFormat; field in StreamBitmapDecoder
34 public StreamBitmapDecoder(Context context, DecodeFormat decodeFormat) { in StreamBitmapDecoder() argument
35 this(Glide.get(context).getBitmapPool(), decodeFormat); in StreamBitmapDecoder() local
38 public StreamBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { in StreamBitmapDecoder() argument
39 this(Downsampler.AT_LEAST, bitmapPool, decodeFormat); in StreamBitmapDecoder()
42 …ic StreamBitmapDecoder(Downsampler downsampler, BitmapPool bitmapPool, DecodeFormat decodeFormat) { in StreamBitmapDecoder() argument
45 this.decodeFormat = decodeFormat; in StreamBitmapDecoder()
50 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat); in decode()
60 .append(decodeFormat.name()) in getId()
DFileDescriptorBitmapDecoder.java22 private DecodeFormat decodeFormat; field in FileDescriptorBitmapDecoder
28 public FileDescriptorBitmapDecoder(Context context, DecodeFormat decodeFormat) { in FileDescriptorBitmapDecoder() argument
29 this(Glide.get(context).getBitmapPool(), decodeFormat); in FileDescriptorBitmapDecoder() local
32 public FileDescriptorBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { in FileDescriptorBitmapDecoder() argument
33 this(new VideoBitmapDecoder(), bitmapPool, decodeFormat); in FileDescriptorBitmapDecoder()
37 DecodeFormat decodeFormat) { in FileDescriptorBitmapDecoder() argument
40 this.decodeFormat = decodeFormat; in FileDescriptorBitmapDecoder()
45 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat); in decode()
DFileDescriptorBitmapDataLoadProvider.java27 public FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { in FileDescriptorBitmapDataLoadProvider() argument
28 … cacheDecoder = new FileToStreamDecoder<Bitmap>(new StreamBitmapDecoder(bitmapPool, decodeFormat)); in FileDescriptorBitmapDataLoadProvider()
29 sourceDecoder = new FileDescriptorBitmapDecoder(bitmapPool, decodeFormat); in FileDescriptorBitmapDataLoadProvider()
DStreamBitmapDataLoadProvider.java27 public StreamBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { in StreamBitmapDataLoadProvider() argument
29 decoder = new StreamBitmapDecoder(bitmapPool, decodeFormat); in StreamBitmapDataLoadProvider()
DDownsampler.java103 …p decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat decodeFormat) { in decode() argument
142 decodeFormat); in decode()
191 int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) { in downsampleWithSize() argument
193 Bitmap.Config config = getConfig(is, decodeFormat); in downsampleWithSize()
DBitmapDecoder.java25 …p decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) in decode() argument
DVideoBitmapDecoder.java32 DecodeFormat decodeFormat) in decode() argument
/external/glide/library/src/main/java/com/bumptech/glide/
DGlideBuilder.java34 private DecodeFormat decodeFormat; field in GlideBuilder
134 public GlideBuilder setDecodeFormat(DecodeFormat decodeFormat) { in setDecodeFormat() argument
135 this.decodeFormat = decodeFormat; in setDecodeFormat()
181 if (decodeFormat == null) { in createGlide()
182 decodeFormat = DecodeFormat.DEFAULT; in createGlide()
185 return new Glide(engine, memoryCache, bitmapPool, context, decodeFormat); in createGlide()
DBitmapRequestBuilder.java51 private DecodeFormat decodeFormat; field in BitmapRequestBuilder
59 this.decodeFormat = other.glide.getDecodeFormat(); in BitmapRequestBuilder()
61 imageDecoder = new StreamBitmapDecoder(bitmapPool, decodeFormat); in BitmapRequestBuilder()
62 videoDecoder = new FileDescriptorBitmapDecoder(bitmapPool, decodeFormat); in BitmapRequestBuilder()
112 imageDecoder = new StreamBitmapDecoder(downsampler, bitmapPool, decodeFormat); in downsample()
239 this.decodeFormat = format; in format()
DGlide.java90 private final DecodeFormat decodeFormat; field in Glide
187 …gine, MemoryCache memoryCache, BitmapPool bitmapPool, Context context, DecodeFormat decodeFormat) { in Glide() argument
191 this.decodeFormat = decodeFormat; in Glide()
194 bitmapPreFiller = new BitmapPreFiller(memoryCache, bitmapPool, decodeFormat); in Glide()
199 new StreamBitmapDataLoadProvider(bitmapPool, decodeFormat); in Glide()
203 new FileDescriptorBitmapDataLoadProvider(bitmapPool, decodeFormat); in Glide()
309 return decodeFormat; in getDecodeFormat()