Home | History | Annotate | Download | only in prefs

Lines Matching refs:editor

20 import android.content.SharedPreferences.Editor;
46 Editor editor = prefs.edit();
47 editor.clear();
49 copyMatchingPreferences(mDefaultPreferences, editor);
50 editor.apply();
57 Editor editor = mDefaultPreferences.edit();
59 copyMatchingPreferences(prefs, editor);
60 editor.apply();
63 private void copyMatchingPreferences(SharedPreferences source, Editor destination) {
73 void setPreference(Editor target, final Map.Entry<String, ?> preference) {