Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp211 Bitmap::JavaCompressFormat format; in ABitmap_compress()
214 format = Bitmap::JavaCompressFormat::Jpeg; in ABitmap_compress()
217 format = Bitmap::JavaCompressFormat::Png; in ABitmap_compress()
220 format = Bitmap::JavaCompressFormat::WebpLossy; in ABitmap_compress()
223 format = Bitmap::JavaCompressFormat::WebpLossless; in ABitmap_compress()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp475 bool Bitmap::compress(JavaCompressFormat format, int32_t quality, SkWStream* stream) { in compress()
481 bool Bitmap::compress(const SkBitmap& bitmap, JavaCompressFormat format, in compress()
493 case JavaCompressFormat::Jpeg: in compress()
496 case JavaCompressFormat::Png: in compress()
499 case JavaCompressFormat::Webp: in compress()
502 case JavaCompressFormat::WebpLossy: in compress()
503 case JavaCompressFormat::WebpLossless: { in compress()
506 options.fCompression = format == JavaCompressFormat::WebpLossy ? in compress()
DBitmap.h149 enum class JavaCompressFormat { enum
157 bool compress(JavaCompressFormat format, int32_t quality, SkWStream* stream);
159 static bool compress(const SkBitmap& bitmap, JavaCompressFormat format,
/frameworks/base/libs/hwui/jni/
DBitmap.cpp472 auto fm = static_cast<Bitmap::JavaCompressFormat>(format); in Bitmap_compress()