Home
last modified time | relevance | path

Searched refs:selectedClockId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/data/repository/
DFakeClockPickerRepository.kt34 private val selectedClockId = MutableStateFlow(fakeClocks[0].clockId) in <lambda>() constant
40 selectedClockId, in <lambda>()
44 ) { selectedClockId, selectedColor, colorTone, seedColor -> in <lambda>() method
45 val selectedClock = fakeClocks.find { clock -> clock.clockId == selectedClockId } in <lambda>()
60 selectedClockId.value = clockId in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModel.kt115 interactor.selectedClockId.map { selectedClockId -> in <lambda>() method
116 val index = allClockIds.indexOfFirst { it.clockId == selectedClockId } in <lambda>()
DClockSettingsViewModel.kt69 val selectedClockId: StateFlow<String?> = in <lambda>() constant
70 clockPickerInteractor.selectedClockId in <lambda>()
80 combine(selectedClockId, clockPickerInteractor.selectedColorId) { clockId, colorId -> in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/
DClockSettingsBinder.kt120 viewModel.selectedClockId.value?.let { selectedClockId -> in <lambda>() method
121 clockViewFactory.updateColor(selectedClockId, seedColor) in <lambda>()
196 viewModel.selectedClockId.mapNotNull { it }, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerInteractor.kt43 val selectedClockId: Flow<String> = in <lambda>() constant in com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor
108 clockId = latestOption?.clockId ?: selectedClockId.firstOrNull(), in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/domain/interactor/
DClockPickerInteractorTest.kt51 val observedSelectedClockId = collectLastValue(underTest.selectedClockId) in <lambda>()