/packages/apps/Email/src/com/android/email/provider/ |
WidgetProvider.java | 50 final SharedPreferences.Editor editor = prefs.edit(); local 53 editor.remove(LEGACY_ACCOUNT_ID_PREFIX + widgetId); 54 editor.remove(LEGACY_MAILBOX_ID_PREFIX + widgetId); 56 editor.apply(); 90 final SharedPreferences.Editor editor = prefs.edit(); local 116 editor.remove(LEGACY_ACCOUNT_ID_PREFIX + widgetId); 117 editor.remove(LEGACY_MAILBOX_ID_PREFIX + widgetId); 119 editor.apply() [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 26 import android.content.SharedPreferences.Editor; 210 Editor ed = pref.edit();
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcManager.java | 90 SharedPreferences.Editor editor = prefs.edit(); local 95 editor.putBoolean(NativeNfcSecureElement.PREF_SE_WIRED, false); 96 editor.apply(); 108 SharedPreferences.Editor editor = prefs.edit(); local 110 editor.putBoolean(NativeNfcSecureElement.PREF_SE_WIRED, false); 111 editor.apply();
|
/hardware/ti/wpan/tools/FM/FmTxApp/src/com/ti/fmtxapp/ |
FmTxConfig.java | 409 SharedPreferences.Editor editor = fmConfigPreferences.edit(); local 412 /*editor.putInt(DISPLAY_MODE, spnDisplayMode.getSelectedItemPosition()); 413 editor.putInt(TX_MODE, spnTxMode.getSelectedItemPosition()); 414 editor.putInt(REPERTOIRE, spnRepetoire.getSelectedItemPosition());*/ 415 editor.putInt(MONO_STEREO, spnMonoStereo.getSelectedItemPosition()); 416 //editor.putInt(ECC, spnEcc.getSelectedItemPosition()); 418 editor.putString(PS_STRING, txtPsStr.getText().toString()); 419 editor.putString(RT_STRING, edtRadioText.getText().toString()); 420 editor.putString(PTY_STRING, edtPty.getText().toString()) 459 SharedPreferences.Editor editor = fmConfigPreferences.edit(); local 509 SharedPreferences.Editor editor = fmConfigPreferences.edit(); local 561 SharedPreferences.Editor editor = fmConfigPreferences.edit(); local 612 SharedPreferences.Editor editor = fmConfigPreferences.edit(); local [all...] |
/external/jhead/ |
jhead.c | 78 static int EditComment = FALSE; // Invoke an editor for editing the comment 140 // Invoke an editor for editing a string. 160 char * Editor; 161 Editor = getenv("EDITOR"); 162 if (Editor == NULL){ 164 Editor = "notepad"; 166 Editor = "vi"; 169 if (strlen(Editor) > PATH_MAX) ErrFatal("env too long"); 171 sprintf(QuotedPath, "%s \"%s\"",Editor, TempFileName) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPathRef.h | 18 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs 19 * copy-on-write if the SkPathRef is shared by multipls SkPaths. The caller passes the Editor's 20 * constructor a SkAutoTUnref, which may be updated to point to a new SkPathRef after the editor's 36 class Editor { 38 Editor(SkAutoTUnref<SkPathRef>* pathRef, 54 ~Editor() { SkDEBUGCODE(sk_atomic_dec(&fPathRef->fEditorsAttached);) } 111 * Gets the path ref that is wrapped in the Editor. 544 SkDEBUGCODE(int32_t fEditorsAttached;) // assert that only one editor in use at any time.
|
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 116 edit::EditedSource Editor(SM, LangOpts); 117 if (Editor.commit(commit)) { 119 Editor.applyRewrites(Rec);
|
/external/skia/src/core/ |
SkPathRef.h | 18 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs 19 * copy-on-write if the SkPathRef is shared by multipls SkPaths. The caller passes the Editor's 20 * constructor a SkAutoTUnref, which may be updated to point to a new SkPathRef after the editor's 36 class Editor { 38 Editor(SkAutoTUnref<SkPathRef>* pathRef, 54 ~Editor() { SkDEBUGCODE(sk_atomic_dec(&fPathRef->fEditorsAttached);) } 111 * Gets the path ref that is wrapped in the Editor. 544 SkDEBUGCODE(int32_t fEditorsAttached;) // assert that only one editor in use at any time.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 69 SharedPreferences.Editor editor, String key, String value) { 77 editor.putStringSet(key, strings); 101 SharedPreferences.Editor editor = sharedPrefs.edit(); local 102 addToStringSet(sharedPrefs, editor, APPS_PENDING_INSTALL, json.toString()); 103 editor.commit(); 304 SharedPreferences.Editor editor = sharedPrefs.edit(); local 307 editor, NEW_APPS_LIST_KEY, intent.toUri(0)) [all...] |
UninstallShortcutReceiver.java | 152 SharedPreferences.Editor editor = sharedPrefs.edit(); local 153 editor.putStringSet(InstallShortcutReceiver.NEW_APPS_LIST_KEY, 157 editor.putInt(InstallShortcutReceiver.NEW_APPS_PAGE_KEY, -1); 159 editor.commit();
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
MailAppProvider.java | 305 final SharedPreferences.Editor editor = getPreferences().edit(); local 306 editor.putString(LAST_VIEWED_ACCOUNT_KEY, accountUriStr); 307 editor.apply(); 323 final SharedPreferences.Editor editor = getPreferences().edit(); local 324 editor.putString(LAST_SENT_FROM_ACCOUNT_KEY, accountUriStr); 325 editor.apply(); 385 final SharedPreferences.Editor editor = getPreferences().edit() local [all...] |
/development/samples/Spinner/src/com/android/example/spinner/ |
SpinnerActivity.java | 337 * Get the editor for this object. The editor interface abstracts the implementation of 341 SharedPreferences.Editor e = p.edit(); 344 * Write the keys and values to the Editor
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
TestSharedPreferencesTest.java | 24 private SharedPreferences.Editor editor; field in class:TestSharedPreferencesTest 32 editor = sharedPreferences.edit(); 33 editor.putBoolean("boolean", true); 34 editor.putFloat("float", 1.1f); 35 editor.putInt("int", 2); 36 editor.putLong("long", 3l); 37 editor.putString("string", "foobar"); 42 editor.commit(); 54 editor.commit() [all...] |
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 137 SharedPreferences.Editor editor = getSharedPreferences().edit(); local 138 editor.putString(mKey, value); 139 editor.apply();
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoEditorView.java | 17 package com.android.contacts.editor; 36 * Simple editor for {@link Photo}. 38 public class PhotoEditorView extends LinearLayout implements Editor { 66 // Never called, since the user never adds a new photo-editor; 67 // you can only change the picture in an existing editor.
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ListPreference.java | 137 SharedPreferences.Editor editor = getSharedPreferences().edit(); local 138 editor.putString(mKey, value); 139 editor.apply();
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
OneTimeInitializerService.java | 97 SharedPreferences.Editor ed = mPreferences.edit();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
CachedBluetoothDevice.java | 675 SharedPreferences.Editor editor = local 678 editor.remove(mDevice.getAddress()); 680 editor.putInt(mDevice.getAddress(), permissionChoice); 682 editor.commit(); 699 SharedPreferences.Editor editor = local 703 editor.remove(mDevice.getAddress()); 705 editor.putInt(mDevice.getAddress(), mPhonebookRejectedTimes); 707 editor.commit() 726 SharedPreferences.Editor editor = local 750 SharedPreferences.Editor editor = local [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 261 SharedPreferences.Editor editor = prefs.edit(); 262 editor.putLong(getFiredAlertsKey(eventId, beginTime, alarmTime), alarmTime); 263 editor.apply(); 283 SharedPreferences.Editor editor = prefs.edit(); 300 editor.remove(key); 315 editor.putLong(KEY_LAST_FLUSH_TIME_MS, nowTime); 316 editor.apply();
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerObj.java | 84 SharedPreferences.Editor editor = prefs.edit(); local 87 editor.putInt (key, mTimerId); 89 editor.putLong (key, mStartTime); 91 editor.putLong (key, mTimeLeft); 93 editor.putLong (key, mOriginalLength); 95 editor.putLong (key, mSetupLength); 97 editor.putInt (key, mState); 100 editor.putStringSet(PREF_TIMERS_LIST, timersList); 102 editor.putString(key, mLabel) 128 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
Editor.java | 48 public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonListener { 57 private final String LOGTAG = "Editor"; 78 protected Editor(int id) { 248 * This is called in response to a click to apply and leave the editor.
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
NativeNfcManager.java | 139 SharedPreferences.Editor editor = prefs.edit(); local 144 editor.putBoolean(NativeNfcSecureElement.PREF_SE_WIRED, false); 145 editor.apply(); 157 SharedPreferences.Editor editor = prefs.edit(); local 159 editor.putBoolean(NativeNfcSecureElement.PREF_SE_WIRED, false); 160 editor.apply();
|
/packages/apps/Protips/src/com/android/protips/ |
ProtipWidget.java | 125 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); 138 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit();
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
EditorCommand.cpp | 29 #include "core/editing/Editor.h" 89 // Related to Editor::selectionForCommand. 107 frame->editor()->applyStyleToSelection(style, action); 111 frame->editor()->applyStyle(style); 133 // This function must use Editor::selectionHasStyle to determine the current style but we cannot fix this 166 if (frame->editor()->behavior().shouldToggleStyleBasedOnStartOfSelection()) 167 styleIsPresent = frame->editor()->selectionStartHasStyle(propertyID, onValue); 169 styleIsPresent = frame->editor()->selectionHasStyle(propertyID, onValue) == TrueTriState; 182 frame->editor()->applyParagraphStyleToSelection(style.get(), action); 186 frame->editor()->applyParagraphStyle(style.get()) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
DeskClock.java | 197 SharedPreferences.Editor editor = prefs.edit(); local 198 editor.putBoolean(Timers.NOTIF_APP_OPEN, true); 199 editor.apply(); 212 SharedPreferences.Editor editor = prefs.edit(); local 213 editor.putBoolean(Timers.NOTIF_APP_OPEN, false); 214 editor.apply(); 322 SharedPreferences.Editor editor = prefs.edit() local [all...] |