Home
last modified time | relevance | path

Searched refs:isImmutable (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DABitmapTests.cpp38 ASSERT_FALSE(bitmap->isImmutable()); in TEST()
40 ASSERT_TRUE(bitmap->isImmutable()); in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp218 if (!bitmap.isImmutable() && image.get() && !image->unique()) { in drawBitmap()
236 if (!bitmap.isImmutable() && image.get() && !image->unique()) { in drawBitmap()
257 if (!bitmap.isImmutable() && image.get() && !image->unique() && !srcRect.isEmpty() && in drawBitmap()
298 if (!bitmap.isImmutable() && image.get() && !image->unique() && !dst.isEmpty()) { in drawNinePatch()
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp166 if (!bitmap->isImmutable()) { in ABitmap_notifyPixelsChanged()
/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp132 if (recycledBitmap->isImmutable()) { in nativeDecodeRegion()
DBitmap.cpp886 p.writeInt32(!bitmap.isImmutable()); in Bitmap_writeToParcel()
903 if (fd >= 0 && p.allowFds() && bitmap.isImmutable()) { in Bitmap_writeToParcel()
925 status = writeBlob(p.get(), size, bitmap.getPixels(), bitmap.isImmutable()); in Bitmap_writeToParcel()
1225 return bitmapHolder->bitmap().isImmutable() ? JNI_TRUE : JNI_FALSE; in Bitmap_isImmutable()
DBitmapFactory.cpp322 if (reuseBitmap->isImmutable()) { in doDecode()
Dandroid_graphics_HardwareRenderer.cpp483 if (bitmap && !bitmap->isImmutable()) { in imageForCache()
/frameworks/base/core/java/android/app/
DPendingIntent.java1159 public boolean isImmutable() { in isImmutable() method in PendingIntent
1160 return getCachedInfo().isImmutable(); in isImmutable()
DActivityManager.java4891 public boolean isImmutable() { in isImmutable() method in ActivityManager.PendingIntentInfo
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java640 assertTrue("ID " + s.getId(), s.isImmutable()); in assertAllImmutable()
961 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isImmutable())); in areAllImmutable()
966 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isImmutable())); in areAllMutable()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java873 Preconditions.checkState(!isImmutable(), "Target ShortcutInfo is immutable"); in ensureUpdatableWith()
1862 public boolean isImmutable() { in isImmutable() method in ShortcutInfo
2310 if (isImmutable()) { in toStringInner()
/frameworks/base/location/java/android/location/
DLocationManager.java1542 Preconditions.checkArgument(!pendingIntent.isImmutable(), in requestLocationUpdates()
2194 Preconditions.checkArgument(!pendingIntent.isImmutable(), in addProximityAlert()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java288 if (shortcut != null && shortcut.isImmutable() in ensureNotImmutable()
/frameworks/base/core/api/
Dcurrent.txt6355 method public boolean isImmutable();
13042 method public boolean isImmutable();