Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/grid/data/repository/
DGridRepository.kt62 private val selectedOption = MutableStateFlow<GridOption?>(null) constant
66 override fun getSelectedOption() = selectedOption.value in getSelectedOption()
77 if (!isGridApplyButtonEnabled || selectedOption.value == null) { in getSelectedOption()
78 selectedOption.value = optionsOrEmpty.find { it.isActive(manager) } in getSelectedOption()
81 appliedOption = selectedOption.value in getSelectedOption()
110 selectedOption in toModel()
126 selectedOption.value?.setIsCurrent(false) in onSelected()
127 selectedOption.value = option in onSelected()
128 selectedOption.value?.setIsCurrent(true) in onSelected()
172 selectedOption.value?.setIsCurrent(false) in clearSelectedOption()
[all …]
/packages/apps/ThemePicker/src/com/android/wallpaper/customization/ui/viewmodel/
DThemePickerCustomizationOptionsViewModel.kt34 override val selectedOption = defaultCustomizationOptionsViewModel.selectedOption constant in com.android.wallpaper.customization.ui.viewmodel.ThemePickerCustomizationOptionsViewModel
39 selectedOption.map { in deselectOption()
52 selectedOption.map { in <lambda>()
/packages/services/Car/tests/LaunchOnPrivateDisplayTestApp/src/com/example/android/launchonprivatedisplay/
DMainActivity.java76 String selectedOption = mDisplayUniqueIds[selectedItemPosition]; in onCreate()
81 bundle.putString(LAUNCH_ON_PRIVATE_DISPLAY, selectedOption); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DCustomizationOptionsViewModel.kt24 val selectedOption: Flow<CustomizationOptionUtil.CustomizationOption?> constant
DDefaultCustomizationOptionsViewModel.kt30 override val selectedOption = _selectedOptionState.asStateFlow() constant in com.android.wallpaper.picker.customization.ui.viewmodel.DefaultCustomizationOptionsViewModel
DCustomizationPickerViewModel2.kt48 customizationOptionsViewModel.selectedOption.map { in <lambda>()