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

12

/frameworks/base/core/java/android/content/
H A DSharedPreferences.java28 * Modifications to the preferences must go through an {@link Editor} object
69 public interface Editor { interface in interface:SharedPreferences
79 * @return Returns a reference to the same Editor object, so you can
82 Editor putString(String key, @Nullable String value);
92 * @return Returns a reference to the same Editor object, so you can
95 Editor putStringSet(String key, @Nullable Set<String> values);
104 * @return Returns a reference to the same Editor object, so you can
107 Editor putInt(String key, int value);
116 * @return Returns a reference to the same Editor object, so you can
119 Editor putLon
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java29 private Editor mEditor;
72 public Editor edit() {
76 mEditor = new Editor() {
78 public Editor putString(String key, String value) {
83 public Editor putStringSet(String key, Set<String> values) {
88 public Editor putInt(String key, int value) {
93 public Editor putLong(String key, long value) {
98 public Editor putFloat(String key, float value) {
103 public Editor putBoolean(String key, boolean value) {
108 public Editor remov
[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.java318 SharedPreferences.Editor editor = mStorage.edit();
/frameworks/support/compat/java/android/support/v4/content/
H A DSharedPreferencesCompat.java33 public void apply(@NonNull SharedPreferences.Editor editor) {
38 // SharedPreferences.Editor implementation without
58 public void apply(@NonNull SharedPreferences.Editor editor) {
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DDragHandleUtils.java31 import android.widget.Editor;
55 return onView(allOf(withId(id), isAssignableFrom(Editor.HandleView.class)))
H A DTextViewActions.java30 import android.widget.Editor;
31 import android.widget.Editor.HandleView;
340 Editor.HandleView.class));
347 // Must be larger than Editor#LINE_SLOP_MULTIPLIER_FOR_HANDLEVIEWS.
399 // Must be larger than Editor#LINE_SLOP_MULTIPLIER_FOR_HANDLEVIEWS.
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java275 public Editor edit() {
278 // Editor, but then we should be able to do:
305 public final class EditorImpl implements Editor {
309 public Editor putString(String key, @Nullable String value) {
315 public Editor putStringSet(String key, @Nullable Set<String> values) {
322 public Editor putInt(String key, int value) {
328 public Editor putLong(String key, long value) {
334 public Editor putFloat(String key, float value) {
340 public Editor putBoolean(String key, boolean value) {
347 public Editor remov
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DApprovedPrintServices.java103 SharedPreferences.Editor editor = mPreferences.edit();
153 SharedPreferences.Editor editor = mPreferences.edit();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLocalPreferences.java25 import android.content.SharedPreferences.Editor;
124 Editor editor = null;
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceManager.java64 private SharedPreferences.Editor mEditor;
432 SharedPreferences.Editor editor =
447 SharedPreferences.Editor getEditor() {
H A DPreference.java1357 private void tryCommit(@NonNull SharedPreferences.Editor editor) {
1384 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1430 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1474 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1518 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1562 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
/frameworks/base/core/java/android/preference/
H A DPreference.java1065 * Returns an {@link SharedPreferences.Editor} where this Preference can
1077 * @return A {@link SharedPreferences.Editor} where this preference saves
1083 public SharedPreferences.Editor getEditor() {
1412 private void tryCommit(SharedPreferences.Editor editor) {
1418 // SharedPreferences.Editor implementation without
1446 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1496 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1543 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1587 SharedPreferences.Editor editor = mPreferenceManager.getEditor();
1631 SharedPreferences.Editor edito
[all...]
H A DPreferenceManager.java95 private SharedPreferences.Editor mEditor;
611 SharedPreferences.Editor editor =
617 // SharedPreferences.Editor implementation without
632 SharedPreferences.Editor getEditor() {
662 // SharedPreferences.Editor implementation without
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java707 SharedPreferences.Editor editor = preferences.edit();
770 SharedPreferences.Editor editor = preferences.edit();
793 SharedPreferences.Editor editor = mContext.getSharedPreferences(
/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/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreference.java111 SharedPreferences.Editor editor = getPreferenceManager().getSharedPreferences().edit();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhone.java714 SharedPreferences.Editor editor = sp.edit();
1210 SharedPreferences.Editor editor = sp.edit();
1293 SharedPreferences.Editor editor = sp.edit();
1671 SharedPreferences.Editor editor = sp.edit();
1691 SharedPreferences.Editor editor = sp.edit();
2118 SharedPreferences.Editor editor = sp.edit();
2159 SharedPreferences.Editor editor = sp.edit();
2935 SharedPreferences.Editor spEditor =
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDexExtractor.java282 SharedPreferences.Editor edit = prefs.edit();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaPhoneTest.java411 SharedPreferences.Editor editor = sharedPreferences.edit();
478 SharedPreferences.Editor editor = sharedPreferences.edit();
666 SharedPreferences.Editor editor = sp.edit();
/frameworks/base/core/java/android/widget/
H A DEditor.java132 public class Editor { class
133 private static final String TAG = "Editor";
142 // Tag used when the Editor maintains its own separate UndoManager.
143 private static final String UNDO_OWNER_TAG = "Editor";
157 // Each Editor manages its own undo stack.
261 // The span controller helps monitoring the changes to which the Editor needs to react:
296 Editor(TextView textView) { method in class:Editor
320 * Forgets all undo and redo operations for this Editor.
597 // The default value is true, even when there is no associated Editor
1161 // Note this may have to be moved out of the Editor clas
[all...]
H A DTextView.java632 // Although these fields are specific to editable text, they are not added to Editor because
635 // These six fields, could be moved to Editor, since we know their default values and we
636 // could condition the creation of the Editor to a non standard value. This is however
648 * EditText specific data, created on demand when one of the Editor fields is used.
651 private Editor mEditor;
1748 public final Editor getEditorForTesting() {
3334 // When there is no Editor, return default true value
4900 final Editor.InputContentType ict = mEditor == null ? null : mEditor.mInputContentType;
5668 (2 * Editor.BLINK) < Editor
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java263 SharedPreferences.Editor e = mDeviceProperties.edit();
884 SharedPreferences.Editor e = mDeviceProperties.edit();
/frameworks/base/
H A Dcompiled-classes-phone867 android.content.SharedPreferences$Editor
4789 android.widget.Editor
4790 android.widget.Editor$1
4791 android.widget.Editor$2
4792 android.widget.Editor$Blink
4793 android.widget.Editor$CorrectionHighlighter
4794 android.widget.Editor$CursorAnchorInfoNotifier
4795 android.widget.Editor$CursorController
4796 android.widget.Editor$EditOperation
4797 android.widget.Editor
[all...]

Completed in 1305 milliseconds

12