Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt254 assertThat(fullResWallpaperViewModel()?.fullPreviewCropModels).isEqualTo(cropHintsInfo) in fullResWallpaperViewModel_withStaticWallpaperAndCropHints_shouldEmitNonNullValue()
284 assertThat(subsamplingScaleImageViewModel()?.fullPreviewCropModels) in subsamplingScaleImageViewModel_withStaticWallpaperAndCropHints_shouldEmitNonNullValue()
475 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(cropHintsInfo) in updateCropHintsInfo_updateDefaultCropTrue_onlyAddsNewCropHints()
477 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(expectedCropHintsInfo) in updateCropHintsInfo_updateDefaultCropTrue_onlyAddsNewCropHints()
507 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(cropHintsInfo) in updateCropHintsInfo_updateDefaultCropFalse_addsAndReplacesPreviousCropHints()
509 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(expectedCropHintsInfo) in updateCropHintsInfo_updateDefaultCropFalse_addsAndReplacesPreviousCropHints()
532 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(cropHintsInfo) in updateDefaultCropModel_existingDisplaySize_resultsInNoUpdates()
534 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(cropHintsInfo) in updateDefaultCropModel_existingDisplaySize_resultsInNoUpdates()
558 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(cropHintsInfo) in updateDefaultCropModel_newDisplaySize_addsNewDisplaySize()
560 assertThat(viewModel.fullPreviewCropModels).containsExactlyEntriesIn(expectedCropHintsInfo) in updateDefaultCropModel_newDisplaySize_addsNewDisplaySize()
DWallpaperPreviewViewModelTest.kt288 wallpaperPreviewViewModel.staticWallpaperPreviewViewModel.fullPreviewCropModels[ in clickCropButton_updatesCropHintsInfo()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DWallpaperPreviewViewModel.kt260 fullPreviewCropModels.filterKeys { it == fullWallpaper.displaySize } in <lambda>()
338 fullPreviewCropModels = in <lambda>()
339 if (it.fullPreviewCropModels.isNullOrEmpty()) { in <lambda>()
340 staticWallpaperPreviewViewModel.fullPreviewCropModels in <lambda>()
342 it.fullPreviewCropModels in <lambda>()
DFullResWallpaperViewModel.kt27 val fullPreviewCropModels: Map<Point, FullPreviewCropModel>?, constant in com.android.wallpaper.picker.preview.ui.viewmodel.FullResWallpaperViewModel
DStaticWallpaperPreviewViewModel.kt66 val fullPreviewCropModels: MutableMap<Point, FullPreviewCropModel> = mutableMapOf() in <lambda>() constant
174 fullPreviewCropModels.putAll(newInfo) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/domain/interactor/
DWallpaperPreviewInteractor.kt59 fullPreviewCropModels: Map<Point, FullPreviewCropModel>? = null, in hideSmallPreviewTooltip()
68 fullPreviewCropModels, in hideSmallPreviewTooltip()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepository.kt130 fullPreviewCropModels: Map<Point, FullPreviewCropModel>? = null, in <lambda>()
141 fullPreviewCropModels, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClient.kt62 fullPreviewCropModels: Map<Point, FullPreviewCropModel>?,
DWallpaperClientImpl.kt151 fullPreviewCropModels: Map<Point, FullPreviewCropModel>?, in <lambda>()
163 fullPreviewCropModels?.let { cropModels -> in <lambda>()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeWallpaperClient.kt105 fullPreviewCropModels: Map<Point, FullPreviewCropModel>?, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DStaticWallpaperPreviewBinder.kt77 val cropHint = imageModel.fullPreviewCropModels?.get(displaySize)?.cropHint in <lambda>()
DFullWallpaperPreviewBinder.kt274 .fullPreviewCropModels[displaySize] = in <lambda>()