/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractor.kt | 46 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>()
|
D | ClockPickerSnapshotRestorer.kt | 50 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/ |
D | ClockSettingsViewModel.kt | 74 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/ |
D | FakeClockPickerRepository.kt | 35 @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/ |
D | ClockPickerRepositoryImpl.kt | 96 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>()
|
D | ClockPickerRepository.kt | 46 selectedColorId: String?,
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/shared/model/ |
D | ClockMetadataModel.kt | 27 val selectedColorId: String?, constant in com.android.customization.picker.clock.shared.model.ClockMetadataModel
|
D | ClockSnapshotModel.kt | 28 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/ |
D | ClockPickerInteractorTest.kt | 69 val observedSelectedColor = collectLastValue(underTest.selectedColorId) in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModelTest.kt | 57 selectedColorId = null, in <lambda>()
|