Home
last modified time | relevance | path

Searched refs:SpinnerOption (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
DSpinner.kt50 data class SpinnerOption( class
56 fun Spinner(options: List<SpinnerOption>, selectedId: Int?, setId: (id: Int) -> Unit) { in Spinner()
124 option: SpinnerOption?, in SpinnerText()
144 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in SpinnerPreview()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/ui/
DSpinnerScreenshotTest.kt21 import com.android.settingslib.spa.widget.ui.SpinnerOption
49 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in getTestSpecs()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListModel.kt22 import com.android.settingslib.spa.widget.ui.SpinnerOption
42 fun getSpinnerOptions(recordList: List<T>): List<SpinnerOption> = emptyList() in getSpinnerOptions()
DAppListViewModel.kt28 import com.android.settingslib.spa.widget.ui.SpinnerOption in <lambda>()
56 val spinnerOptionsFlow: Flow<List<SpinnerOption>>
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/ui/
DSpinnerTest.kt42 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in spinner_initialState()
58 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in spinner_canChangeState()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/ui/
DSpinnerPageProvider.kt35 import com.android.settingslib.spa.widget.ui.SpinnerOption
61 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in Page()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/scaffold/
DSuwScaffoldPageProvider.kt45 import com.android.settingslib.spa.widget.ui.SpinnerOption
78 options = (1..3).map { SpinnerOption(id = it, text = "Option $it") }, in Page()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
DAppListTest.kt33 import com.android.settingslib.spa.widget.ui.SpinnerOption in <lambda>()
149 SpinnerOption(id = index, text = option) in <lambda>()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DAppList.kt43 import com.android.settingslib.spa.widget.ui.SpinnerOption in <lambda>()
107 optionsState: State<List<SpinnerOption>?>, in SpinnerOptions()