Searched refs:isPremultiplied (Results 1 - 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.h | 88 inline bool isPremultiplied() const { function in class:android::ProgramCache::Key
|
H A D | ProgramCache.cpp | 189 if (needs.isPremultiplied()) { 198 if (!needs.isOpaque() && needs.isPremultiplied()) { 204 if (!needs.isOpaque() && needs.isPremultiplied()) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Graphics.cpp | 397 // Assert that bitmap's SkAlphaType is consistent with isPremultiplied. 398 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) { argument 399 // kOpaque_SkAlphaType and kIgnore_SkAlphaType mean that isPremultiplied is 401 // opposite of isPremultiplied. 402 if (isPremultiplied) { 413 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; local 416 assert_premultiplied(bitmap->info(), isPremultiplied); 420 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied, 427 bool isPremultiplied) 431 assert_premultiplied(info, isPremultiplied); 426 reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, bool isPremultiplied) argument [all...] |
H A D | GraphicsJNI.h | 84 sync with isPremultiplied 87 bool isPremultiplied);
|
H A D | BitmapFactory.cpp | 430 bool isPremultiplied = !requireUnpremultiplied; local 431 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 113 * @see Bitmap#isPremultiplied() 146 * @see Bitmap#isPremultiplied() 178 * @see Bitmap#isPremultiplied() 296 int config, int allocSize, boolean isPremultiplied) { 593 boolean isPremultiplied = createFlags.contains(BitmapCreateFlags.PREMULTIPLIED); 597 isPremultiplied, null /*ninePatchChunk*/, null /* layoutBounds */); 295 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 60 * Note that isPremultiplied() does not directly return this value, because 61 * isPremultiplied() may never return true for a 565 Bitmap or a bitmap 472 * (see {@link #isPremultiplied()}, the values in the buffer will also be 1067 public final boolean isPremultiplied() { method in class:Bitmap 1069 Log.w(TAG, "Called isPremultiplied() on a recycle()'d bitmap! This is undefined behavior!"); 1091 * @see Bitmap#isPremultiplied() 1685 boolean isPremultiplied); 1683 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
|
H A D | Canvas.java | 1272 if (!bitmap.isPremultiplied() && bitmap.getConfig() == Bitmap.Config.ARGB_8888 &&
|
Completed in 286 milliseconds