/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | FakeWallpaperClient.kt | 27 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 43 WallpaperDestination.HOME to in <lambda>() 45 WallpaperDestination.LOCK to mutableListOf() in <lambda>() 52 WallpaperDestination.values() in <lambda>() 53 .filter { it != WallpaperDestination.BOTH } in <lambda>() 61 recentWallpapersByDestination: Map<WallpaperDestination, List<WallpaperModel>>, in <lambda>() 77 destination: WallpaperDestination, in <lambda>() 92 destination: WallpaperDestination, in <lambda>() 100 destination: WallpaperDestination, in <lambda>() 112 destination: WallpaperDestination, in <lambda>() [all …]
|
D | TestWallpaperPreferences.kt | 32 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 478 destination: WallpaperDestination, in addStaticWallpaperToRecentWallpapers() 485 destination: WallpaperDestination, in addLiveWallpaperToRecentWallpapers()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/data/repository/ |
D | WallpaperRepositoryTest.kt | 22 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 68 underTest.recentWallpapers(destination = WallpaperDestination.HOME, limit = 5) in setWallpaper() 72 underTest.recentWallpapers(destination = WallpaperDestination.LOCK, limit = 5) in setWallpaper() 75 collectLastValue(underTest.selectedWallpaperId(WallpaperDestination.HOME)) in setWallpaper() 77 collectLastValue(underTest.selectedWallpaperId(WallpaperDestination.LOCK)) in setWallpaper() 80 underTest.selectingWallpaperId.map { it[WallpaperDestination.HOME] } in setWallpaper() 84 underTest.selectingWallpaperId.map { it[WallpaperDestination.LOCK] } in setWallpaper() 101 WallpaperDestination.HOME, in setWallpaper() 109 WallpaperDestination.LOCK, in setWallpaper() 163 underTest.recentWallpapers(destination = WallpaperDestination.HOME, limit = 5) in setWallpaper_recentsKeyFallback() [all …]
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperInteractorTest.kt | 24 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 73 destination = WallpaperDestination.HOME, in previews - limits to maximum results() 91 buildMap { put(WallpaperDestination.HOME, listOf<WallpaperModel>()) } in previews - handles empty recents list() 113 WallpaperDestination.HOME, in wallpaperUpdateEvents() 118 WallpaperDestination.LOCK, in wallpaperUpdateEvents() 130 WallpaperDestination.HOME, in wallpaperUpdateEvents() 135 WallpaperDestination.LOCK, in wallpaperUpdateEvents() 148 destination = WallpaperDestination.HOME, in setWallpaper() 155 destination = WallpaperDestination.LOCK, in setWallpaper() 160 collectLastValue(underTest.selectedWallpaperId(WallpaperDestination.HOME)) in setWallpaper() [all …]
|
D | WallpaperSnapshotRestorerTest.kt | 23 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 95 put(WallpaperDestination.HOME, INITIAL_HOME_WALLPAPERS) in <lambda>() 96 put(WallpaperDestination.LOCK, INITIAL_LOCK_WALLPAPERS) in <lambda>() 103 destination = WallpaperDestination.HOME, in <lambda>() 111 destination = WallpaperDestination.LOCK, in <lambda>() 119 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() 121 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>() 125 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() 127 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>() 131 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/ |
D | WallpaperRepository.kt | 29 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 59 destination: WallpaperDestination, in <lambda>() 73 destination: WallpaperDestination, in <lambda>() 78 WallpaperDestination.HOME -> wallpaperPreferences.getHomeWallpaperRecentsKey() in <lambda>() 79 WallpaperDestination.LOCK -> wallpaperPreferences.getLockWallpaperRecentsKey() in <lambda>() 88 MutableStateFlow<Map<WallpaperDestination, String?>>(emptyMap()) in <lambda>() 93 val selectingWallpaperId: StateFlow<Map<WallpaperDestination, String?>> = in <lambda>() 98 destination: WallpaperDestination, in <lambda>() 110 destination: WallpaperDestination in <lambda>() 125 destination: WallpaperDestination, in <lambda>() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperInteractor.kt | 24 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 44 previews(WallpaperDestination.LOCK, 1).map { recentWallpapers -> in wallpaperUpdateEvents() 48 previews(WallpaperDestination.HOME, 1).map { recentWallpapers -> in wallpaperUpdateEvents() 56 destination: WallpaperDestination, in selectedWallpaperId() 66 destination: WallpaperDestination, in selectingWallpaperId() 73 destination: WallpaperDestination, in isSelectingWallpaper() 84 destination: WallpaperDestination, in previews() 104 destination: WallpaperDestination, in setRecentWallpaper() 118 destination: WallpaperDestination in loadThumbnail()
|
D | WallpaperSnapshotRestorer.kt | 22 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 56 destination = WallpaperDestination.HOME, in <lambda>() 65 destination = WallpaperDestination.LOCK, in <lambda>() 74 interactor.selectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>() 75 interactor.selectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>() 100 ?: querySelectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>() 105 ?: querySelectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>() 111 private suspend fun querySelectedWallpaperId(destination: WallpaperDestination): String { in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 52 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 53 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination.BOTH in <lambda>() 54 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination.Companion.toDes… in <lambda>() 55 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination.HOME in <lambda>() 56 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination.LOCK in <lambda>() 87 private val cachedRecents: MutableMap<WallpaperDestination, List<WallpaperModel>> = in <lambda>() 88 EnumMap(WallpaperDestination::class.java) in <lambda>() 105 destination: WallpaperDestination, in <lambda>() 146 destination: WallpaperDestination, in <lambda>() 207 destination: WallpaperDestination, in <lambda>() [all …]
|
D | WallpaperClient.kt | 27 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 39 destination: WallpaperDestination, 57 destination: WallpaperDestination, 74 destination: WallpaperDestination, 89 destination: WallpaperDestination, 95 suspend fun loadThumbnail(wallpaperId: String, destination: WallpaperDestination): Bitmap?
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/domain/interactor/ |
D | WallpaperPreviewInteractorTest.kt | 29 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 137 destination = WallpaperDestination.HOME, in <lambda>() 145 assertThat(client.wallpapersSet[WallpaperDestination.HOME]).containsExactly(wallpaperModel) in <lambda>() 146 assertThat(client.wallpapersSet[WallpaperDestination.LOCK]).isEmpty() in <lambda>() 171 destination = WallpaperDestination.HOME, in <lambda>() 175 assertThat(client.wallpapersSet[WallpaperDestination.HOME]).containsExactly(wallpaperModel) in <lambda>() 176 assertThat(client.wallpapersSet[WallpaperDestination.LOCK]).isEmpty() in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/shared/model/ |
D | WallpaperDestination.kt | 29 enum class WallpaperDestination { class 38 fun fromFlags(@SetWallpaperFlags flags: Int): WallpaperDestination { in fromFlags() 48 fun WallpaperDestination.toDestinationInt(): Int { in WallpaperDestination() method
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/logging/ |
D | UserEventLogger.kt | 39 @WallpaperDestination destination: Int, in logSnapshot() 104 annotation class WallpaperDestination in logSnapshot() class 107 @WallpaperDestination in logSnapshot()
|
D | NoOpUserEventLogger.kt | 20 import com.android.wallpaper.module.logging.UserEventLogger.WallpaperDestination 34 @WallpaperDestination destination: Int, in logWallpaperApplied()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | ScreenPreviewViewModel.kt | 27 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 108 WallpaperDestination.LOCK in getWallpaperDestination() 110 WallpaperDestination.HOME
|
D | CustomizationPickerViewModel.kt | 30 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 57 destination = WallpaperDestination.HOME, in <lambda>() 64 destination = WallpaperDestination.LOCK, in <lambda>()
|
D | WallpaperQuickSwitchViewModel.kt | 24 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 39 private val destination: WallpaperDestination, in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/domain/interactor/ |
D | WallpaperPreviewInteractor.kt | 26 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 54 destination: WallpaperDestination, in hideSmallPreviewTooltip() 74 destination: WallpaperDestination, in setLiveWallpaper()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperRefresher.java | 46 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination; 146 WallpaperDestination.HOME); in doInBackground() 173 WallpaperDestination.LOCK); in doInBackground() 399 WallpaperDestination destination) { in getCreativePreviewUri() 422 if ((dest.equals("home") && destination == WallpaperDestination.HOME) in getCreativePreviewUri() 423 || (dest.equals("lock") && destination == WallpaperDestination.LOCK)) { in getCreativePreviewUri()
|
D | WallpaperPreferences.kt | 29 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination 392 destination: WallpaperDestination, in getWallpaperPresentationMode() 405 destination: WallpaperDestination, in getWallpaperPresentationMode()
|
D | DefaultWallpaperPreferences.kt | 38 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 897 destination: WallpaperDestination, in <lambda>() 904 destination: WallpaperDestination, in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | WallpaperQuickSwitchViewModelTest.kt | 23 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 74 destination = WallpaperDestination.HOME, in <lambda>() 118 client.setRecentWallpapers(buildMap { put(WallpaperDestination.HOME, models) }) in <lambda>() 143 client.setRecentWallpapers(buildMap { put(WallpaperDestination.HOME, models) }) in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/module/logging/ |
D | TestUserEventLogger.kt | 21 import com.android.wallpaper.module.logging.UserEventLogger.WallpaperDestination 42 @WallpaperDestination destination: Int, in logWallpaperApplied()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | WallpaperPreviewViewModel.kt | 28 import com.android.wallpaper.picker.customization.shared.model.WallpaperDestination in <lambda>() 358 private fun Set<Screen>.getDestination(): WallpaperDestination { in <lambda>() 360 WallpaperDestination.BOTH in <lambda>() 362 WallpaperDestination.HOME in <lambda>() 364 WallpaperDestination.LOCK in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/module/logging/ |
D | ThemesUserEventLoggerImpl.kt | 58 import com.android.wallpaper.module.logging.UserEventLogger.WallpaperDestination 100 @WallpaperDestination destination: Int, in logWallpaperApplied()
|