/frameworks/base/core/java/android/content/om/ |
D | OverlayInfo.java | 201 public final boolean isMutable; field in OverlayInfo 214 source.isMutable); in OverlayInfo() 221 int priority, boolean isMutable) { in OverlayInfo() argument 230 this.isMutable = isMutable; in OverlayInfo() 244 isMutable = source.readBoolean(); in OverlayInfo() 339 dest.writeBoolean(isMutable); in writeToParcel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplRebootTests.java | 91 assertFalse(o1.isMutable); in testImmutableEnabledChange() 98 assertFalse(o2.isMutable); in testImmutableEnabledChange() 105 assertFalse(o3.isMutable); in testImmutableEnabledChange() 119 assertTrue(o1.isMutable); in testMutableEnabledChangeHasNoEffect() 126 assertTrue(o2.isMutable); in testMutableEnabledChangeHasNoEffect() 133 assertTrue(o3.isMutable); in testMutableEnabledChangeHasNoEffect() 148 assertEquals(mutable, o.isMutable); in testMutableEnabledToImmutableEnabled()
|
D | OverlayManagerServiceImplTestsBase.java | 65 when(mOverlayConfig.isMutable(any())).thenReturn(true); in setUp() 128 when(mOverlayConfig.isMutable(packageName)).thenReturn(mutable); in configureSystemOverlay()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 106 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/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/libs/hwui/jni/ |
D | Bitmap.cpp | 194 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() local 201 if (!isMutable) { in createBitmap() 276 static int getPremulBitmapCreateFlags(bool isMutable) { in getPremulBitmapCreateFlags() argument 278 if (isMutable) flags |= android::bitmap::kBitmapCreateFlag_Mutable; in getPremulBitmapCreateFlags() 284 jint configHandle, jboolean isMutable, in Bitmap_creator() argument 322 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_creator() 364 jint dstConfigHandle, jboolean isMutable) { in Bitmap_copy() argument 372 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy() 383 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable)); in Bitmap_copy() 604 const bool isMutable = p->readInt32() != 0; in Bitmap_createFromParcel() local [all …]
|
D | BitmapFactory.cpp | 181 bool isMutable = false; in doDecode() local 210 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID); in doDecode() 224 if (isMutable && isHardware) { in doDecode() 475 if (!isMutable && javaBitmap == NULL) { in doDecode() 489 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode()
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfigParser.java | 366 boolean isMutable = DEFAULT_MUTABILITY; in parseOverlay() 369 isMutable = !"false".equals(mutable); in parseOverlay() 370 if (!isMutable && parsingContext.mFoundMutableOverlay) { in parseOverlay() 378 if (isMutable) { in parseOverlay() 387 isMutable, parsingContext.mPartition.policy, info); in parseOverlay()
|
D | OverlayConfig.java | 264 public boolean isMutable(String packageName) { in isMutable() method in OverlayConfig
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 71 @NonNull final String baseCodePath, boolean isMutable, boolean isEnabled, int priority, in init() argument 75 baseCodePath, OverlayInfo.STATE_UNKNOWN, isEnabled, isMutable, priority, in init() 168 .filter((i) -> i.isMutable() || !"android".equals(i.getTargetPackageName())) in getOverlaysForTarget() 177 .filter((i) -> i.isMutable() || !"android".equals(i.getTargetPackageName())) in getOverlaysForUser() 333 pw.println("mIsMutable.............: " + item.isMutable()); in dumpSettingsItem() 519 final boolean isMutable, final int priority, @Nullable String category) { in SettingsItem() argument 529 mIsMutable = isMutable; in SettingsItem() 614 private boolean isMutable() { in isMutable() method in OverlayManagerSettings.SettingsItem
|
D | OverlayManagerServiceImpl.java | 99 boolean isMutable = isPackageConfiguredMutable(theTruth.packageName); in mustReinitializeOverlay() 100 if (isMutable != oldSettings.isMutable) { in mustReinitializeOverlay() 105 if (!isMutable && isPackageConfiguredEnabled(theTruth.packageName) in mustReinitializeOverlay() 510 if (!oi.isMutable) { in setEnabled() 559 if (!disabledInfo.isMutable) { in setEnabledExclusive() 588 return mOverlayConfig.isMutable(packageName); in isPackageConfiguredMutable()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 37 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/graphics/ |
D | Bitmap.java | 294 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() 1449 public final boolean isMutable() { in isMutable() method in Bitmap 1463 if (isMutable()) { in setImmutable() 1854 if (!isMutable()) { in eraseColor() 1871 if (!isMutable()) { in eraseColor() 2052 if (!isMutable()) { in setPixel() [all …]
|
D | Canvas.java | 116 if (!bitmap.isMutable()) { in Canvas() 191 if (!bitmap.isMutable()) { in setBitmap()
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 292 if (!bitmap.isMutable()) { in validateBitmapDest()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 2118 bool isMutable = (blobType == BLOB_ASHMEM_MUTABLE); in readBlob() local 2131 void* ptr = ::mmap(nullptr, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, in readBlob() 2135 outBlob->init(fd, ptr, len, isMutable); in readBlob() 2741 void Parcel::Blob::init(int fd, void* data, size_t size, bool isMutable) { in init() argument 2745 mMutable = isMutable; in init()
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 546 inline bool isMutable() const { return mMutable; } in isMutable() function 549 void init(int fd, void* data, size_t size, bool isMutable); 611 inline void* mutableData() { return isMutable() ? mData : nullptr; } in mutableData()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 546 inline bool isMutable() const { return mMutable; } in isMutable() function 549 void init(int fd, void* data, size_t size, bool isMutable); 611 inline void* mutableData() { return isMutable() ? mData : nullptr; } in mutableData()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/content/ |
D | OverlayConfigTest.java | 575 assertTrue(overlayConfig.isMutable("one")); in testNonSystemOverlayCannotBeStatic()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 468 getBitmap().isMutable() && in convertToAshmem()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2967 && ((BitmapDrawable) drawable).getBitmap().isMutable(); in getBadgedDrawable()
|
D | Notification.java | 6776 mPicture.isMutable() &&
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 10461 method public final boolean isMutable();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 7299 HSPLandroid/graphics/Bitmap;->isMutable()Z
|