/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/ui/viewmodel/ |
D | ColorPickerViewModelTest.kt | 108 colorOptions = colorSectionOptions(), in <lambda>() 114 colorOptions = colorSectionOptions(), in <lambda>() 120 colorOptions = colorSectionOptions(), in <lambda>() 142 val colorOptions = collectLastValue(underTest.colorOptions) in <lambda>() constant 147 selectColorOption(colorOptions, 0) in <lambda>() 173 val colorOptions = collectLastValue(underTest.colorOptions) in <lambda>() constant 178 selectColorOption(colorOptions, 0) in <lambda>() 190 val colorOptions = collectLastValue(underTest.colorOptions) in <lambda>() constant 195 colorOptions = colorOptions(), in <lambda>() 204 colorOptions = colorOptions(), in <lambda>() [all …]
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/domain/interactor/ |
D | ColorPickerInteractorTest.kt | 66 val colorOptions = collectLastValue(underTest.colorOptions) in <lambda>() constant 68 val wallpaperColorOptionModelBefore = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(2) in <lambda>() 72 val wallpaperColorOptionModelAfter = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(2) in <lambda>() 75 val presetColorOptionModelBefore = colorOptions()?.get(ColorType.PRESET_COLOR)?.get(1) in <lambda>() 79 val presetColorOptionModelAfter = colorOptions()?.get(ColorType.PRESET_COLOR)?.get(1) in <lambda>() 85 val colorOptions = collectLastValue(underTest.colorOptions) in <lambda>() constant 86 val wallpaperColorOptionModel0 = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(0) in <lambda>() 87 val wallpaperColorOptionModel1 = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(1) in <lambda>() 93 val wallpaperColorOptionModel0After = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(0) in <lambda>() 94 val wallpaperColorOptionModel1After = colorOptions()?.get(ColorType.WALLPAPER_COLOR)?.get(1) in <lambda>() [all …]
|
D | ColorPickerSnapshotRestorerTest.kt | 67 val colorOptions = collectLastValue(repository.colorOptions) in <lambda>() constant 73 val colorOptionToSelect = colorOptions()?.get(ColorType.PRESET_COLOR)?.get(3) in <lambda>() 75 assertState(colorOptions(), ColorType.PRESET_COLOR, 3) in <lambda>() 78 assertState(colorOptions(), ColorType.WALLPAPER_COLOR, 2) in <lambda>() 83 val colorOptions = collectLastValue(repository.colorOptions) in <lambda>() constant 89 val colorOptionToSelect = colorOptions()?.get(ColorType.PRESET_COLOR)?.get(3) in <lambda>() 91 assertState(colorOptions(), ColorType.PRESET_COLOR, 3) in <lambda>() 93 val colorOptionToStore = colorOptions()?.get(ColorType.PRESET_COLOR)?.get(1) in <lambda>() 97 assertState(colorOptions(), ColorType.WALLPAPER_COLOR, 2) in <lambda>() 101 colorOptions: Map<ColorType, List<ColorOptionModel>>?, in assertState() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/viewmodel/ |
D | ColorPickerViewModel.kt | 53 interactor.colorOptions, in <lambda>() 55 ) { colorOptions, selectedColorTypeIdOrNull -> in <lambda>() method 56 colorOptions.keys in <lambda>() 96 interactor.colorOptions.map { colorOptions -> in <lambda>() method 97 colorOptions in <lambda>() 160 val colorOptions: Flow<List<OptionItemViewModel<ColorOptionIconViewModel>>> = in <lambda>() constant
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModel.kt | 127 val colorOptions: Flow<List<OptionItemViewModel<ColorOptionIconViewModel>>> = in <lambda>() constant 128 colorPickerInteractor.colorOptions.map { colorOptions -> in <lambda>() method 134 (colorOptions[ColorType.WALLPAPER_COLOR]?.find { it.isSelected }) in <lambda>() 136 ?: (colorOptions[ColorType.PRESET_COLOR]?.find { it.isSelected }) in <lambda>() 204 colorOptions.flatMapLatest { colorOptions -> in <lambda>() method 205 combine(colorOptions.map { colorOption -> colorOption.isSelected }) { selectedFlags -> in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/binder/ |
D | ColorPickerBinder.kt | 95 viewModel.colorOptions.collect { colorOptions -> in <lambda>() method 98 colorOptionAdapter.setItems(colorOptions) { in <lambda>() 106 var indexToFocus = colorOptions.indexOfFirst { it.isSelected.value } in <lambda>()
|
D | ColorSectionViewBinder.kt | 63 viewModel.colorSectionOptions.collect { colorOptions -> in <lambda>() method 65 options = colorOptions, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/ |
D | ColorPickerInteractor.kt | 41 val colorOptions = constant in com.android.customization.picker.color.domain.interactor.ColorPickerInteractor 42 repository.colorOptions.onEach { in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/ |
D | FakeColorPickerRepository.kt | 46 override val colorOptions: StateFlow<Map<ColorType, List<ColorOptionModel>>> = in <lambda>() constant in com.android.customization.picker.color.data.repository.FakeColorPickerRepository 212 val colorOptions = _colorOptions.value in <lambda>() constant 213 val wallpaperColorOptions = colorOptions[ColorType.WALLPAPER_COLOR]!! in <lambda>() 225 val basicColorOptions = colorOptions[ColorType.PRESET_COLOR]!! in <lambda>()
|
D | ColorPickerRepository.kt | 33 val colorOptions: Flow<Map<ColorType, List<ColorOptionModel>>> constant
|
D | ColorPickerRepositoryImpl.kt | 55 override val colorOptions: Flow<Map<ColorType, List<ColorOptionModel>>> = in <lambda>() constant
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/ |
D | ClockSettingsBinder.kt | 144 viewModel.colorOptions.collect { colorOptions -> in <lambda>() method 146 colorOptions.forEachIndexed { index, colorOption -> in <lambda>() 166 viewModel = colorOptions[index], in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModelTest.kt | 118 val observedClockColorOptions = collectLastValue(underTest.colorOptions) in <lambda>() 156 val observedClockColorOptions = collectLastValue(underTest.colorOptions) in <lambda>() 202 val observedClockColorOptions = collectLastValue(underTest.colorOptions) in <lambda>()
|