Searched defs:isMutable (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/include/binder/
H A DParcel.h441 inline bool isMutable() const { return mMutable; } function in class:android::Parcel::Blob
444 void init(int fd, void* data, size_t size, bool isMutable);
490 inline void* mutableData() { return isMutable() ? mData : NULL; }
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java103 * @param isMutable whether the bitmap is mutable
106 * @see Bitmap#isMutable()
109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument
111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
121 * @see Bitmap#isMutable()
151 * @param isMutable whether the bitmap is mutable
154 * @see Bitmap#isMutable()
157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument
159 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
169 * @see Bitmap#isMutable()
190 createBitmap(BufferedImage image, boolean isMutable, Density density) argument
251 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean isMutable) argument
270 nativeCopy(long srcBitmap, int nativeConfig, boolean isMutable) argument
480 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument
634 getPremultipliedBitmapCreateFlags(boolean isMutable) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp238 bool isMutable = false; local
263 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID);
521 if (!isMutable && javaBitmap == NULL) {
535 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
H A DBitmap.cpp699 static int getPremulBitmapCreateFlags(bool isMutable) { argument
701 if (isMutable) flags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
707 jint configHandle, jboolean isMutable) {
736 getPremulBitmapCreateFlags(isMutable));
740 jint dstConfigHandle, jboolean isMutable) {
752 getPremulBitmapCreateFlags(isMutable));
955 const bool isMutable = p->readInt32() != 0; local
1008 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable) && (size >= ASHMEM_BITMAP_MIN_SIZE)) {
1012 isMutable
705 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable) argument
739 Bitmap_copy(JNIEnv* env, jobject, jlong srcHandle, jint dstConfigHandle, jboolean isMutable) argument
1074 Bitmap_writeToParcel(JNIEnv* env, jobject, jlong bitmapHandle, jboolean isMutable, jint density, jobject parcel) argument
[all...]
H A DGraphics.cpp412 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; local
420 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied,
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java112 boolean isMutable, boolean requestPremultiplied,
120 mIsMutable = isMutable;
256 if (!isMutable()) {
586 * @param isMutable True if the resulting bitmap should be mutable (i.e.
590 public Bitmap copy(Config config, boolean isMutable) { argument
592 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable);
741 if (!source.isMutable() && x == 0 && y == 0 && width == source.getWidth() &&
1084 public final boolean isMutable() { method in class:Bitmap
1381 if (!isMutable()) {
1511 if (!isMutable()) {
111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, boolean isMutable, boolean requestPremultiplied, byte[] ninePatchChunk, NinePatch.InsetStruct ninePatchInsets) argument
1691 nativeCopy(long nativeSrcBitmap, int nativeConfig, boolean isMutable) argument
1724 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp2038 bool isMutable = (blobType == BLOB_ASHMEM_MUTABLE); local
2042 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ,
2046 outBlob->init(fd, ptr, len, isMutable);
2609 void Parcel::Blob::init(int fd, void* data, size_t size, bool isMutable) { argument
2613 mMutable = isMutable;

Completed in 135 milliseconds