/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/domain/interactor/ |
D | SnapshotStore.kt | 20 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 23 fun retrieve(): RestorableSnapshot in retrieve() 24 fun store(snapshot: RestorableSnapshot) in retrieve() 28 override fun retrieve(): RestorableSnapshot { in retrieve() 29 return RestorableSnapshot(emptyMap()) in retrieve() 32 override fun store(snapshot: RestorableSnapshot) = Unit in retrieve()
|
D | SnapshotRestorer.kt | 20 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 33 suspend fun setUpSnapshotRestorer(store: SnapshotStore): RestorableSnapshot 36 suspend fun restoreToSnapshot(snapshot: RestorableSnapshot)
|
D | UndoInteractor.kt | 21 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 64 override fun retrieve(): RestorableSnapshot { in <lambda>() 72 override fun store(snapshot: RestorableSnapshot) { in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | UndoTestUtil.kt | 22 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 31 fun snapshot(ownerId: Int, version: Int): RestorableSnapshot { in snapshot() 32 return RestorableSnapshot( in snapshot() 44 var restored: RestorableSnapshot? = null 53 ): RestorableSnapshot { in setUpSnapshotRestorer() 61 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in restoreToSnapshot()
|
D | FakeSnapshotStore.kt | 21 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 24 initialSnapshot: RestorableSnapshot = RestorableSnapshot(emptyMap()), 28 override fun retrieve(): RestorableSnapshot { in retrieve() 32 override fun store(snapshot: RestorableSnapshot) { in store()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/domain/interactor/ |
D | ThemedIconSnapshotRestorer.kt | 22 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 32 override suspend fun setUpSnapshotRestorer(store: SnapshotStore): RestorableSnapshot { in setUpSnapshotRestorer() 37 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in restoreToSnapshot() 51 ): RestorableSnapshot { in snapshot() 52 return RestorableSnapshot( in snapshot()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/domain/interactor/ |
D | GridSnapshotRestorer.kt | 24 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 33 override suspend fun setUpSnapshotRestorer(store: SnapshotStore): RestorableSnapshot { in <lambda>() 40 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in <lambda>() 61 private fun snapshot(option: GridOptionItemModel?): RestorableSnapshot { in <lambda>() 62 return RestorableSnapshot( in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordanceSnapshotRestorer.kt | 23 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 39 ): RestorableSnapshot { in <lambda>() 44 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in <lambda>() 65 private suspend fun snapshot(): RestorableSnapshot { in <lambda>() 66 return RestorableSnapshot( in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/domain/interactor/ |
D | NotificationsSnapshotRestorer.kt | 23 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 41 ): RestorableSnapshot { in setUpSnapshotRestorer() 58 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in restoreToSnapshot() 64 private fun snapshot(model: NotificationSnapshotModel): RestorableSnapshot { in snapshot() 65 return RestorableSnapshot( in snapshot()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/ |
D | ColorPickerSnapshotRestorer.kt | 24 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 40 ): RestorableSnapshot { in <lambda>() 46 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in <lambda>() 67 private fun snapshot(colorOptionModel: ColorOptionModel? = null): RestorableSnapshot { in <lambda>() 73 return RestorableSnapshot(snapshotMap) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/model/mode/ |
D | DarkModeSnapshotRestorer.kt | 25 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 62 override suspend fun setUpSnapshotRestorer(store: SnapshotStore): RestorableSnapshot { in <lambda>() 69 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in <lambda>() 86 ): RestorableSnapshot { in <lambda>() 87 return RestorableSnapshot( in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerSnapshotRestorer.kt | 25 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 35 ): RestorableSnapshot { in <lambda>() 41 override suspend fun restoreToSnapshot(snapshot: RestorableSnapshot) { in <lambda>() 69 private fun snapshot(clockSnapshotModel: ClockSnapshotModel? = null): RestorableSnapshot { in <lambda>() 83 return RestorableSnapshot(options) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorer.kt | 25 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 43 ): RestorableSnapshot { in <lambda>() 50 snapshot: RestorableSnapshot, in <lambda>() 93 ): RestorableSnapshot { in <lambda>() 94 return RestorableSnapshot( in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/data/repository/ |
D | UndoRepository.kt | 20 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot 28 private val snapshotByOwnerId = mutableMapOf<Int, RestorableSnapshot>() 36 fun putSnapshot(ownerId: Int, snapshot: RestorableSnapshot) { in putSnapshot() 41 fun getSnapshot(ownerId: Int): RestorableSnapshot? { in getSnapshot()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/shared/model/ |
D | RestorableSnapshot.kt | 21 data class RestorableSnapshot( class 45 ): RestorableSnapshot { in copy() 48 return RestorableSnapshot( in copy()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorerTest.kt | 26 import com.android.wallpaper.picker.undo.shared.model.RestorableSnapshot in <lambda>() 49 private lateinit var storedSnapshots: MutableList<RestorableSnapshot> in <lambda>() 59 override fun store(snapshot: RestorableSnapshot) { in <lambda>() 63 override fun retrieve(): RestorableSnapshot { in <lambda>()
|