Searched refs:listPref (Results 1 – 11 of 11) sorted by relevance
105 final ListPreference listPref = (ListPreference) preference; in updateState() local106 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() local135 listPref.setValue(value); in onPreferenceChange()[all …]
148 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local171 listPref.setValue(value); in onPreferenceChange()172 listPref.setSummary(value); in onPreferenceChange()
69 ListPreference listPref = (ListPreference) pref; in findPreference() local70 if(listPref.getKey().equals(key)) return listPref; in findPreference()72 ListPreference listPref = in findPreference() local74 if (listPref != null) return listPref; in findPreference()
193 ListPreference listPref = (ListPreference) pref; in updateListSummary() local194 CharSequence[] entries = listPref.getEntries(); in updateListSummary()195 listPref.setSummary(entries[listPref.findIndexOfValue(newValue.toString())]); in updateListSummary()
142 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local158 listPref.setValue(value); in onPreferenceChange()159 listPref.setSummary(value); in onPreferenceChange()
285 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()
318 private void updateAutoSnoozeSummary(ListPreference listPref, String delay) { in updateAutoSnoozeSummary() argument321 listPref.setSummary(R.string.auto_silence_never); in updateAutoSnoozeSummary()323 listPref.setSummary(Utils.getNumberFormattedQuantityString(getActivity(), in updateAutoSnoozeSummary()
535 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()
542 ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local546 listPref.setSummary(readable); in onPreferenceChange()
631 ListPreference listPref = (ListPreference) preference; in onPreferenceChange() local635 listPref.setSummary(readable); in onPreferenceChange()