/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 21 import com.android.wallpaper.module.WallpaperPersister.Destination; 22 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback; 45 private final WallpaperPersister mWallpaperPersister; 52 public WallpaperSetter(WallpaperPersister wallpaperPersister, in WallpaperSetter() 136 if (destination == WallpaperPersister.DEST_LOCK_SCREEN) { in setCurrentLiveWallpaper() 147 if (destination == WallpaperPersister.DEST_BOTH) { in setCurrentLiveWallpaper() 235 listener.onSet(WallpaperPersister.DEST_BOTH); in requestDestination()
|
D | DefaultWallpaperPersister.java | 60 public class DefaultWallpaperPersister implements WallpaperPersister { 179 WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithPosition() 214 setIndividualWallpaper(wallpaper, bitmap, WallpaperPersister.DEST_BOTH, in setIndividualWallpaperWithCenterPosition() 229 WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithCenterPosition() 261 wallpaper, asset, cropRect, scale, WallpaperPersister.DEST_BOTH, callback); in setIndividualWallpaperWithCenterCropPosition() 560 private final WallpaperPersister.SetWallpaperCallback mCallback; 574 WallpaperPersister.SetWallpaperCallback callback) { in SetWallpaperTask() 587 @Destination int destination, WallpaperPersister.SetWallpaperCallback callback) { in SetWallpaperTask()
|
D | BaseWallpaperInjector.java | 31 private WallpaperPersister mWallpaperPersister; 71 public synchronized WallpaperPersister getWallpaperPersister(Context context) { in getWallpaperPersister()
|
D | NoOpUserEventLogger.java | 18 import com.android.wallpaper.module.WallpaperPersister.WallpaperPosition;
|
D | WallpaperPersister.java | 33 public interface WallpaperPersister { interface
|
D | UserEventLogger.java | 18 import com.android.wallpaper.module.WallpaperPersister.WallpaperPosition;
|
D | Injector.java | 63 WallpaperPersister getWallpaperPersister(Context context); in getWallpaperPersister()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 69 import com.android.wallpaper.module.WallpaperPersister; 70 import com.android.wallpaper.module.WallpaperPersister.Destination; 71 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback; 72 import com.android.wallpaper.module.WallpaperPersister.WallpaperPosition; 109 private WallpaperPersister mWallpaperPersister; 886 WallpaperPersister.WALLPAPER_POSITION_CENTER_CROP, new SetWallpaperCallback() { in setCustomPhotoWallpaper() 908 … mCustomPhotoWallpaperPosition = WallpaperPersister.WALLPAPER_POSITION_CENTER_CROP; in setCustomPhotoWallpaper() 946 wallpaperInfo, WallpaperPersister.WALLPAPER_POSITION_CENTER_CROP, in initializeWallpaperPositionOptionClickHandlers() 963 … mCustomPhotoWallpaperPosition = WallpaperPersister.WALLPAPER_POSITION_CENTER_CROP; in initializeWallpaperPositionOptionClickHandlers() 980 wallpaperInfo, WallpaperPersister.WALLPAPER_POSITION_STRETCH, in initializeWallpaperPositionOptionClickHandlers() [all …]
|
D | SetWallpaperDialogFragment.java | 31 import com.android.wallpaper.module.WallpaperPersister; 72 mListener.onSet(WallpaperPersister.DEST_HOME_SCREEN); in onCreateDialog() 81 mListener.onSet(WallpaperPersister.DEST_LOCK_SCREEN); in onCreateDialog() 90 mListener.onSet(WallpaperPersister.DEST_BOTH); in onCreateDialog()
|
D | ImagePreviewFragment.java | 40 import com.android.wallpaper.module.WallpaperPersister.Destination; 41 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback;
|
D | SetWallpaperErrorDialogFragment.java | 24 import com.android.wallpaper.module.WallpaperPersister.Destination;
|
D | LivePreviewFragment.java | 68 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback;
|
D | PreviewFragment.java | 65 import com.android.wallpaper.module.WallpaperPersister.Destination;
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestWallpaperPersister.java | 30 import com.android.wallpaper.module.WallpaperPersister; 38 public class TestWallpaperPersister implements WallpaperPersister { 51 private WallpaperPersister.SetWallpaperCallback mCallback; 74 final WallpaperPersister.SetWallpaperCallback callback) { in setIndividualWallpaper() 110 mDestination = WallpaperPersister.DEST_BOTH; in setIndividualWallpaperWithPosition()
|
D | TestInjector.java | 40 import com.android.wallpaper.module.WallpaperPersister; 58 private WallpaperPersister mWallpaperPersister; 106 public WallpaperPersister getWallpaperPersister(Context context) { in getWallpaperPersister()
|
D | TestUserEventLogger.java | 19 import com.android.wallpaper.module.WallpaperPersister.WallpaperPosition;
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | SetIndividualHolder.java | 30 import com.android.wallpaper.module.WallpaperPersister; 31 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback; 111 WallpaperPersister wallpaperPersister = in setWallpaper() 114 1.0f /* scale */, WallpaperPersister.DEST_BOTH, new SetWallpaperCallback() { in setWallpaper()
|
D | IndividualPickerActivity.java | 45 import com.android.wallpaper.module.WallpaperPersister; 63 private WallpaperPersister mWallpaperPersister;
|
D | IndividualPickerFragment.java | 67 import com.android.wallpaper.module.WallpaperPersister; 68 import com.android.wallpaper.module.WallpaperPersister.Destination; 693 R.string.set_wallpaper_error_message, WallpaperPersister.DEST_BOTH); in showSetWallpaperErrorDialog()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 52 import com.android.wallpaper.module.WallpaperPersister; 165 assertEquals(WallpaperPersister.DEST_HOME_SCREEN, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Success_HomeScreen() 193 assertEquals(WallpaperPersister.DEST_LOCK_SCREEN, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Success_LockScreen() 224 assertEquals(WallpaperPersister.DEST_BOTH, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Success_BothHomeAndLockScreen() 268 assertEquals(WallpaperPersister.DEST_HOME_SCREEN, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog() 307 assertEquals(WallpaperPersister.DEST_LOCK_SCREEN, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog() 349 assertEquals(WallpaperPersister.DEST_BOTH, mWallpaperPersister.getLastDestination()); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeManager.java | 40 import com.android.wallpaper.module.WallpaperPersister.SetWallpaperCallback;
|