/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() argument 111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() argument 159 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 190 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() argument 191 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 252 int height, int nativeConfig, boolean isMutable) { 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/graphics/java/android/graphics/ |
D | Bitmap.java | 112 boolean isMutable, boolean requestPremultiplied, in Bitmap() argument 120 mIsMutable = isMutable; in Bitmap() 256 if (!isMutable()) { in reconfigure() 590 public Bitmap copy(Config config, boolean isMutable) { in copy() argument 592 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy() 741 if (!source.isMutable() && x == 0 && y == 0 && width == source.getWidth() && in createBitmap() 1084 public final boolean isMutable() { in isMutable() method in Bitmap 1381 if (!isMutable()) { in eraseColor() 1511 if (!isMutable()) { in setPixel() 1544 if (!isMutable()) { in setPixels() [all …]
|
D | Canvas.java | 130 if (!bitmap.isMutable()) { in Canvas() 196 if (!bitmap.isMutable()) { in setBitmap()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 31 assertTrue("mutability", bm1.isMutable()); in testBasic() 32 assertTrue("mutability", bm2.isMutable()); in testBasic() 33 assertTrue("mutability", bm3.isMutable()); in testBasic() 66 assertTrue("mutability", bm1.isMutable()); in testMutability() 67 assertFalse("mutability", bm2.isMutable()); in testMutability()
|
/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 | 700 static int getPremulBitmapCreateFlags(bool isMutable) { in getPremulBitmapCreateFlags() argument 702 if (isMutable) flags |= GraphicsJNI::kBitmapCreateFlag_Mutable; in getPremulBitmapCreateFlags() 708 jint configHandle, jboolean isMutable) { in Bitmap_creator() argument 737 getPremulBitmapCreateFlags(isMutable)); in Bitmap_creator() 741 jint dstConfigHandle, jboolean isMutable) { in Bitmap_copy() argument 753 getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy() 956 const bool isMutable = p->readInt32() != 0; in Bitmap_createFromParcel() local 1009 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable) && (size >= ASHMEM_BITMAP_MIN_SIZE)) { in Bitmap_createFromParcel() 1013 isMutable ? "mutable" : "immutable", in Bitmap_createFromParcel() 1014 blob.isMutable() ? "mutable" : "immutable", in Bitmap_createFromParcel() [all …]
|
D | BitmapFactory.cpp | 238 bool isMutable = false; in doDecode() local 263 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID); in doDecode() 521 if (!isMutable && javaBitmap == NULL) { in doDecode() 535 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; in doDecode()
|
D | Graphics.cpp | 412 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() local 420 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied, in createBitmap()
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 147 if (!bitmap.isMutable()) { in validateBitmapDest()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 441 inline bool isMutable() const { return mMutable; } in isMutable() function 444 void init(int fd, void* data, size_t size, bool isMutable); 490 inline void* mutableData() { return isMutable() ? mData : NULL; } in mutableData()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 2039 bool isMutable = (blobType == BLOB_ASHMEM_MUTABLE); in readBlob() local 2043 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, in readBlob() 2047 outBlob->init(fd, ptr, len, isMutable); in readBlob() 2610 void Parcel::Blob::init(int fd, void* data, size_t size, bool isMutable) { in init() argument 2614 mMutable = isMutable; in init()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 392 getBitmap().isMutable() && in convertToAshmem()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | manage-memory.jd | 255 if (null != item && item.isMutable()) {
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2311 && ((BitmapDrawable) drawable).getBitmap().isMutable(); in getBadgedDrawable()
|
D | Notification.java | 4413 mPicture.isMutable() && in purgeResources()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 10461 method public final boolean isMutable();
|
/frameworks/base/api/ |
D | current.txt | 11582 method public final boolean isMutable();
|
D | system-current.txt | 12030 method public final boolean isMutable();
|
D | test-current.txt | 11600 method public final boolean isMutable();
|