Searched refs:compressFormat (Results 1 – 4 of 4) sorted by relevance
28 private Bitmap.CompressFormat compressFormat; field in BitmapEncoder35 public BitmapEncoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapEncoder() argument36 this.compressFormat = compressFormat; in BitmapEncoder()60 if (compressFormat != null) { in getFormat()61 return compressFormat; in getFormat()
16 private final Bitmap.CompressFormat compressFormat; field in BitmapBytesTranscoder23 public BitmapBytesTranscoder(Bitmap.CompressFormat compressFormat, int quality) { in BitmapBytesTranscoder() argument24 this.compressFormat = compressFormat; in BitmapBytesTranscoder()31 toTranscode.get().compress(compressFormat, quality, os); in transcode()
85 private static String getFormatName(CompressFormat compressFormat) { in getFormatName() argument86 switch (compressFormat) { in getFormatName()93 throw new UnsupportedOperationException("Cannot convert format: " + compressFormat); in getFormatName()
98 …public BitmapRequestBuilder<ModelType, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int q… in toBytes() argument99 return transcode(new BitmapBytesTranscoder(compressFormat, quality), byte[].class); in toBytes()