Home
last modified time | relevance | path

Searched refs:listPref (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/gamedriver/
DGameDriverEnableForAllAppsPreferenceController.java105 final ListPreference listPref = (ListPreference) preference; in updateState() local
106 listPref.setVisible(isAvailable()); in updateState()
110 listPref.setValue(mPreferenceGameDriver); in updateState()
111 listPref.setSummary(mPreferenceGameDriver); in updateState()
113 listPref.setValue(mPreferencePrereleaseDriver); in updateState()
114 listPref.setSummary(mPreferencePrereleaseDriver); in updateState()
116 listPref.setValue(mPreferenceDefault); in updateState()
117 listPref.setSummary(mPreferenceDefault); in updateState()
123 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
135 listPref.setValue(value); in onPreferenceChange()
[all …]
DGameDriverAppPreferenceController.java148 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
171 listPref.setValue(value); in onPreferenceChange()
172 listPref.setSummary(value); in onPreferenceChange()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceGroup.java69 ListPreference listPref = (ListPreference) pref; in findPreference() local
70 if(listPref.getKey().equals(key)) return listPref; in findPreference()
72 ListPreference listPref = in findPreference() local
74 if (listPref != null) return listPref; in findPreference()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java193 ListPreference listPref = (ListPreference) pref; in updateListSummary() local
194 CharSequence[] entries = listPref.getEntries(); in updateListSummary()
195 listPref.setSummary(entries[listPref.findIndexOfValue(newValue.toString())]); in updateListSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/
DGameDriverAppPreferenceController.java142 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
158 listPref.setValue(value); in onPreferenceChange()
159 listPref.setSummary(value); in onPreferenceChange()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt285 private fun updateAutoSnoozeSummary(listPref: ListPreference, delay: String) { in updateAutoSnoozeSummary()
288 listPref.setSummary(R.string.auto_silence_never) in updateAutoSnoozeSummary()
290 listPref.setSummary(Utils.getNumberFormattedQuantityString(getActivity(), in updateAutoSnoozeSummary()
DSettingsActivity.java318 private void updateAutoSnoozeSummary(ListPreference listPref, String delay) { in updateAutoSnoozeSummary() argument
321 listPref.setSummary(R.string.auto_silence_never); in updateAutoSnoozeSummary()
323 listPref.setSummary(Utils.getNumberFormattedQuantityString(getActivity(), in updateAutoSnoozeSummary()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java535 final ListPreference listPref = (ListPreference) pref; in initReminderIntervalList()
536 final int idx = listPref.findIndexOfValue((String) newValue); in initReminderIntervalList()
537 listPref.setSummary(listPref.getEntries()[idx]); in initReminderIntervalList()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java542 ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
546 listPref.setSummary(readable); in onPreferenceChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java542 ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
546 listPref.setSummary(readable); in onPreferenceChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java631 ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local
635 listPref.setSummary(readable); in onPreferenceChange()