Home
last modified time | relevance | path

Searched refs:Loaded (Results 1 – 25 of 25) sorted by relevance

/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/grid/domain/interactor/
DGridInteractorTest.kt80 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()
81 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
89 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
93 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()
94 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
107 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()
108 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
113 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
125 assertThat(options()).isInstanceOf(GridOptionItemsModel.Loaded::class.java) in <lambda>()
126 (options() as? GridOptionItemsModel.Loaded)?.let { loaded -> in <lambda>()
[all …]
DGridSnapshotRestorerTest.kt97 underTest.store((repository.getOptions() as GridOptionItemsModel.Loaded).options[1]) in <lambda>()
107 return (repository.getOptions() as? GridOptionItemsModel.Loaded)?.options?.indexOfFirst { in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModelTest.kt279 .isEqualTo(Icon.Loaded(FakeCustomizationProviderClient.ICON_1, null)) in <lambda>()
282 assertThat(dialog()?.message).isEqualTo(Text.Loaded(enablementExplanation)) in <lambda>()
285 assertThat(dialog()?.buttons?.get(1)?.text).isEqualTo(Text.Loaded(enablementActionText)) in <lambda>()
352 Text.Loaded( in <lambda>()
357 Icon.Loaded( in <lambda>()
359 Text.Loaded("Left shortcut") in <lambda>()
362 Icon.Loaded( in <lambda>()
364 Text.Loaded("Right shortcut") in <lambda>()
383 description = Text.Loaded(FakeCustomizationProviderClient.AFFORDANCE_1), in <lambda>()
385 Icon.Loaded( in <lambda>()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModel.kt160 Icon.Loaded( in <lambda>()
164 Text.Loaded(getSlotContentDescription(slot.id)), in <lambda>()
166 text = Text.Loaded(affordanceModel.name), in <lambda>()
246 payload = Icon.Loaded(drawable = affordanceIcon, contentDescription = null), in <lambda>()
247 text = Text.Loaded(affordance.name), in <lambda>()
370 Icon.Loaded( in <lambda>()
375 message = Text.Loaded(explanation), in <lambda>()
398 text = Text.Loaded(actionText), in <lambda>()
473 Text.Loaded( in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewbinder/
DIconViewBinder.kt31 is Icon.Loaded -> view.setImageDrawable(viewModel.drawable) in bind()
38 is Text.Loaded -> (viewModel.contentDescription as Text.Loaded).text in bind()
DContentDescriptionViewBinder.kt31 is Text.Loaded -> viewModel.text in bind()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/domain/interactor/
DGridInteractor.kt72 return (repository.getOptions() as? GridOptionItemsModel.Loaded)?.options?.firstOrNull { in <lambda>()
90 return if (model is GridOptionItemsModel.Loaded) { in <lambda>()
91 GridOptionItemsModel.Loaded( in <lambda>()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt311 assertThat(wallpaperColors()).isInstanceOf(WallpaperColorsModel.Loaded::class.java) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
312 val actualWallpaperColors = (wallpaperColors() as WallpaperColorsModel.Loaded).colors in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
346 assertThat(wallpaperColors()).isInstanceOf(WallpaperColorsModel.Loaded::class.java) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
347 val actualWallpaperColors = (wallpaperColors() as WallpaperColorsModel.Loaded).colors in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
395 assertThat(wallpaperColors()).isInstanceOf(WallpaperColorsModel.Loaded::class.java) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
396 val actualWallpaperColors = (wallpaperColors() as WallpaperColorsModel.Loaded).colors in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
436 assertThat(wallpaperColors()).isInstanceOf(WallpaperColorsModel.Loaded::class.java) in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
437 val actualWallpaperColors = (wallpaperColors() as WallpaperColorsModel.Loaded).colors in wallpaperColors_withNoStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/text/ui/viewmodel/
DText.kt28 data class Loaded( dataClass
35 is Loaded -> text in asString()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperColorsRepository.kt38 _homeWallpaperColors.value = WallpaperColorsModel.Loaded(colors) in setHomeWallpaperColors()
42 _lockWallpaperColors.value = WallpaperColorsModel.Loaded(colors) in setLockWallpaperColors()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ui/viewmodel/
DGridScreenViewModel.kt62 is GridOptionItemsModel.Loaded -> in <lambda>()
64 val text = Text.Loaded(option.name) in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DColorPickerRepositoryImpl.kt75 val homeColorsLoaded = homeColors as WallpaperColorsModel.Loaded in <lambda>()
76 val lockColorsLoaded = lockColors as WallpaperColorsModel.Loaded in <lambda>()
/packages/modules/GeoTZ/app/
Dproguard.txt1 # Loaded via reflection
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/shared/model/
DGridOptionItemsModel.kt21 data class Loaded( class in com.android.customization.picker.grid.shared.model.GridOptionItemsModel
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/shared/model/
DWallpaperColorsModel.kt9 data class Loaded(val colors: WallpaperColors?) : WallpaperColorsModel() class in com.android.wallpaper.picker.customization.shared.model.WallpaperColorsModel
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DWorkspacePreviewBinder.kt90 if (it is WallpaperColorsModel.Loaded) { in <lambda>()
172 if (colorsModel is WallpaperColorsModel.Loaded) { in <lambda>()
DSmallWallpaperPreviewBinder.kt128 WallpaperColorsModel.Loaded(colors) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/text/ui/viewbinder/
DTextViewBinder.kt30 is Text.Loaded -> view.text = viewModel.text in bind()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewmodel/
DIcon.kt35 data class Loaded( dataClass
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModel.kt163 Text.Loaded( in <lambda>()
239 text = Text.Loaded(context.getString(R.string.default_theme_title)), in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/grid/data/repository/
DFakeGridRepository.kt78 return GridOptionItemsModel.Loaded( in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DWallpaperPreviewViewModel.kt189 emit(WallpaperColorsModel.Loaded(null)) in <lambda>()
203 if (isEnabled) colors else WallpaperColorsModel.Loaded(null) in <lambda>()
DStaticWallpaperPreviewViewModel.kt140 WallpaperColorsModel.Loaded( in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/data/repository/
DGridRepository.kt84 GridOptionItemsModel.Loaded( in getSelectedOption()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/viewmodel/
DColorPickerViewModel.kt128 Text.Loaded( in <lambda>()