Home
last modified time | relevance | path

Searched refs:isMutable (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DAbstractProtobufList.java54 private boolean isMutable; field in AbstractProtobufList
60 isMutable = true; in AbstractProtobufList()
133 return isMutable; in isModifiable()
138 isMutable = false; in makeImmutable()
176 if (!isMutable) { in ensureIsMutable()
DMapFieldLite.java49 private boolean isMutable; field in MapFieldLite
52 this.isMutable = true; in MapFieldLite()
57 this.isMutable = true; in MapFieldLite()
209 isMutable = false; in makeImmutable()
215 public boolean isMutable() { in isMutable() method in MapFieldLite
216 return isMutable; in isMutable()
220 if (!isMutable()) { in ensureMutable()
DUnknownFieldSetLite.java108 private boolean isMutable; field in UnknownFieldSetLite
120 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
124 this.isMutable = isMutable; in UnknownFieldSetLite()
133 this.isMutable = false; in makeImmutable()
140 if (!isMutable) { in checkMutable()
DMapField.java78 private volatile boolean isMutable; field in MapField
122 this.isMutable = true; in MapField()
271 isMutable = false; in makeImmutable()
277 public boolean isMutable() { in isMutable() method in MapField
278 return isMutable; in isMutable()
286 if (!isMutable()) { in ensureMutable()
DGeneratedMessageLite.java2272 if (!mine.isMutable()) { in visitMap()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java106 public static Bitmap createBitmap(@Nullable InputStream input, boolean isMutable, in createBitmap() argument
108 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap()
159 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() argument
160 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap()
222 int height, int nativeConfig, boolean isMutable, long nativeColorSpace) { in nativeCreate() argument
234 delegate.mIsMutable = isMutable; in nativeCreate()
236 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCreate()
241 /*package*/ static Bitmap nativeCopy(long srcBitmap, int nativeConfig, boolean isMutable) { in nativeCopy() argument
264 delegate.mIsMutable = isMutable; in nativeCopy()
266 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCopy()
[all …]
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp198 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() local
205 if (!isMutable) { in createBitmap()
328 static int getPremulBitmapCreateFlags(bool isMutable) { in getPremulBitmapCreateFlags() argument
330 if (isMutable) flags |= android::bitmap::kBitmapCreateFlag_Mutable; in getPremulBitmapCreateFlags()
336 jint configHandle, jboolean isMutable, in Bitmap_creator() argument
374 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_creator()
416 jint dstConfigHandle, jboolean isMutable) { in Bitmap_copy() argument
424 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy()
435 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy()
677 const bool isMutable = p->readInt32() != 0; in Bitmap_createFromParcel() local
[all …]
DBitmapFactory.cpp190 bool isMutable = false; in doDecode() local
219 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID); in doDecode()
233 if (isMutable && isHardware) { in doDecode()
485 if (!isMutable && javaBitmap == NULL) { in doDecode()
499 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsActivity.java66 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/graphics/java/android/graphics/
DBitmap.java294 if (!isMutable()) { in reconfigure()
683 public Bitmap copy(Config config, boolean isMutable) { in copy() argument
685 if (config == Config.HARDWARE && isMutable) { in copy()
689 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy()
886 if (!source.isMutable() && x == 0 && y == 0 && width == source.getWidth() && in createBitmap()
1416 public final boolean isMutable() { in isMutable() method in Bitmap
1430 if (isMutable()) { in setImmutable()
1821 if (!isMutable()) { in eraseColor()
1838 if (!isMutable()) { in eraseColor()
2019 if (!isMutable()) { in setPixel()
[all …]
DCanvas.java116 if (!bitmap.isMutable()) { in Canvas()
191 if (!bitmap.isMutable()) { in setBitmap()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java37 assertTrue("mutability", bm1.isMutable()); in testBasic()
38 assertTrue("mutability", bm2.isMutable()); in testBasic()
39 assertTrue("mutability", bm3.isMutable()); in testBasic()
72 assertTrue("mutability", bm1.isMutable()); in testMutability()
73 assertFalse("mutability", bm2.isMutable()); in testMutability()
251 assertFalse(hardwareBitmap.isMutable()); in testWrapHardwareBufferWithSrgbColorSpace()
266 assertFalse(hardwareBitmap.isMutable()); in testWrapHardwareBufferWithDisplayP3ColorSpace()
/frameworks/base/graphics/java/android/view/
DPixelCopy.java292 if (!bitmap.isMutable()) { in validateBitmapDest()
/frameworks/native/libs/binder/include/binder/
DParcel.h507 inline bool isMutable() const { return mMutable; } in isMutable() function
510 void init(int fd, void* data, size_t size, bool isMutable);
572 inline void* mutableData() { return isMutable() ? mData : nullptr; } in mutableData()
/frameworks/native/libs/binder/
DParcel.cpp2388 bool isMutable = (blobType == BLOB_ASHMEM_MUTABLE); in readBlob() local
2401 void* ptr = ::mmap(nullptr, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, in readBlob()
2405 outBlob->init(fd, ptr, len, isMutable); in readBlob()
2991 void Parcel::Blob::init(int fd, void* data, size_t size, bool isMutable) { in init() argument
2995 mMutable = isMutable; in init()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java446 getBitmap().isMutable() && in convertToAshmem()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2783 && ((BitmapDrawable) drawable).getBitmap().isMutable(); in getBadgedDrawable()
DNotification.java6624 mPicture.isMutable() &&
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...