Home
last modified time | relevance | path

Searched refs:selectedColorId (Results 1 – 10 of 10) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerInteractor.kt46 val selectedColorId: Flow<String?> = in <lambda>() constant in com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor
47 repository.selectedClock.map { clock -> clock.selectedColorId }.distinctUntilChanged() in <lambda>()
62 selectedColorId: String?, in <lambda>()
69 selectedColorId = selectedColorId, in <lambda>()
89 selectedColorId = clockSnapshotModel.selectedColorId, in <lambda>()
111 selectedColorId = latestOption?.colorToneProgress?.let { latestOption.selectedColorId } in <lambda>()
112 ?: selectedColorId.firstOrNull(), in <lambda>()
DClockPickerSnapshotRestorer.kt50 optionToRestore.selectedColorId != snapshot.args[KEY_COLOR_ID] in <lambda>()
76 clockSnapshotModel.selectedColorId?.let { put(KEY_COLOR_ID, it) } in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModel.kt74 private val selectedColorId: StateFlow<String?> = in <lambda>() constant
75 clockPickerInteractor.selectedColorId.stateIn(viewModelScope, SharingStarted.Eagerly, null) in <lambda>()
80 combine(selectedClockId, clockPickerInteractor.selectedColorId) { clockId, colorId -> in <lambda>()
101 val selectedColorId = selectedColorId.value ?: return in <lambda>() constant
102 val clockColorViewModel = colorMap[selectedColorId] ?: return in <lambda>()
111 val selectedColorId = selectedColorId.value ?: return in <lambda>() constant
112 val clockColorViewModel = colorMap[selectedColorId] ?: return in <lambda>()
119 selectedColorId = selectedColorId, in <lambda>()
144 selectedColorId in <lambda>()
187 selectedColorId = colorModel.colorId, in <lambda>()
[all …]
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/data/repository/
DFakeClockPickerRepository.kt35 @ColorInt private val selectedColorId = MutableStateFlow<String?>(null) in <lambda>() constant
41 selectedColorId, in <lambda>()
50 selectedColorId = selectedColor, in <lambda>()
64 selectedColorId: String?, in <lambda>()
68 this.selectedColorId.value = selectedColorId in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/
DClockPickerRepositoryImpl.kt96 selectedColorId = metadata?.getSelectedColorId(), in <lambda>()
130 selectedColorId: String?, in <lambda>()
138 .put(KEY_METADATA_SELECTED_COLOR_ID, selectedColorId) in <lambda>()
184 selectedColorId: String? = null, in <lambda>()
191 selectedColorId = selectedColorId, in <lambda>()
DClockPickerRepository.kt46 selectedColorId: String?,
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/shared/model/
DClockMetadataModel.kt27 val selectedColorId: String?, constant in com.android.customization.picker.clock.shared.model.ClockMetadataModel
DClockSnapshotModel.kt28 val selectedColorId: String? = null, constant in com.android.customization.picker.clock.shared.model.ClockSnapshotModel
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerInteractorTest.kt69 val observedSelectedColor = collectLastValue(underTest.selectedColorId) in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModelTest.kt57 selectedColorId = null, in <lambda>()