Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragment.java41 private int mClickedDialogEntryIndex; field in SettingsListPreferenceDialogFragment
68 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
72 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
81 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
94 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
96 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
112 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
113 String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragment.java41 private int mClickedDialogEntryIndex; field in SettingsListPreferenceDialogFragment
68 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
72 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
81 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
94 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
96 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
112 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
113 String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUpdatableListPreferenceDialogFragment.java45 private int mClickedDialogEntryIndex; field in UpdatableListPreferenceDialogFragment
70 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
80 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
87 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
89 final String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
132 builder.setSingleChoiceItems(mAdapter, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
134 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
154 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java45 private int mClickedDialogEntryIndex; field in UpdatableListPreferenceDialogFragment
70 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
80 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
87 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
89 final String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
132 builder.setSingleChoiceItems(mAdapter, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
134 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
154 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/
DCustomListPreference.java82 private int mClickedDialogEntryIndex; field in CustomListPreference.CustomListPreferenceDialogFragment
100 mClickedDialogEntryIndex = getCustomizablePreference() in onPrepareDialogBuilder()
117 mClickedDialogEntryIndex = savedInstanceState.getInt(KEY_CLICKED_ENTRY_INDEX, in onCreateDialog()
118 mClickedDialogEntryIndex); in onCreateDialog()
127 outState.putInt(KEY_CLICKED_ENTRY_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
149 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
154 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
155 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCustomListPreference.java82 private int mClickedDialogEntryIndex; field in CustomListPreference.CustomListPreferenceDialogFragment
100 mClickedDialogEntryIndex = getCustomizablePreference() in onPrepareDialogBuilder()
117 mClickedDialogEntryIndex = savedInstanceState.getInt(KEY_CLICKED_ENTRY_INDEX, in onCreateDialog()
118 mClickedDialogEntryIndex); in onCreateDialog()
127 outState.putInt(KEY_CLICKED_ENTRY_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
149 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
154 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
155 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()