Searched defs:decodeFormat (Results 1 - 10 of 10) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDecoder.java23 * @param decodeFormat The desired configuration for the returned bitmap.
25 Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) argument
H A DFileDescriptorBitmapDecoder.java22 private DecodeFormat decodeFormat; field in class:FileDescriptorBitmapDecoder
28 public FileDescriptorBitmapDecoder(Context context, DecodeFormat decodeFormat) { argument
29 this(Glide.get(context).getBitmapPool(), decodeFormat);
32 public FileDescriptorBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument
33 this(new VideoBitmapDecoder(), bitmapPool, decodeFormat);
37 DecodeFormat decodeFormat) {
40 this.decodeFormat = decodeFormat;
45 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat);
36 FileDescriptorBitmapDecoder(VideoBitmapDecoder bitmapDecoder, BitmapPool bitmapPool, DecodeFormat decodeFormat) argument
H A DFileDescriptorBitmapDataLoadProvider.java27 public FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument
28 cacheDecoder = new FileToStreamDecoder<Bitmap>(new StreamBitmapDecoder(bitmapPool, decodeFormat));
29 sourceDecoder = new FileDescriptorBitmapDecoder(bitmapPool, decodeFormat);
H A DStreamBitmapDataLoadProvider.java27 public StreamBitmapDataLoadProvider(BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument
29 decoder = new StreamBitmapDecoder(bitmapPool, decodeFormat);
H A DStreamBitmapDecoder.java23 private DecodeFormat decodeFormat; field in class:StreamBitmapDecoder
34 public StreamBitmapDecoder(Context context, DecodeFormat decodeFormat) { argument
35 this(Glide.get(context).getBitmapPool(), decodeFormat);
38 public StreamBitmapDecoder(BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument
39 this(Downsampler.AT_LEAST, bitmapPool, decodeFormat);
42 public StreamBitmapDecoder(Downsampler downsampler, BitmapPool bitmapPool, DecodeFormat decodeFormat) { argument
45 this.decodeFormat = decodeFormat;
50 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat);
60 .append(decodeFormat
[all...]
H A DVideoBitmapDecoder.java32 DecodeFormat decodeFormat)
31 decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) argument
H A DDownsampler.java103 public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat decodeFormat) { argument
142 decodeFormat);
191 int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) {
193 Bitmap.Config config = getConfig(is, decodeFormat);
190 downsampleWithSize(ExceptionCatchingInputStream is, BitmapFactory.Options options, BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) argument
/external/glide/library/src/main/java/com/bumptech/glide/
H A DGlideBuilder.java34 private DecodeFormat decodeFormat; field in class:GlideBuilder
131 * @param decodeFormat The format to use.
134 public GlideBuilder setDecodeFormat(DecodeFormat decodeFormat) { argument
135 this.decodeFormat = decodeFormat;
181 if (decodeFormat == null) {
182 decodeFormat = DecodeFormat.DEFAULT;
185 return new Glide(engine, memoryCache, bitmapPool, context, decodeFormat);
H A DBitmapRequestBuilder.java51 private DecodeFormat decodeFormat; field in class:BitmapRequestBuilder
59 this.decodeFormat = other.glide.getDecodeFormat();
61 imageDecoder = new StreamBitmapDecoder(bitmapPool, decodeFormat);
62 videoDecoder = new FileDescriptorBitmapDecoder(bitmapPool, decodeFormat);
112 imageDecoder = new StreamBitmapDecoder(downsampler, bitmapPool, decodeFormat);
239 this.decodeFormat = format;
H A DGlide.java90 private final DecodeFormat decodeFormat; field in class:Glide
187 Glide(Engine engine, MemoryCache memoryCache, BitmapPool bitmapPool, Context context, DecodeFormat decodeFormat) { argument
191 this.decodeFormat = decodeFormat;
194 bitmapPreFiller = new BitmapPreFiller(memoryCache, bitmapPool, decodeFormat);
199 new StreamBitmapDataLoadProvider(bitmapPool, decodeFormat);
203 new FileDescriptorBitmapDataLoadProvider(bitmapPool, decodeFormat);
309 return decodeFormat;

Completed in 179 milliseconds