HomeSort by relevance Sort by last modified time
    Searched refs:Editor (Results 1 - 25 of 240) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/base/core/java/android/content/
SharedPreferences.java 26 * Modifications to the preferences must go through an {@link Editor} object
64 * object. All changes you make in an editor are batched, and not copied
68 public interface Editor {
70 * Set a String value in the preferences editor, to be written back once
78 * @return Returns a reference to the same Editor object, so you can
81 Editor putString(String key, String value);
84 * Set a set of String values in the preferences editor, to be written
91 * @return Returns a reference to the same Editor object, so you can
94 Editor putStringSet(String key, Set<String> values);
97 * Set an int value in the preferences editor, to be written back onc
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
Control.java 22 import com.android.gallery3d.filtershow.editors.Editor;
25 public void setUp(ViewGroup container, Parameter parameter, Editor editor);
Parameter.java 19 import com.android.gallery3d.filtershow.editors.Editor;
30 public void setFilterView(FilterView editor);
BasicSlider.java 28 import com.android.gallery3d.filtershow.editors.Editor;
33 Editor mEditor;
36 public void setUp(ViewGroup container, Parameter parameter, Editor editor) {
38 mEditor = editor;
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockSharedPreferences.java 31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
36 public Editor edit() {
100 public Editor putBoolean(String key, boolean value) {
105 public Editor putFloat(String key, float value) {
110 public Editor putInt(String key, int value) {
115 public Editor putLong(String key, long value) {
120 public Editor putString(String key, String value) {
125 public Editor putStringSet(String key, Set<String> values) {
130 public Editor remove(String key) {
135 public Editor clear()
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockSharedPreferences.java 31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
36 public Editor edit() {
100 public Editor putBoolean(String key, boolean value) {
105 public Editor putFloat(String key, float value) {
110 public Editor putInt(String key, int value) {
115 public Editor putLong(String key, long value) {
120 public Editor putString(String key, String value) {
125 public Editor putStringSet(String key, Set<String> values) {
130 public Editor remove(String key) {
135 public Editor clear()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
EditorPlaceHolder.java 8 import com.android.gallery3d.filtershow.editors.Editor;
19 private HashMap<Integer, Editor> mEditors = new HashMap<Integer, Editor>();
30 public void addEditor(Editor c) {
41 public Editor showEditor(int type) {
42 Editor editor = mEditors.get(type); local
43 if (editor == null) {
47 editor.createEditor(mActivity, mContainer);
48 editor.getImageShow().attach()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
Editor.cpp 28 #include "core/editing/Editor.h"
95 Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor)
96 : m_editor(editor)
101 Editor::RevealSelectionScope::~RevealSelectionScope()
111 VisibleSelection Editor::selectionForCommand(Event* event)
128 EditingBehavior Editor::behavior() const
142 EditorClient& Editor::client() const
149 UndoStack* Editor::undoStack() cons
    [all...]
Editor.h 65 class Editor {
66 WTF_MAKE_NONCOPYABLE(Editor);
68 static PassOwnPtr<Editor> create(Frame&);
69 ~Editor();
236 RevealSelectionScope(Editor*);
239 Editor* m_editor;
258 explicit Editor(Frame&);
287 inline void Editor::setStartNewKillRingSequence(bool flag)
292 inline const VisibleSelection& Editor::mark() const
297 inline void Editor::setMark(const VisibleSelection& selection
    [all...]
  /cts/tests/sample/src/android/sample/
SampleDeviceActivity.java 22 import android.content.SharedPreferences.Editor;
48 // Get an editor to modify the preferences.
49 Editor editor = mPreferences.edit(); local
51 editor.putString(key, value);
53 editor.commit();
70 // Get an editor to modify the preferences.
71 Editor editor = mPreferences.edit(); local
73 editor.clear()
    [all...]
  /frameworks/ex/common/java/com/android/common/
SharedPreferencesCompat.java 25 * Reflection utils to call SharedPreferences$Editor.apply when possible,
32 Class cls = SharedPreferences.Editor.class;
39 public static void apply(SharedPreferences.Editor editor) {
42 sApplyMethod.invoke(editor);
50 editor.commit();
  /packages/apps/Music/src/com/android/music/
SharedPreferencesCompat.java 25 * Reflection utils to call SharedPreferences$Editor.apply when possible,
33 Class cls = SharedPreferences.Editor.class;
41 public static void apply(SharedPreferences.Editor editor) {
44 sApplyMethod.invoke(editor);
52 editor.commit();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
CommonPreferences.java 30 final SharedPreferences.Editor editor = pref.edit(); local
31 editor.putBoolean(id, true);
32 editor.apply();
36 final SharedPreferences.Editor editor = pref.edit(); local
37 editor.putBoolean(id, false);
38 editor.apply();
  /packages/apps/Calendar/tests/src/com/android/calendar/
FakeSharedPreferences.java 20 import android.content.SharedPreferences.Editor;
27 class FakeSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
33 public Editor edit() {
108 public Editor putBoolean(String key, boolean value) {
114 public Editor putFloat(String key, float value) {
120 public Editor putInt(String key, int value) {
126 public Editor putLong(String key, long value) {
132 public Editor putString(String key, String value) {
138 public Editor putStringSet(String key, Set<String> values) {
144 public Editor remove(String key)
    [all...]
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
InMemorySharedPreferences.java 108 public SharedPreferences.Editor edit() {
125 private class InMemoryEditor implements SharedPreferences.Editor {
133 public SharedPreferences.Editor putString(String key, String value) {
142 public SharedPreferences.Editor putStringSet(String key, Set<String> values) {
151 public SharedPreferences.Editor putInt(String key, int value) {
160 public SharedPreferences.Editor putLong(String key, long value) {
169 public SharedPreferences.Editor putFloat(String key, float value) {
178 public SharedPreferences.Editor putBoolean(String key, boolean value) {
187 public SharedPreferences.Editor remove(String key) {
197 public SharedPreferences.Editor clear()
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/
TestSharedPreferences.java 74 public Editor edit() {
96 private class TestSharedPreferencesEditor implements Editor {
103 public Editor putString(String key, String value) {
110 public Editor putInt(String key, int value) {
117 public Editor putLong(String key, long value) {
124 public Editor putFloat(String key, float value) {
131 public Editor putBoolean(String key, boolean value) {
138 public Editor remove(String key) {
144 public Editor clear() {
176 public Editor putStringSet(String key, Set<String> values)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
MockSharedPreferences.java 31 public class MockSharedPreferences implements SharedPreferences, SharedPreferences.Editor {
37 public Editor edit() {
102 public Editor putBoolean(String key, boolean value) {
107 public Editor putFloat(String key, float value) {
112 public Editor putInt(String key, int value) {
117 public Editor putLong(String key, long value) {
122 public Editor putString(String key, String value) {
127 public Editor putStringSet(String key, Set<String> values) {
132 public Editor remove(String key) {
137 public Editor clear()
    [all...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
Editors.java 17 package com.android.notificationstudio.editor;
34 public interface Editor {
38 private static final Map<Integer, Editor> EDITORS = editors();
41 private static Map<Integer, Editor> editors() {
42 Map<Integer, Editor> editors = new HashMap<Integer, Editor>();
69 Editor editor = EDITORS.get(item.getType()); local
70 if (editor == null)
72 Runnable updater = editor.bindEditor(editorView, item, new Runnable()
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java 97 // Do some initial operation on editor. No commit needed.
98 public abstract void setUp(SharedPreferences.Editor editor);
100 // Do some later operation on editor (e.g. a redundant edit).
102 public abstract void subsequentEdit(SharedPreferences.Editor editor);
112 SharedPreferences.Editor editor; local
118 editor = prefs.edit();
119 setUp(editor);
241 SharedPreferences.Editor editor = prefs.edit(); local
278 SharedPreferences.Editor editor = prefs.edit(); local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarBackupAgent.java 23 import android.content.SharedPreferences.Editor;
42 final Editor editor = getSharedPreferences( local
44 editor.putString(GeneralPreferences.KEY_ALERTS_RINGTONE,
  /packages/apps/Contacts/src/com/android/contacts/editor/
Editor.java 17 package com.android.contacts.editor;
29 public interface Editor {
33 * Called when the given {@link Editor} is requested to be deleted by the user.
35 public void onDeleteRequested(Editor editor);
38 * Called when the given {@link Editor} has a request, for example it
48 // The editor has switched between different representations of the same
54 * Returns whether or not all the fields are empty in this {@link Editor}.
59 * Prepares this editor for the given {@link ValuesDelta}, which
69 * Add a specific {@link EditorListener} to this {@link Editor}
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Prefs.java 29 public static SharedPreferences.Editor edit(Context context) {
  /packages/apps/LegacyCamera/src/com/android/camera/
ComboPreferences.java 135 private class MyEditor implements Editor {
136 private Editor mEditorGlobal;
137 private Editor mEditorLocal;
156 public Editor clear() {
162 public Editor remove(String key) {
168 public Editor putString(String key, String value) {
177 public Editor putInt(String key, int value) {
186 public Editor putLong(String key, long value) {
195 public Editor putFloat(String key, float value) {
204 public Editor putBoolean(String key, boolean value)
    [all...]
  /packages/apps/Camera/src/com/android/camera/
ComboPreferences.java 211 private class MyEditor implements Editor {
212 private Editor mEditorGlobal;
213 private Editor mEditorLocal;
235 public Editor clear() {
242 public Editor remove(String key) {
249 public Editor putString(String key, String value) {
259 public Editor putInt(String key, int value) {
269 public Editor putLong(String key, long value) {
279 public Editor putFloat(String key, float value) {
289 public Editor putBoolean(String key, boolean value)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
ComboPreferences.java 213 private class MyEditor implements Editor {
214 private Editor mEditorGlobal;
215 private Editor mEditorLocal;
237 public Editor clear() {
244 public Editor remove(String key) {
251 public Editor putString(String key, String value) {
261 public Editor putInt(String key, int value) {
271 public Editor putLong(String key, long value) {
281 public Editor putFloat(String key, float value) {
291 public Editor putBoolean(String key, boolean value)
    [all...]

Completed in 1317 milliseconds

1 2 3 4 5 6 7 8 910