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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DLeanbackListPreferenceDialogFragmentCompat.java64 private CharSequence[] mEntryValues; field in LeanbackListPreferenceDialogFragmentCompat
100 this.mEntryValues = ((ListPreference) preference).getEntryValues(); in onCreate()
110 this.mEntryValues = ((MultiSelectListPreference) preference).getEntryValues(); in onCreate()
122 this.mEntryValues = savedInstanceState.getCharSequenceArray( in onCreate()
149 this.mEntryValues); in onSaveInstanceState()
196 this.mEntries, this.mEntryValues, this.mInitialSelections) in onCreateAdapter()
198 this.mEntryValues, this.mInitialSelection)); in onCreateAdapter()
243 private final CharSequence[] mEntryValues; field in LeanbackListPreferenceDialogFragmentCompat.AdapterMulti
249 this.mEntryValues = entryValues; in AdapterMulti()
263 this.mSelections.contains(this.mEntryValues[position].toString())); in onBindViewHolder()
[all …]
DTwoPanelListPreferenceDialogFragment.java130 private final CharSequence[] mEntryValues; field in TwoPanelListPreferenceDialogFragment.TwoPanelAdapterSingle
137 mEntryValues = entryValues; in TwoPanelAdapterSingle()
152 holder.getWidgetView().setChecked(mEntryValues[position].equals(mSelectedValue)); in onBindViewHolder()
179 final CharSequence entry = mEntryValues[index]; in onItemClick()
182 String value = mEntryValues[index].toString(); in onItemClick()
/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/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
76 mEntryValues = in onCreate()
86 outState.putCharSequenceArray(SAVE_STATE_ENTRY_VALUES, mEntryValues); in onSaveInstanceState()
93 final String value = mEntryValues[mClickedDialogEntryIndex].toString(); in onDialogClosed()
162 mEntryValues = preference.getEntryValues(); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java142 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
158 setEntryValues(myState.mEntryValues); in onRestoreInstanceState()
170 private CharSequence[] mEntryValues; field in ListWithEntrySummaryPreference.SavedState
176 mEntryValues = source.readCharSequenceArray(); in SavedState()
184 dest.writeCharSequenceArray(mEntryValues); in writeToParcel()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DPreferenceCompat.java56 private CharSequence[] mEntryValues; field in PreferenceCompat
301 return mEntryValues; in getEntryValues()
307 mEntryValues = entryValues; in setEntryValues()