Searched defs:isMutable (Results 1 - 5 of 5) sorted by last modified time

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java87 * @param isMutable whether the bitmap is mutable
90 * @see Bitmap#isMutable()
93 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument
98 return createBitmap(delegate, isMutable, density.getDpiValue());
105 * @param isMutable whether the bitmap is mutable
108 * @see Bitmap#isMutable()
111 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument
116 return createBitmap(delegate, isMutable, density.getDpiValue());
123 * @param isMutable whether the bitmap is mutable
126 * @see Bitmap#isMutable()
129 createBitmap(BufferedImage image, boolean isMutable, Density density) argument
218 nativeCopy(int srcBitmap, int nativeConfig, boolean isMutable) argument
417 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
522 createBitmap(Bitmap_Delegate delegate, boolean isMutable, int density) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java97 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, argument
99 this(nativeBitmap, buffer, isMutable, ninePatchChunk, null, density);
110 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, argument
121 mIsMutable = isMutable;
436 * @param isMutable True if the resulting bitmap should be mutable (i.e.
440 public Bitmap copy(Config config, boolean isMutable) { argument
442 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable);
553 if (!source.isMutable() && x == 0 && y == 0 && width == source.getWidth() &&
882 public final boolean isMutable() { method in class:Bitmap
1089 if (!isMutable()) {
1396 nativeCopy(int srcBitmap, int nativeConfig, boolean isMutable) argument
1427 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp216 SkBitmap::Config config, jboolean isMutable) {
239 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff, isMutable, NULL, NULL);
243 SkBitmap::Config dstConfig, jboolean isMutable) {
251 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), isMutable, NULL, NULL);
375 const bool isMutable = p->readInt32() != 0; local
429 return GraphicsJNI::createBitmap(env, bitmap, buffer, isMutable, NULL, NULL, density);
434 jboolean isMutable, jint density,
443 p->writeInt32(isMutable);
214 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
242 Bitmap_copy(JNIEnv* env, jobject, const SkBitmap* src, SkBitmap::Config dstConfig, jboolean isMutable) argument
432 Bitmap_writeToParcel(JNIEnv* env, jobject, const SkBitmap* bitmap, jboolean isMutable, jint density, jobject parcel) argument
H A DBitmapFactory.cpp168 bool isMutable = false; local
189 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID);
378 if (!isMutable) {
392 isMutable, ninePatchChunk, layoutBounds, -1);
H A DGraphics.cpp348 bool isMutable, jbyteArray ninepatch, jintArray layoutbounds,
355 buffer, isMutable, ninepatch, layoutbounds, density);
360 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, argument
363 return createBitmap(env, bitmap, NULL, isMutable, ninepatch, NULL, density);
347 createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, bool isMutable, jbyteArray ninepatch, jintArray layoutbounds, int density) argument

Completed in 451 milliseconds