/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/logging/ |
D | UserEventLogger.kt | 21 import com.android.wallpaper.module.WallpaperPersister 22 import com.android.wallpaper.module.WallpaperPersister.Destination 110 WallpaperPersister.DEST_HOME_SCREEN -> StyleEnums.WALLPAPER_DESTINATION_HOME_SCREEN in logSnapshot() 111 WallpaperPersister.DEST_LOCK_SCREEN -> StyleEnums.WALLPAPER_DESTINATION_LOCK_SCREEN in logSnapshot() 112 WallpaperPersister.DEST_BOTH -> in logSnapshot()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/shared/model/ |
D | WallpaperDestination.kt | 23 import com.android.wallpaper.module.WallpaperPersister.DEST_BOTH 24 import com.android.wallpaper.module.WallpaperPersister.DEST_HOME_SCREEN 25 import com.android.wallpaper.module.WallpaperPersister.DEST_LOCK_SCREEN 26 import com.android.wallpaper.module.WallpaperPersister.Destination
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 29 import com.android.wallpaper.module.WallpaperPersister.Destination; 30 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback; 57 private final WallpaperPersister mWallpaperPersister; 64 public WallpaperSetter(WallpaperPersister wallpaperPersister, in WallpaperSetter() 180 mPreferences.storeLatestWallpaper(WallpaperPersister.destinationToFlags(destination), in setCurrentLiveWallpaper() 203 WallpaperPersister.destinationToFlags(destination)); in setWallpaperComponent() 226 mPreferences.storeLatestWallpaper(WallpaperPersister.destinationToFlags(destination), in setCurrentLiveWallpaperFromRestore()
|
D | DefaultWallpaperPersister.java | 68 public class DefaultWallpaperPersister implements WallpaperPersister { 457 if (destination == WallpaperPersister.DEST_HOME_SCREEN in setLiveWallpaperMetadata() 458 || destination == WallpaperPersister.DEST_BOTH) { in setLiveWallpaperMetadata() 474 if (destination == WallpaperPersister.DEST_LOCK_SCREEN in setLiveWallpaperMetadata() 475 || destination == WallpaperPersister.DEST_BOTH) { in setLiveWallpaperMetadata() 489 private final WallpaperPersister.SetWallpaperCallback mCallback; 505 @Destination int destination, WallpaperPersister.SetWallpaperCallback callback) { in SetWallpaperTask() 519 @Destination int destination, WallpaperPersister.SetWallpaperCallback callback) { in SetWallpaperTask() 595 .getDrawable(WallpaperPersister.destinationToFlags(mDestination))) in doInBackground()
|
D | DefaultWallpaperPreferences.kt | 847 @WallpaperPersister.Destination destination: Int, in <lambda>() 853 WallpaperPersister.DEST_HOME_SCREEN -> { in <lambda>() 857 WallpaperPersister.DEST_LOCK_SCREEN -> { in <lambda>() 861 WallpaperPersister.DEST_BOTH -> { in <lambda>()
|
D | WallpaperPersister.java | 41 public interface WallpaperPersister { interface
|
D | WallpaperPicker2Injector.kt | 84 private var wallpaperPersister: WallpaperPersister? = null 252 override fun getWallpaperPersister(context: Context): WallpaperPersister { in getWallpaperPersister()
|
D | Injector.kt | 105 fun getWallpaperPersister(context: Context): WallpaperPersister in getApplicationCoroutineScope()
|
D | WallpaperPreferences.kt | 325 @WallpaperPersister.Destination destination: Int, in getWallpaperPresentationMode()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | SetWallpaperDialogFragment.java | 33 import com.android.wallpaper.module.WallpaperPersister; 81 v -> onSetWallpaperButtonClick(WallpaperPersister.DEST_HOME_SCREEN)); in onCreateDialog() 85 v -> onSetWallpaperButtonClick(WallpaperPersister.DEST_LOCK_SCREEN)); in onCreateDialog() 89 v -> onSetWallpaperButtonClick(WallpaperPersister.DEST_BOTH)); in onCreateDialog()
|
D | SetWallpaperErrorDialogFragment.java | 25 import com.android.wallpaper.module.WallpaperPersister.Destination;
|
D | WallpaperPickerDelegate.java | 44 import com.android.wallpaper.module.WallpaperPersister; 77 private WallpaperPersister mWallpaperPersister;
|
D | LivePreviewFragment.java | 25 import static com.android.wallpaper.module.WallpaperPersister.destinationToFlags; 65 import com.android.wallpaper.module.WallpaperPersister; 118 WallpaperPersister.SetWallpaperCallback callback = SetWallpaperViewModel.getCallback( in setWallpaper()
|
D | ImagePreviewFragment.java | 67 import com.android.wallpaper.module.WallpaperPersister.Destination;
|
D | PreviewFragment.java | 75 import com.android.wallpaper.module.WallpaperPersister.Destination;
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | TestWallpaperPersister.java | 31 import com.android.wallpaper.module.WallpaperPersister; 41 public class TestWallpaperPersister implements WallpaperPersister { 55 private WallpaperPersister.SetWallpaperCallback mCallback; 80 final WallpaperPersister.SetWallpaperCallback callback) { in setIndividualWallpaper()
|
D | TestWallpaperPreferences.kt | 27 import com.android.wallpaper.module.WallpaperPersister 429 @WallpaperPersister.Destination destination: Int, in updateDailyWallpaperSet() 435 WallpaperPersister.DEST_HOME_SCREEN -> { in updateDailyWallpaperSet() 439 WallpaperPersister.DEST_LOCK_SCREEN -> { in updateDailyWallpaperSet() 443 WallpaperPersister.DEST_BOTH -> { in updateDailyWallpaperSet()
|
D | TestInjector.kt | 47 import com.android.wallpaper.module.WallpaperPersister 87 private var wallpaperPersister: WallpaperPersister? = null 219 override fun getWallpaperPersister(context: Context): WallpaperPersister { in getWallpaperPersister()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | PreviewIndividualHolder.java | 28 import com.android.wallpaper.module.WallpaperPersister; 37 private WallpaperPersister mWallpaperPersister;
|
D | CreativeCategoryIndividualHolder.java | 28 import com.android.wallpaper.module.WallpaperPersister; 37 private WallpaperPersister mWallpaperPersister;
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | SetWallpaperViewModel.java | 27 import com.android.wallpaper.module.WallpaperPersister.Destination; 28 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback;
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 53 import com.android.wallpaper.module.WallpaperPersister; 209 assertEquals(WallpaperPersister.DEST_HOME_SCREEN, in testClickSetWallpaper_Success_HomeScreen() 236 assertEquals(WallpaperPersister.DEST_LOCK_SCREEN, in testClickSetWallpaper_Success_LockScreen() 266 assertEquals(WallpaperPersister.DEST_BOTH, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Success_BothHomeAndLockScreen() 303 assertEquals(WallpaperPersister.DEST_HOME_SCREEN, in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog() 343 assertEquals(WallpaperPersister.DEST_LOCK_SCREEN, in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog() 383 assertEquals(WallpaperPersister.DEST_BOTH, in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersisterTest.java | 21 import static com.android.wallpaper.module.WallpaperPersister.DEST_BOTH; 39 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback;
|