HomeSort by relevance Sort by last modified time
    Searched refs:bitmapCreateFlags (Results 1 - 5 of 5) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 27 import android.graphics.Bitmap_Delegate.BitmapCreateFlags;
55 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE);
59 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED);
73 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags,
88 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
  /frameworks/base/core/jni/android/graphics/
BitmapRegionDecoder.cpp 253 int bitmapCreateFlags = 0;
254 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
255 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
GraphicsJNI.h 20 enum BitmapCreateFlags {
60 bitmap's SkAlphaType must already be in sync with bitmapCreateFlags.
63 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density = -1);
65 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags,
BitmapFactory.cpp 481 int bitmapCreateFlags = 0x0;
482 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
483 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
487 bitmapCreateFlags, ninePatchChunk, layoutBounds, -1);
Graphics.cpp 362 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density)
366 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable;
367 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied;
381 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags,
384 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninepatch, NULL, density);

Completed in 2129 milliseconds