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/core/jni/android/graphics/
H A DBitmap.cpp100 static FromColorProc ChooseFromColorProc(SkBitmap::Config config, bool isPremultiplied) { argument
103 return isPremultiplied ? FromColor_D32 : FromColor_D32_Raw;
105 return isPremultiplied ? FromColor_D4444 : FromColor_D4444_Raw;
116 const SkBitmap& dstBitmap, bool isPremultiplied) {
119 FromColorProc proc = ChooseFromColorProc(dstBitmap.config(), isPremultiplied);
260 static ToColorProc ChooseToColorProc(const SkBitmap& src, bool isPremultiplied) { argument
264 return isPremultiplied ? ToColor_S32_Alpha : ToColor_S32_Raw;
267 return isPremultiplied ? ToColor_S4444_Alpha : ToColor_S4444_Raw;
275 return isPremultiplied ? ToColor_SI8_Raw : ToColor_SI8_Alpha;
610 int x, int y, bool isPremultiplied) {
114 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap, bool isPremultiplied) argument
609 Bitmap_getPixel(JNIEnv* env, jobject, const SkBitmap* bitmap, int x, int y, bool isPremultiplied) argument
627 Bitmap_getPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height, bool isPremultiplied) argument
654 Bitmap_setPixel(JNIEnv* env, jobject, const SkBitmap* bitmap, int x, int y, SkColor color, bool isPremultiplied) argument
670 Bitmap_setPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height, bool isPremultiplied) argument
[all...]
H A DBitmapFactory.cpp457 bool isPremultiplied = !requireUnpremultiplied; local
458 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap, isPremultiplied);
H A DGraphics.cpp355 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; local
359 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied,
372 bool isPremultiplied)
375 bitmap->width(), bitmap->height(), isPremultiplied);
371 reinitBitmap(JNIEnv* env, jobject javaBitmap, SkBitmap* bitmap, bool isPremultiplied) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java63 * Note that isPremultiplied() does not directly return this value, because
64 * isPremultiplied() may never return true for a 565 Bitmap.
107 boolean isMutable, boolean isPremultiplied,
116 mIsPremultiplied = isPremultiplied;
134 void reinit(int width, int height, boolean isPremultiplied) { argument
137 mIsPremultiplied = isPremultiplied;
467 * (see {@link #isPremultiplied()}, the values in the buffer will also be
1028 public final boolean isPremultiplied() { method in class:Bitmap
1044 * @see Bitmap#isPremultiplied()
1586 boolean isPremultiplied);
106 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, boolean isMutable, boolean isPremultiplied, byte[] ninePatchChunk, int[] layoutBounds) argument
1585 nativeGetPixel(int nativeBitmap, int x, int y, boolean isPremultiplied) argument
1587 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1591 nativeSetPixel(int nativeBitmap, int x, int y, int color, boolean isPremultiplied) argument
1593 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
[all...]

Completed in 387 milliseconds