Searched refs:isPremultiplied (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.h | 56 sync with isPremultiplied 59 bool isPremultiplied);
|
H A D | Bitmap.cpp | 171 // Assert that bitmap's SkAlphaType is consistent with isPremultiplied. 172 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) { argument 173 // kOpaque_SkAlphaType and kIgnore_SkAlphaType mean that isPremultiplied is 175 // opposite of isPremultiplied. 176 if (isPremultiplied) { 184 bool isPremultiplied) 188 assert_premultiplied(info, isPremultiplied); 191 info.width(), info.height(), isPremultiplied); 203 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; local 206 assert_premultiplied(bitmap->info(), isPremultiplied); 183 reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, bool isPremultiplied) argument [all...] |
H A D | BitmapFactory.cpp | 573 bool isPremultiplied = !requireUnpremultiplied; local 575 bitmap::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied); 583 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied;
|
/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/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 119 * @see Bitmap#isPremultiplied() 167 * @see Bitmap#isPremultiplied() 199 * @see Bitmap#isPremultiplied() 329 int config, boolean isPremultiplied) { 682 boolean isPremultiplied = createFlags.contains(BitmapCreateFlags.PREMULTIPLIED); 686 isPremultiplied, null /*ninePatchChunk*/, null /* layoutBounds */); 328 nativeReconfigure(long nativeBitmap, int width, int height, int config, boolean isPremultiplied) argument
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | BitmapTest.java | 244 assertTrue(hardwareBitmap.isPremultiplied());
|
/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 524 * (see {@link #isPremultiplied()}, the values in the buffer will also be 1275 public final boolean isPremultiplied() { method in class:Bitmap 1277 Log.w(TAG, "Called isPremultiplied() on a recycle()'d bitmap! This is undefined behavior!"); 1299 * @see Bitmap#isPremultiplied() 1929 int config, boolean isPremultiplied); 1928 nativeReconfigure(long nativeBitmap, int width, int height, int config, boolean isPremultiplied) argument
|
H A D | BaseCanvas.java | 57 if (!bitmap.isPremultiplied() && bitmap.getConfig() == Bitmap.Config.ARGB_8888 &&
|
Completed in 809 milliseconds