/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 198 SharedPreferences.Editor editor = prefs.edit(); local 199 editor.putInt(INT_PREF, (random.nextInt(100) + 1)); 200 editor.putBoolean(BOOL_PREF, random.nextBoolean()); 201 editor.commit(); 206 SharedPreferences.Editor editor = prefs.edit(); local 207 editor.putFloat(FLOAT_PREF, random.nextFloat()); 208 editor.putLong(LONG_PREF, random.nextLong()); 209 editor.putString(STRING_PREF, "Random number: " + (random.nextInt(100) + 1)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 25 import android.content.SharedPreferences.Editor; 173 final Editor editor = preferenceScreen.getEditor(); local 174 editor.putString(GeneralPreferences.KEY_ALERTS_RINGTONE, ringToneUri).apply();
|
OtherPreferences.java | 190 SharedPreferences.Editor editor = prefs.edit(); local 196 editor.putInt(KEY_OTHER_QUIET_HOURS_START_HOUR, hourOfDay); 197 editor.putInt(KEY_OTHER_QUIET_HOURS_START_MINUTE, minute); 201 editor.putInt(KEY_OTHER_QUIET_HOURS_END_HOUR, hourOfDay); 202 editor.putInt(KEY_OTHER_QUIET_HOURS_END_MINUTE, minute); 208 editor.commit();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 23 import android.content.SharedPreferences.Editor; 642 Editor editor = mPrefs.edit(); local 644 editor.remove(getPersistentSelectionKey()); 646 editor.putString(getPersistentSelectionKey(), contactUri.toString()); 648 editor.apply();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCurves.java | 38 import com.android.gallery3d.filtershow.editors.Editor; 118 Editor.hackFixStrings(popupMenu.getMenu());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
InstallShortcutReceiver.java | 67 SharedPreferences.Editor editor, String key, String value) { 75 editor.putStringSet(key, strings); 99 SharedPreferences.Editor editor = sharedPrefs.edit(); local 101 addToStringSet(sharedPrefs, editor, APPS_PENDING_INSTALL, json.toString()); 102 editor.commit();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MessagingPreferenceActivity.java | 231 SharedPreferences.Editor prefsEditor = sharedPreferences.edit(); 390 SharedPreferences.Editor editor = 393 editor.putBoolean(MessagingPreferenceActivity.NOTIFICATION_ENABLED, enabled); 395 editor.apply();
|
/packages/apps/Mms/src/com/android/mms/util/ |
Recycler.java | 172 SharedPreferences.Editor editPrefs = 312 SharedPreferences.Editor editPrefs =
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 114 SharedPreferences.Editor editor = prefs.edit(); local 115 editor.putString(PREFERENCE_KEY, PREFERENCE_VALUE); 116 editor.commit();
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageFetcher.java | 212 DiskLruCache.Editor editor = mHttpDiskCache.edit(key); local 213 if (editor != null) { 215 editor.newOutputStream(DISK_CACHE_INDEX))) { 216 editor.commit(); 218 editor.abort();
|
/external/replicaisland/src/com/replica/replicaisland/ |
KeyboardConfigDialogPreference.java | 194 SharedPreferences.Editor editor = mSharedPrefs.edit(); local 195 editor.putInt(mLeftPrefKey, mLeftKeyCode); 196 editor.putInt(mRightPrefKey, mRightKeyCode); 197 editor.putInt(mJumpPrefKey, mJumpKeyCode); 198 editor.putInt(mAttackPrefKey, mAttackKeyCode); 199 editor.commit();
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetHostActivity.java | 93 SharedPreferences.Editor prefs = getPreferences(0).edit();
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 125 SharedPreferences.Editor editor = prefs.edit(); 126 editor.putInt(PREF_KEY, val+1); 127 editor.commit();
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 318 SharedPreferences.Editor editor = mStorage.edit(); local 319 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis()); 320 editor.putInt(PREFIX + "errorCount", 322 SharedPreferencesCompat.apply(editor);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CDMALTEPhone.java | 184 // open the shared preferences editor, and write the value. 187 SharedPreferences.Editor editor = sp.edit(); local 188 editor.putString(NETWORK_SELECTION_KEY, nsm.operatorNumeric); 189 editor.putString(NETWORK_SELECTION_NAME_KEY, nsm.operatorAlphaLong); 192 if (! editor.commit()) {
|
CdmaInboundSmsHandler.java | 257 SharedPreferences.Editor editor = sp.edit(); local 258 editor.putInt(CDMAPhone.VM_COUNT_CDMA, voicemailCount); 259 editor.apply();
|
/packages/apps/Camera2/src/com/android/camera/ |
ListPreference.java | 160 SharedPreferences.Editor editor = getSharedPreferences().edit(); local 161 editor.putString(mKey, value); 162 editor.apply();
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 62 import com.android.contacts.editor.Editor; 63 import com.android.contacts.editor.EditorUiUtils; 64 import com.android.contacts.editor.ViewIdGenerator; 259 // Setup "header" (containing contact info) to save the detail and then go to the editor 662 * Rebuild the editor to match our underlying {@link #mEntityDeltaList} object. 681 // Otherwise display an editor that allows the user to add the data to this raw contact. 708 if (view instanceof Editor) { 709 Editor editor = (Editor) view local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorUtils.java | 17 package com.android.contacts.editor; 119 final SharedPreferences.Editor editor = mPrefs.edit() local 127 editor.putString(KEY_KNOWN_ACCOUNTS, ""); 128 editor.putString(KEY_DEFAULT_ACCOUNT, ""); 130 editor.putString(KEY_KNOWN_ACCOUNTS, 132 editor.putString(KEY_DEFAULT_ACCOUNT, defaultAccount.stringify()); 134 editor.apply(); 195 * @return true if the contact editor should show the "accounts changed" notification, that is:
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorCrop.java | 37 public class EditorCrop extends Editor implements EditorInfo {
|
EditorPanel.java | 41 private Editor mEditor; 44 public void setEditor(int editor) { 45 mEditorID = editor;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 131 // but we'd have to dispatch types on editor.put...() functions 136 final SharedPreferences.Editor editor = prefs.edit(); local 137 editor.putBoolean(key, value); 138 editor.commit();
|
/packages/services/Telephony/src/com/android/phone/ |
RespondViaSmsManager.java | 178 SharedPreferences.Editor editor = prefs.edit(); local 179 editor.remove(KEY_INSTANT_TEXT_DEFAULT_COMPONENT); 180 editor.apply();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
PrintJobConfigActivity.java | 178 private Editor mEditor; 236 mEditor = new Editor(); 535 mEditor.showUi(Editor.UI_ERROR, new Runnable() { 620 mEditor.showUi(Editor.UI_ERROR, null); 641 mEditor.showUi(Editor.UI_ERROR, new Runnable() { 774 mEditor.showUi(Editor.UI_EDITING_PRINT_JOB, [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPath.cpp | 661 SkPathRef::Editor ed(&fPathRef); 700 SkPathRef::Editor(&fPathRef, inc, inc); 707 SkPathRef::Editor ed(&fPathRef); 743 SkPathRef::Editor ed(&fPathRef); 763 SkPathRef::Editor ed(&fPathRef); 795 SkPathRef::Editor ed(&fPathRef); 820 SkPathRef::Editor ed(&fPathRef); 851 SkPathRef::Editor ed(&fPathRef); 914 SkPathRef::Editor ed(&fPathRef); [all...] |