Searched defs:isPremultiplied (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h88 inline bool isPremultiplied() const { function in class:android::ProgramCache::Key
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java113 * @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/core/jni/android/graphics/
H A DBitmapFactory.cpp430 bool isPremultiplied = !requireUnpremultiplied; local
431 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied);
H A DGraphics.cpp397 // 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...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java60 * 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

Completed in 1068 milliseconds