Home
last modified time | relevance | path

Searched refs:compressFormat (Results 1 – 4 of 4) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapEncoder.java28 private Bitmap.CompressFormat compressFormat; field in BitmapEncoder
35 public BitmapEncoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapEncoder() argument
36 this.compressFormat = compressFormat; in BitmapEncoder()
60 if (compressFormat != null) { in getFormat()
61 return compressFormat; in getFormat()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DBitmapBytesTranscoder.java16 private final Bitmap.CompressFormat compressFormat; field in BitmapBytesTranscoder
23 public BitmapBytesTranscoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapBytesTranscoder() argument
24 this.compressFormat = compressFormat; in BitmapBytesTranscoder()
31 toTranscode.get().compress(compressFormat, quality, os); in transcode()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DImageUtil.java85 private static String getFormatName(CompressFormat compressFormat) { in getFormatName() argument
86 switch (compressFormat) { in getFormatName()
93 throw new UnsupportedOperationException("Cannot convert format: " + compressFormat); in getFormatName()
/external/glide/library/src/main/java/com/bumptech/glide/
DBitmapTypeRequest.java98 …public BitmapRequestBuilder<ModelType, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int q… in toBytes() argument
99 return transcode(new BitmapBytesTranscoder(compressFormat, quality), byte[].class); in toBytes()