Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp664 if (needs.isPremultiplied()) { in generateFragmentShader()
673 if (!needs.isOpaque() && needs.isPremultiplied()) { in generateFragmentShader()
680 if (!needs.isOpaque() && needs.isPremultiplied()) { in generateFragmentShader()
687 if (needs.isPremultiplied()) { in generateFragmentShader()
DProgramCache.h127 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied() function
/frameworks/base/core/jni/android/graphics/
DBitmap.h57 bool isPremultiplied);
DBitmap.cpp173 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) { in assert_premultiplied() argument
177 if (isPremultiplied) { in assert_premultiplied()
185 bool isPremultiplied) in reinitBitmap() argument
189 assert_premultiplied(info, isPremultiplied); in reinitBitmap()
192 info.width(), info.height(), isPremultiplied); in reinitBitmap()
199 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap() local
202 assert_premultiplied(bitmap->info(), isPremultiplied); in createBitmap()
210 isPremultiplied, ninePatchChunk, ninePatchInsets, fromMalloc); in createBitmap()
DBitmapFactory.cpp492 bool isPremultiplied = !requireUnpremultiplied; in doDecode() local
494 bitmap::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied); in doDecode()
502 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java301 int config, boolean isPremultiplied) { in nativeReconfigure() argument
698 boolean isPremultiplied = createFlags.contains(BitmapCreateFlags.PREMULTIPLIED); in createBitmap()
701 return new Bitmap(nativeInt, width, height, density, isPremultiplied, in createBitmap()
/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.java1462 public final boolean isPremultiplied() { in isPremultiplied() method in Bitmap
2227 int config, boolean isPremultiplied); in nativeReconfigure() argument
DBaseCanvas.java68 if (!bitmap.isPremultiplied() && bitmap.getConfig() == Bitmap.Config.ARGB_8888 && in throwIfCannotDraw()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10462 method public final boolean isPremultiplied();
/frameworks/base/non-updatable-api/
Dcurrent.txt13633 method public boolean isPremultiplied();
/frameworks/base/api/
Dcurrent.txt13633 method public boolean isPremultiplied();