Home
last modified time | relevance | path

Searched refs:mEntryValues (Results 1 – 8 of 8) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DListPreference.java40 private CharSequence[] mEntryValues; field in ListPreference
81 return mEntryValues; in getEntryValues()
89 mEntryValues = values == null ? new CharSequence[0] : values; in setEntryValues()
104 for (int j = 0; j < mEntryValues.length; j++) { in findSupportedDefaultValue()
107 if (mEntryValues[j].equals(mDefaultValues[i])) { in findSupportedDefaultValue()
122 setValue(mEntryValues[index].toString()); in setValueIndex()
126 for (int i = 0, n = mEntryValues.length; i < n; ++i) { in findIndexOfValue()
127 if (Util.equals(mEntryValues[i], value)) return i; in findIndexOfValue()
150 for (int i = 0, len = mEntryValues.length; i < len; i++) { in filterUnsupported()
151 if (supported.indexOf(mEntryValues[i].toString()) >= 0) { in filterUnsupported()
[all …]
/packages/apps/Settings/src/com/android/settings/accessibility/
DListDialogPreference.java42 private int[] mEntryValues; field in ListDialogPreference
86 mEntryValues = values; in setValues()
129 return mEntryValues[index]; in getValueAt()
181 final int[] values = mEntryValues; in getIndexForValue()
265 return mEntryValues.length; in getCount()
270 return mEntryValues[position]; in getItem()
275 return mEntryValues[position]; in getItemId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DListDialogPreference.java42 private int[] mEntryValues; field in ListDialogPreference
86 mEntryValues = values; in setValues()
129 return mEntryValues[index]; in getValueAt()
181 final int[] values = mEntryValues; in getIndexForValue()
265 return mEntryValues.length; in getCount()
270 return mEntryValues[position]; in getItem()
275 return mEntryValues[position]; in getItemId()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java47 private String[] mEntryValues; field in AccountSelectionPreference
76 mEntryValues = new String[mAccounts.length + 1]; in setModel()
94 mEntryValues[i] = Integer.toString(i); in setModel()
99 mEntryValues[i] = Integer.toString(i); in setModel()
102 setEntryValues(mEntryValues); in setModel()
/packages/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java47 private CharSequence[] mEntryValues; field in UpdatableListPreferenceDialogFragment
72 mEntryValues = in onCreate()
82 outState.putCharSequenceArray(SAVE_STATE_ENTRY_VALUES, mEntryValues); in onSaveInstanceState()
89 final String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
158 mEntryValues = preference.getEntryValues(); in setPreferenceData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUpdatableListPreferenceDialogFragment.java47 private CharSequence[] mEntryValues; field in UpdatableListPreferenceDialogFragment
72 mEntryValues = in onCreate()
82 outState.putCharSequenceArray(SAVE_STATE_ENTRY_VALUES, mEntryValues); in onSaveInstanceState()
89 final String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
158 mEntryValues = preference.getEntryValues(); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java140 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
156 setEntryValues(myState.mEntryValues); in onRestoreInstanceState()
168 private CharSequence[] mEntryValues; field in ListWithEntrySummaryPreference.SavedState
174 mEntryValues = source.readCharSequenceArray(); in SavedState()
182 dest.writeCharSequenceArray(mEntryValues); in writeToParcel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DListWithEntrySummaryPreference.java140 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
156 setEntryValues(myState.mEntryValues); in onRestoreInstanceState()
168 private CharSequence[] mEntryValues; field in ListWithEntrySummaryPreference.SavedState
174 mEntryValues = source.readCharSequenceArray(); in SavedState()
182 dest.writeCharSequenceArray(mEntryValues); in writeToParcel()