Searched refs:newPrefs (Results 1 – 4 of 4) sorted by relevance
68 final ArrayList<T> newPrefs = new ArrayList<>(mPreferences); in plus() local70 newPrefs.add(pref); in plus()72 return new NetworkPreferenceList<>(newPrefs); in plus()79 final ArrayList<T> newPrefs = new ArrayList<>(); in minus() local82 newPrefs.add(existingPref); in minus()85 return new NetworkPreferenceList<>(newPrefs); in minus()
355 SharedPreferences newPrefs) { in copyPreferences() argument362 newPrefs.edit().remove(key).apply(); in copyPreferences()365 newPrefs.edit().putString(key, boolValue).apply(); in copyPreferences()368 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()376 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()382 newPrefs.edit().putString(key, (String) value).apply(); in copyPreferences()386 newPrefs.edit().remove(key).apply(); in copyPreferences()
320 List<Preference> newPrefs = new ArrayList<>(); in update() local332 newPrefs.add(preference); in update()336 updatePreferenceScreen(preferenceScreen, newPrefs); in update()384 private void updatePreferenceScreen(PreferenceScreen screen, List<Preference> newPrefs) { in updatePreferenceScreen() argument395 for (Preference newPref : newPrefs) { in updatePreferenceScreen()411 for (int i = 0; i < newPrefs.size(); i++) { in updatePreferenceScreen()412 if (newPrefs.get(i) instanceof TwoStatePreference) { in updatePreferenceScreen()414 i, ((TwoStatePreference) newPrefs.get(i)).isChecked()); in updatePreferenceScreen()419 for (int i = 0; i < newPrefs.size(); i++) { in updatePreferenceScreen()420 Preference newPref = newPrefs.get(i); in updatePreferenceScreen()
450 Map<String, CombiPreference> newPrefs = in maybeUpdateListOfPrefs() local455 if (existingPrefPackageNames.equals(newPrefs.keySet())) { in maybeUpdateListOfPrefs()464 mPrefs.putAll(newPrefs); in maybeUpdateListOfPrefs()465 for (CombiPreference pref : newPrefs.values()) { in maybeUpdateListOfPrefs()