Home
last modified time | relevance | path

Searched refs:SimplePreferenceMacro (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/
DPreference.kt30 data class SimplePreferenceMacro( dataClass
41 override val title: String = this@SimplePreferenceMacro.title in UiLayout()
42 override val summary = { this@SimplePreferenceMacro.summary ?: "" } in UiLayout()
43 override val icon = createSettingsIcon(this@SimplePreferenceMacro.icon) in UiLayout()
51 title = this@SimplePreferenceMacro.title, in getSearchData()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/ui/
DCategoryPage.kt31 import com.android.settingslib.spa.widget.preference.SimplePreferenceMacro
61 .setMacro { SimplePreferenceMacro(title = "Preference 1", summary = "Summary 1") } in buildEntry()
66 .setMacro { SimplePreferenceMacro(title = "Preference 2", summary = "Summary 2") } in buildEntry()
71 .setMacro { SimplePreferenceMacro(title = "Preference 2", summary = "Summary 3") } in buildEntry()
77 .setMacro { SimplePreferenceMacro(title = "Preference 4", summary = "Summary 4") } in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/
DPreferencePageProvider.kt57 import com.android.settingslib.spa.widget.preference.SimplePreferenceMacro in <lambda>()
92 SimplePreferenceMacro(title = SIMPLE_PREFERENCE_TITLE) in <lambda>()
101 SimplePreferenceMacro( in <lambda>()
116 SimplePreferenceMacro( in <lambda>()
270 SimplePreferenceMacro( in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt42 import com.android.settingslib.spa.widget.preference.SimplePreferenceMacro in <lambda>()
125 SimplePreferenceMacro( in buildInject()
178 .setMacro { SimplePreferenceMacro(title = name, clickRoute = name) } in buildInject()