Home
last modified time | relevance | path

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

/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/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/
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()