Searched refs:isPremultiplied (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 664 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()
|
D | ProgramCache.h | 127 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied() function
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.h | 57 bool isPremultiplied);
|
D | Bitmap.cpp | 173 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()
|
D | BitmapFactory.cpp | 492 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/ |
D | Bitmap_Delegate.java | 301 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/ |
D | BitmapTest.java | 250 assertTrue(hardwareBitmap.isPremultiplied()); in testWrapHardwareBufferWithSrgbColorSpace() 265 assertTrue(hardwareBitmap.isPremultiplied()); in testWrapHardwareBufferWithDisplayP3ColorSpace()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 1462 public final boolean isPremultiplied() { in isPremultiplied() method in Bitmap 2227 int config, boolean isPremultiplied); in nativeReconfigure() argument
|
D | BaseCanvas.java | 68 if (!bitmap.isPremultiplied() && bitmap.getConfig() == Bitmap.Config.ARGB_8888 && in throwIfCannotDraw()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 10462 method public final boolean isPremultiplied();
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 13633 method public boolean isPremultiplied();
|
/frameworks/base/api/ |
D | current.txt | 13633 method public boolean isPremultiplied();
|