/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 108 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() argument 110 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 156 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() argument 158 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 189 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() argument 190 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 251 int height, int nativeConfig, boolean isMutable, @Nullable float[] xyzD50, in nativeCreate() argument 265 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCreate() 270 /*package*/ static Bitmap nativeCopy(long srcBitmap, int nativeConfig, boolean isMutable) { in nativeCopy() argument 294 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCopy() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 32 assertTrue("mutability", bm1.isMutable()); in testBasic() 33 assertTrue("mutability", bm2.isMutable()); in testBasic() 34 assertTrue("mutability", bm3.isMutable()); in testBasic() 67 assertTrue("mutability", bm1.isMutable()); in testMutability() 68 assertFalse("mutability", bm2.isMutable()); in testMutability() 245 assertFalse(hardwareBitmap.isMutable()); in testCreateHardwareBitmapFromGraphicBuffer()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 116 boolean isMutable, boolean requestPremultiplied, in Bitmap() argument 124 mIsMutable = isMutable; in Bitmap() 263 if (!isMutable()) { in reconfigure() 636 public Bitmap copy(Config config, boolean isMutable) { in copy() argument 638 if (config == Config.HARDWARE && isMutable) { in copy() 642 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy() 791 if (!source.isMutable() && x == 0 && y == 0 && width == source.getWidth() && in createBitmap() 1256 public final boolean isMutable() { in isMutable() method in Bitmap 1599 if (!isMutable()) { in eraseColor() 1738 if (!isMutable()) { in setPixel() [all …]
|
D | Canvas.java | 113 if (!bitmap.isMutable()) { in Canvas() 186 if (!bitmap.isMutable()) { in setBitmap()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapsActivity.java | 66 Log.d("Bitmap", "mBitmap1.isMutable() = " + mBitmap1.isMutable()); in BitmapsView() 67 Log.d("Bitmap", "mBitmap2.isMutable() = " + mBitmap2.isMutable()); in BitmapsView() 72 Log.d("Bitmap", "bitmap.isMutable() = " + bitmap.isMutable()); in BitmapsView()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 202 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() local 210 isMutable, isPremultiplied, ninePatchChunk, ninePatchInsets); in createBitmap() 646 static int getPremulBitmapCreateFlags(bool isMutable) { in getPremulBitmapCreateFlags() argument 648 if (isMutable) flags |= android::bitmap::kBitmapCreateFlag_Mutable; in getPremulBitmapCreateFlags() 654 jint configHandle, jboolean isMutable, in Bitmap_creator() argument 694 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_creator() 791 jint dstConfigHandle, jboolean isMutable) { in Bitmap_copy() argument 799 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy() 810 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy() 1015 const bool isMutable = p->readInt32() != 0; in Bitmap_createFromParcel() local [all …]
|
D | BitmapFactory.cpp | 231 bool isMutable = false; in doDecode() local 262 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID); in doDecode() 276 if (isMutable && isHardware) { in doDecode() 528 if (!isMutable && javaBitmap == NULL) { in doDecode() 542 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode()
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 284 if (!bitmap.isMutable()) { in validateBitmapDest()
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 485 inline bool isMutable() const { return mMutable; } in isMutable() function 488 void init(int fd, void* data, size_t size, bool isMutable); 550 inline void* mutableData() { return isMutable() ? mData : NULL; } in mutableData()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 2277 bool isMutable = (blobType == BLOB_ASHMEM_MUTABLE); in readBlob() local 2281 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, in readBlob() 2285 outBlob->init(fd, ptr, len, isMutable); in readBlob() 2865 void Parcel::Blob::init(int fd, void* data, size_t size, bool isMutable) { in init() argument 2869 mMutable = isMutable; in init()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 400 getBitmap().isMutable() && in convertToAshmem()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2499 && ((BitmapDrawable) drawable).getBitmap().isMutable(); in getBadgedDrawable()
|
D | Notification.java | 5604 mPicture.isMutable() &&
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 10461 method public final boolean isMutable();
|
/frameworks/base/api/ |
D | current.txt | 12566 method public final boolean isMutable();
|
D | test-current.txt | 12655 method public final boolean isMutable();
|
D | system-current.txt | 13298 method public final boolean isMutable();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 21327 HSPLandroid/graphics/Bitmap;->isMutable()Z
|