Home
last modified time | relevance | path

Searched refs:DEST_BOTH (Results 1 – 12 of 12) sorted by relevance

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java78 if (destination == DEST_HOME_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper()
85 if (destination == DEST_LOCK_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper()
115 mDestination = WallpaperPersister.DEST_BOTH; in setIndividualWallpaperWithPosition()
193 if (mDestination == DEST_HOME_SCREEN || mDestination == DEST_BOTH) { in finishSettingWallpaper()
197 if (mDestination == DEST_LOCK_SCREEN || mDestination == DEST_BOTH) { in finishSettingWallpaper()
DTestWallpaperPreferences.java18 import static com.android.wallpaper.module.WallpaperPersister.DEST_BOTH;
551 } else if (destination == DEST_BOTH) { in updateDailyWallpaperSet()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java182 WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithPosition()
216 WallpaperPersister.DEST_BOTH, callback)); in setIndividualWallpaperWithCenterPosition()
228 WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithCenterPosition()
260 wallpaper, asset, cropRect, scale, WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithCenterCropPosition()
768 if (destination == DEST_HOME_SCREEN || destination == DEST_BOTH) { in setImageWallpaperMetadata()
779 if (destination == DEST_LOCK_SCREEN || destination == DEST_BOTH) { in setImageWallpaperMetadata()
DWallpaperPersister.java37 int DEST_BOTH = 2; field
142 DEST_BOTH})
DWallpaperSetter.java203 if (destination == WallpaperPersister.DEST_BOTH) { in setCurrentLiveWallpaper()
309 listener.onSet(WallpaperPersister.DEST_BOTH); in requestDestination()
DDefaultWallpaperPreferences.java900 } else if (destination == WallpaperPersister.DEST_BOTH) { in updateDailyWallpaperSet()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DSetWallpaperDialogFragment.java89 v -> onSetWallpaperButtonClick(WallpaperPersister.DEST_BOTH)); in onCreateDialog()
DCategoryFragment.java468 if (destination == WallpaperPersister.DEST_BOTH) { in onDestinationSet()
DTopLevelPickerActivity.java1119 R.string.set_wallpaper_error_message, WallpaperPersister.DEST_BOTH); in showSetWallpaperErrorDialog()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DSetIndividualHolder.java114 1.0f /* scale */, WallpaperPersister.DEST_BOTH, new SetWallpaperCallback() { in setWallpaper()
DIndividualPickerFragment.java996 R.string.set_wallpaper_error_message, WallpaperPersister.DEST_BOTH); in showSetWallpaperErrorDialog()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java224 assertEquals(WallpaperPersister.DEST_BOTH, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
349 assertEquals(WallpaperPersister.DEST_BOTH, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()