Home
last modified time | relevance | path

Searched refs:isPremultiplied (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/jni/
DBitmap.h46 bool isPremultiplied);
DBitmap.cpp172 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) { in assert_premultiplied() argument
176 if (isPremultiplied) { in assert_premultiplied()
184 bool isPremultiplied) in reinitBitmap() argument
188 assert_premultiplied(info, isPremultiplied); in reinitBitmap()
191 info.width(), info.height(), isPremultiplied); in reinitBitmap()
198 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap() local
201 assert_premultiplied(bitmap->info(), isPremultiplied); in createBitmap()
209 isPremultiplied, ninePatchChunk, ninePatchInsets, fromMalloc); in createBitmap()
DBitmapFactory.cpp632 bool isPremultiplied = !requireUnpremultiplied; in doDecode() local
637 bitmap::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied); in doDecode()
645 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode()
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp737 if (needs.isPremultiplied()) { in generateFragmentShader()
747 if (!needs.isOpaque() && needs.isPremultiplied()) { in generateFragmentShader()
754 if (!needs.isOpaque() && needs.isPremultiplied()) { in generateFragmentShader()
761 if (needs.isPremultiplied()) { in generateFragmentShader()
DProgramCache.h133 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied() function
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java250 assertTrue(hardwareBitmap.isPremultiplied()); in testWrapHardwareBufferWithSrgbColorSpace()
265 assertTrue(hardwareBitmap.isPremultiplied()); in testWrapHardwareBufferWithDisplayP3ColorSpace()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1695 public final boolean isPremultiplied() { in isPremultiplied() method in Bitmap
2518 int config, boolean isPremultiplied); in nativeReconfigure() argument
DBaseCanvas.java76 if (!bitmap.isPremultiplied() && bitmap.getConfig() == Bitmap.Config.ARGB_8888 && in throwIfCannotDraw()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt6040 HSPLandroid/graphics/Bitmap;->isPremultiplied()Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10462 method public final boolean isPremultiplied();
/frameworks/base/config/
Dboot-image-profile.txt6043 HSPLandroid/graphics/Bitmap;->isPremultiplied()Z
/frameworks/base/core/api/
Dcurrent.txt15510 method public boolean isPremultiplied();