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.cpp448 bool Bitmap::compress(JavaCompressFormat format, int32_t quality, SkWStream* stream) { in compress()
454 bool Bitmap::compress(const SkBitmap& bitmap, JavaCompressFormat format, in compress()
466 case JavaCompressFormat::Jpeg: in compress()
469 case JavaCompressFormat::Png: in compress()
472 case JavaCompressFormat::Webp: in compress()
475 case JavaCompressFormat::WebpLossy: in compress()
476 case JavaCompressFormat::WebpLossless: { in compress()
479 options.fCompression = format == JavaCompressFormat::WebpLossy ? in compress()
DBitmap.h156 enum class JavaCompressFormat { enum
164 bool compress(JavaCompressFormat format, int32_t quality, SkWStream* stream);
166 static bool compress(const SkBitmap& bitmap, JavaCompressFormat format,
/frameworks/base/libs/hwui/jni/
DBitmap.cpp480 auto fm = static_cast<Bitmap::JavaCompressFormat>(format); in Bitmap_compress()