Searched refs:newPrefs (Results 1 – 3 of 3) sorted by relevance
72 final ArrayList<Preference> newPrefs = new ArrayList<>(); in plus() local75 newPrefs.add(existingPref); in plus()79 newPrefs.add(pref); in plus()81 return new ProfileNetworkPreferences(newPrefs); in plus()
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()
296 List<Preference> newPrefs = new ArrayList<>(); in update() local306 newPrefs.add(preference); in update()310 updatePreferenceScreen(preferenceScreen, newPrefs); in update()359 private void updatePreferenceScreen(PreferenceScreen screen, List<Preference> newPrefs) { in updatePreferenceScreen() argument368 for (Preference newPref : newPrefs) { in updatePreferenceScreen()383 for (int i = 0; i < newPrefs.size(); i++) { in updatePreferenceScreen()384 Preference newPref = newPrefs.get(i); in updatePreferenceScreen()