/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiverApp.java | 58 SharedPreferences.Editor editor = prefs.edit(); local 59 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId); 60 editor.apply();
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSharedPreferences.java | 47 SharedPreferences.Editor editor = mPreferences.edit(); local 48 editor.putString(KEY_PRIMARY_ACCOUNT, accountUri); 49 editor.apply(); 72 SharedPreferences.Editor editor = mPreferences.edit(); local 73 editor.putInt(KEY_NUMBER_OF_PROFILES, number); 74 editor.apply();
|
/frameworks/base/core/java/android/app/ |
SharedPreferencesImpl.java | 254 public Editor edit() { 256 // requesting an editor. will require some work on the 257 // Editor, but then we should be able to do: 284 public final class EditorImpl implements Editor { 288 public Editor putString(String key, String value) { 294 public Editor putStringSet(String key, Set<String> values) { 300 public Editor putInt(String key, int value) { 306 public Editor putLong(String key, long value) { 312 public Editor putFloat(String key, float value) { 318 public Editor putBoolean(String key, boolean value) [all...] |
/libcore/luni/src/test/java/libcore/io/ |
DiskLruCacheTest.java | 71 DiskLruCache.Editor creator = cache.edit("k1"); 86 DiskLruCache.Editor creator = cache.edit("k1"); 100 DiskLruCache.Editor creator = cache.edit("k1"); 110 DiskLruCache.Editor creator = cache.edit("k1"); 126 DiskLruCache.Editor creator = cache.edit("k1"); 136 DiskLruCache.Editor k1Creator = cache.edit("k1"); 140 DiskLruCache.Editor k2Creator = cache.edit("k2"); 153 DiskLruCache.Editor editor = cache.edit("k1"); local 154 editor.set(0, "A") 161 DiskLruCache.Editor editor = cache.edit("k1"); local 169 DiskLruCache.Editor editor = cache.edit("k1"); local 592 DiskLruCache.Editor editor = cache.edit("A"); local 729 DiskLruCache.Editor editor = cache.edit(key); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/ |
Hints.java | 108 SharedPreferences.Editor editor = mPrefs.edit(); local 109 editor.putLong(PREF_VOICE_INPUT_LAST_TIME_USED, System.currentTimeMillis()); 110 SharedPreferencesCompat.apply(editor); 169 SharedPreferences.Editor editor = prefs.edit(); local 170 editor.putInt(PREF_VOICE_HINT_NUM_UNIQUE_DAYS_SHOWN, numUniqueDaysShown + 1); 171 editor.putLong(PREF_VOICE_HINT_LAST_TIME_SHOWN, System.currentTimeMillis()); 172 SharedPreferencesCompat.apply(editor); 183 SharedPreferences.Editor editor = prefs.edit() local [all...] |
/external/webkit/Source/WebCore/editing/ |
EditingAllInOne.cpp | 40 #include <Editor.cpp>
|
Editor.h | 82 class Editor { 84 Editor(Frame*); 85 ~Editor(); 322 // We should make these functions private when their callers in Frame are moved over here to Editor 438 inline void Editor::setStartNewKillRingSequence(bool flag) 443 inline const VisibleSelection& Editor::mark() const 448 inline void Editor::setMark(const VisibleSelection& selection) 453 inline bool Editor::markedTextMatchesAreHighlighted() const
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/gtk/ |
WebEditorClientGtk.cpp | 47 Vector<Editor::Command> commands; 49 Editor::Command command = frame->editor()->command(pendingEditorCommands.at(i).utf8().data()); 79 // During RawKeyDown events if an editor command will insert text, defer 90 if (executePendingEditorCommands(frame, pendingEditorCommands, frame->editor()->canEdit())) { 97 if (!frame->editor()->canEdit()) 107 frame->editor()->insertText(platformEvent->text(), event); 119 if (frame->editor()->insertText(platformEvent->text(), event))
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PersistentState.java | 46 * top text editor, but not of the bottom text editor. You can see the difference 120 SharedPreferences.Editor editor = getPreferences(0).edit(); local 121 editor.putString("text", mSaved.getText().toString()); 122 editor.putInt("selection-start", mSaved.getSelectionStart()); 123 editor.putInt("selection-end", mSaved.getSelectionEnd()); 124 editor.commit();
|
RedirectGetter.java | 77 SharedPreferences.Editor editor = preferences.edit(); 78 editor.putString("text", mText.getText().toString()); 80 if (editor.commit()) {
|
/external/webkit/Source/WebCore/platform/efl/ |
ClipboardEfl.cpp | 24 #include "Editor.h" 30 PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy, Frame*)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DoNotDisturbController.java | 58 SharedPreferences.Editor editor = Prefs.edit(mContext); local 59 editor.putBoolean(Prefs.DO_NOT_DISTURB_PREF, value); 60 editor.apply();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 28 import android.content.SharedPreferences.Editor; 128 SharedPreferences.Editor editor = prefs.edit(); local 129 editor.clear(); 130 editor.putBoolean(LOAD_EXPECTED_POLICY_PREFERENCE, false); 131 editor.apply(); 161 SharedPreferences.Editor editor = prefs.edit(); local 162 editor.clear(); 163 editor.putBoolean(LOAD_EXPECTED_POLICY_PREFERENCE, true) [all...] |
/frameworks/base/core/java/android/preference/ |
Preference.java | 1370 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local 1422 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local 1471 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local 1515 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local 1559 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local 1603 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); local [all...] |
PreferenceManager.java | 90 * If in no-commit mode, the shared editor to give out (which will be 93 private SharedPreferences.Editor mEditor; 96 * Blocks commits from happening on the shared editor. This is used when 464 SharedPreferences.Editor editor = local 467 editor.apply(); 470 // SharedPreferences.Editor implementation without 472 editor.commit(); 478 * Returns an editor to use when modifying the shared preferences. 482 * @return An editor to use to write to shared preferences [all...] |
/libcore/luni/src/main/java/libcore/io/ |
DiskLruCache.java | 66 * entry may have only one editor at one time; if a value is not available to be 76 * Every {@link #edit} call must be matched by a call to {@link Editor#commit} 77 * or {@link Editor#abort}. Committing is atomic: a read observes the full set 273 entry.currentEditor = new Editor(entry); 389 * Returns an editor for the entry named {@code key}, or null if it cannot 392 public synchronized Editor edit(String key) throws IOException { 403 Editor editor = new Editor(entry); local 404 entry.currentEditor = editor; [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AutofillHandler.java | 22 import android.content.SharedPreferences.Editor; 146 Editor ed = PreferenceManager.
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 24 import android.content.SharedPreferences.Editor; 102 final Editor editor = sharedPreferences.edit(); local 103 editor.putString(PREF_SETTING_URI, mContactUri == null ? null : mContactUri.toString()); 104 editor.apply();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/ |
LanguageSwitcher.java | 26 import android.content.SharedPreferences.Editor; 230 Editor editor = prefs.edit(); local 231 editor.putString(Settings.PREF_INPUT_LANGUAGE, getInputLanguage()); 232 SharedPreferencesCompat.apply(editor);
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
MagicSmokeSelector.java | 32 import android.content.SharedPreferences.Editor; 138 Editor edit = mSharedPref.edit();
|
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 63 SharedPreferences.Editor editor = prefs.edit(); local 64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); 65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); 66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); 67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); 68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); 69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); 70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); 71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED) [all...] |
MainMenuActivity.java | 221 SharedPreferences.Editor editor = prefs.edit(); local 222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false); 223 editor.commit(); 226 SharedPreferences.Editor editor = prefs.edit(); local 231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); 235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true); 238 editor.commit(); 260 SharedPreferences.Editor editor = prefs.edit() local 265 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/external/webkit/Source/WebCore/page/ |
Frame.h | 34 #include "Editor.h" 112 Editor* editor() const; 235 mutable Editor m_editor; 315 inline Editor* Frame::editor() const function in class:WebCore::Frame
|
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 22 import android.content.SharedPreferences.Editor; 105 SharedPreferences.Editor editor = ComboPreferences local 107 editor.putString(KEY_PICTURE_SIZE, candidate); 108 editor.apply(); 303 SharedPreferences.Editor editor = pref.edit(); 307 editor.remove("pref_video_quality_key"); 309 editor.putInt(KEY_LOCAL_VERSION, CURRENT_LOCAL_VERSION); 310 editor.apply() 365 Editor editor = pref.edit(); local 436 Editor editor = preferences.edit(); local 443 Editor editor = preferences.edit(); local [all...] |
/cts/tests/appsecurity-tests/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 68 SharedPreferences.Editor editor = prefs.edit(); local 69 editor.putString(PREFERENCE_KEY, PREFERENCE_VALUE); 70 editor.commit();
|