Home
last modified time | relevance | path

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

/frameworks/support/preference/src/main/java/androidx/preference/
DListPreferenceDialogFragmentCompat.java32 private int mClickedDialogEntryIndex; field in ListPreferenceDialogFragmentCompat
56 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
60 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
69 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
82 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
86 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
109 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
110 String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
DListPreferenceDialogFragment.java32 private int mClickedDialogEntryIndex; field in ListPreferenceDialogFragment
55 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
59 mClickedDialogEntryIndex = savedInstanceState.getInt(SAVE_STATE_INDEX, 0); in onCreate()
68 outState.putInt(SAVE_STATE_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
81 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
85 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
108 if (positiveResult && mClickedDialogEntryIndex >= 0) { in onDialogClosed()
109 String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java79 private int mClickedDialogEntryIndex; field in CustomListPreference.CustomListPreferenceDialogFragment
96 mClickedDialogEntryIndex = getCustomizablePreference() in onPrepareDialogBuilder()
113 mClickedDialogEntryIndex = savedInstanceState.getInt(KEY_CLICKED_ENTRY_INDEX, in onCreateDialog()
114 mClickedDialogEntryIndex); in onCreateDialog()
122 outState.putInt(KEY_CLICKED_ENTRY_INDEX, mClickedDialogEntryIndex); in onSaveInstanceState()
144 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
149 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
150 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()
/frameworks/base/core/java/android/preference/
DListPreference.java44 private int mClickedDialogEntryIndex; field in ListPreference
253 mClickedDialogEntryIndex = getValueIndex(); in onPrepareDialogBuilder()
254 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
257 mClickedDialogEntryIndex = which; in onPrepareDialogBuilder()
280 if (positiveResult && mClickedDialogEntryIndex >= 0 && mEntryValues != null) { in onDialogClosed()
281 String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4461 Landroid/preference/ListPreference;->mClickedDialogEntryIndex:I