Home
last modified time | relevance | path

Searched refs:canBeDeleted (Results 1 – 7 of 7) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java176 if (creativeWallpaper.canBeDeleted() || isCreativeWallpaperApplied) { in getCreativeWallpaperPreviewResultCallback()
194 if (creativeWallpaper.canBeDeleted() || isCreativeWallpaperApplied) { in getCreativeWallpaperPreviewResultCallback()
312 if (!isCreativeWallpaperApplied && creativeWallpaper.canBeDeleted()) {
337 } else if (DeletableUtils.canBeDeleted(requireContext(),
480 if (!isCreativeWallpaperApplied && !creativeWallpaper.canBeDeleted()) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeTest.java53 assertThat(zenMode.canBeDeleted()).isTrue(); in testBasicMethods()
59 assertThat(manualMode.canBeDeleted()).isFalse(); in testBasicMethods()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModel.kt140 if (it is LiveWallpaperModel && it.creativeWallpaperData == null && it.canBeDeleted()) { in <lambda>()
151 if (deleteUri != null && it.canBeDeleted()) { in <lambda>()
533 private fun LiveWallpaperModel.canBeDeleted(): Boolean { in <lambda>() method
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDeletableUtils.kt35 fun canBeDeleted(context: Context, wallpaperInfo: WallpaperInfo): Boolean { in canBeDeleted() method
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenMode.java215 public boolean canBeDeleted() { in canBeDeleted() method in ZenMode
DZenModesBackend.java242 if (!mode.canBeDeleted()) { in removeMode()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCreativeWallpaperInfo.java278 public boolean canBeDeleted() {