Searched refs:Editor (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/content/
H A DSharedPreferences.java26 * Modifications to the preferences must go through an {@link Editor} object
68 public interface Editor { interface in interface:SharedPreferences
76 * @return Returns a reference to the same Editor object, so you can
79 Editor putString(String key, String value);
87 * @return Returns a reference to the same Editor object, so you can
90 Editor putStringSet(String key, Set<String> values);
99 * @return Returns a reference to the same Editor object, so you can
102 Editor putInt(String key, int value);
111 * @return Returns a reference to the same Editor object, so you can
114 Editor putLon
[all...]
/frameworks/ex/common/java/com/android/common/
H A DSharedPreferencesCompat.java25 * Reflection utils to call SharedPreferences$Editor.apply when possible,
32 Class cls = SharedPreferences.Editor.class;
39 public static void apply(SharedPreferences.Editor editor) {
H A DOperationScheduler.java290 SharedPreferences.Editor editor = mStorage.edit();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPrefs.java36 public static SharedPreferences.Editor edit(Context context) {
H A DDoNotDisturbController.java58 SharedPreferences.Editor editor = Prefs.edit(mContext);
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java273 public Editor edit() {
276 // Editor, but then we should be able to do:
303 public final class EditorImpl implements Editor {
307 public Editor putString(String key, String value) {
313 public Editor putStringSet(String key, Set<String> values) {
320 public Editor putInt(String key, int value) {
326 public Editor putLong(String key, long value) {
332 public Editor putFloat(String key, float value) {
338 public Editor putBoolean(String key, boolean value) {
345 public Editor remov
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java1020 * Returns an {@link SharedPreferences.Editor} where this Preference can
1032 * @return A {@link SharedPreferences.Editor} where this preference saves
1038 public SharedPreferences.Editor getEditor() {
1346 private void tryCommit(SharedPreferences.Editor editor) {
1352 // SharedPreferences.Editor implementation without
1380 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1432 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1481 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1525 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1569 SharedPreferences.Editor edito
[all...]
H A DPreferenceManager.java93 private SharedPreferences.Editor mEditor;
484 SharedPreferences.Editor editor =
490 // SharedPreferences.Editor implementation without
505 SharedPreferences.Editor getEditor() {
535 // SharedPreferences.Editor implementation without
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java93 SharedPreferences.Editor prefs = getPreferences(0).edit();
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java125 SharedPreferences.Editor editor = prefs.edit();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java197 SharedPreferences.Editor editor = sp.edit();
H A DCdmaSMSDispatcher.java182 SharedPreferences.Editor editor = sp.edit();
H A DCDMAPhone.java1415 SharedPreferences.Editor editor = sp.edit();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java789 SharedPreferences.Editor editor = sp.edit();
813 SharedPreferences.Editor editor = sp.edit();
1422 SharedPreferences.Editor editor = sp.edit();
1440 SharedPreferences.Editor editor = sp.edit();
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java206 SharedPreferences.Editor e = mDeviceProperties.edit();
826 SharedPreferences.Editor e = mDeviceProperties.edit();
/frameworks/base/core/java/android/widget/
H A DTextView.java523 // Although these fields are specific to editable text, they are not added to Editor because
526 // These four fields, could be moved to Editor, since we know their default values and we
527 // could condition the creation of the Editor to a non standard value. This is however
537 * EditText specific data, created on demand when one of the Editor fields is used.
540 private Editor mEditor;
2580 // When there is no Editor, return default true value
4114 final Editor.InputContentType ict = mEditor == null ? null : mEditor.mInputContentType;
4834 (2 * Editor.BLINK) < Editor.BLINK) {
7274 final Editor
[all...]
H A DEditor.java106 public class Editor { class
107 private static final String TAG = "Editor";
194 Editor(TextView textView) { method in class:Editor
418 // The default value is true, even when there is no associated Editor
876 // Note this may have to be moved out of the Editor class
1168 final Editor.InputMethodState ims = mInputMethodState;
1317 // Note how dynamic layout's internal block indices get updated from Editor
3752 Editor.this.mCorrectionHighlighter = null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java738 SharedPreferences.Editor editor = Prefs.edit(mContext);
1127 SharedPreferences.Editor editor = Prefs.edit(mContext);
/frameworks/base/core/java/android/webkit/
H A DWebSettingsClassic.java219 SharedPreferences.Editor editor = mContext
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneBase.java352 SharedPreferences.Editor editor = sp.edit();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java1729 SharedPreferences.Editor editor = Prefs.edit(mContext);

Completed in 1970 milliseconds