/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/TvSettings/Settings/src/com/android/tv/settings/users/ |
UserSwitchListenerService.java | 88 SharedPreferences.Editor editor = context.getSharedPreferences(SHARED_PREFERENCES_NAME, local 90 editor.putInt(ON_BOOT_USER_ID_PREFERENCE, userId); 91 editor.apply();
|
/packages/services/Telephony/src/com/android/phone/settings/ |
VoicemailProviderSettingsUtil.java | 104 SharedPreferences.Editor editor = prefs.edit(); local 105 editor.putString(key + VM_NUMBER_TAG, newSettings.getVoicemailNumber()); 110 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, s.length); 114 editor.putInt(settingKey + FWD_SETTING_STATUS, fi.status); 115 editor.putInt(settingKey + FWD_SETTING_REASON, fi.reason); 116 editor.putString(settingKey + FWD_SETTING_NUMBER, fi.number); 117 editor.putInt(settingKey + FWD_SETTING_TIME, fi.timeSeconds); 120 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, 0); 123 editor.apply() [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
ColorsActivity.java | 237 SharedPreferences.Editor editor = mPreferences.edit(); local 240 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); 243 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); 245 editor.commit(); 276 SharedPreferences.Editor editor = mPreferences.edit(); 277 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); 278 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); 279 editor.commit() [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/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/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();
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
TetherServiceTest.java | 44 import android.content.SharedPreferences.Editor; 88 @Mock private Editor mPrefEditor;
|
/packages/apps/TV/src/com/android/tv/data/ |
WatchedHistoryManager.java | 5 import android.content.SharedPreferences.Editor; 144 Editor editor = mSharedPreferences.edit(); local 148 editor.putString(getSharedPreferencesKey(mLastIndex), encode(record)); 150 editor.putLong(PREF_KEY_LAST_INDEX, mLastIndex).apply();
|
ChannelDataManager.java | 23 import android.content.SharedPreferences.Editor; 438 Editor editor = mBrowsableSharedPreferences.edit(); local 440 editor.putBoolean(getBrowsableKey(getChannel(id)), true); 443 editor.putBoolean(getBrowsableKey(getChannel(id)), false); 445 editor.apply(); 649 Editor editor = mBrowsableSharedPreferences.edit(); local 652 editor.remove(key); 654 editor.apply() [all...] |
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 116 edit::EditedSource Editor(SM, LangOpts); 117 if (Editor.commit(commit)) { 119 Editor.applyRewrites(Rec);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
CachedBluetoothDevice.java | 707 SharedPreferences.Editor editor = preferences.edit(); local 708 editor.remove(mDevice.getAddress()); 709 editor.commit(); 770 SharedPreferences.Editor editor = preferences.edit(); local 771 editor.remove(mDevice.getAddress()); 772 editor.commit(); 793 SharedPreferences.Editor editor = mContext.getSharedPreferences local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 17 package com.android.contacts.editor; 49 import com.android.contacts.editor.Editor.EditorListener; 59 * Contact editor with all fields displayed. 80 * The {@link PhotoHandler} for the photo editor for the {@link #mRawContactIdRequestingPhoto} 83 * A {@link PhotoHandler} is created for each photo editor in {@link #bindPhotoHandler}, but 155 BaseRawContactEditorView editor = (BaseRawContactEditorView) mContent.getChildAt(i); local 156 editor.setGroupMetaData(mGroupMetaData); 206 final BaseRawContactEditorView editor; local 208 editor = (BaseRawContactEditorView) inflater.inflate 510 final BaseRawContactEditorView editor = (BaseRawContactEditorView) childView; local 614 final BaseRawContactEditorView editor = local [all...] |
/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();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 23 import android.content.SharedPreferences.Editor; 629 Editor editor = mPrefs.edit(); local 631 editor.remove(getPersistentSelectionKey()); 633 editor.putString(getPersistentSelectionKey(), contactUri.toString()); 635 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
Settings.java | 267 final SharedPreferences.Editor editor = prefs.edit(); local 268 editor.remove(PREF_SUPPRESS_LANGUAGE_SWITCH_KEY); 269 editor.putBoolean(PREF_SHOW_LANGUAGE_SWITCH_KEY, !suppressLanguageSwitchKey); 270 editor.apply(); 446 SharedPreferences.Editor editor = prefs.edit(); local 447 editor.remove(PREF_AUTO_CORRECTION_THRESHOLD_OBSOLETE); 451 editor.putBoolean(PREF_AUTO_CORRECTION, false); 453 editor.putBoolean(PREF_AUTO_CORRECTION, true) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 163 final SharedPreferences.Editor editor = prefs.edit(); local 164 editor.putBoolean(key, value); 165 editor.apply(); 178 final SharedPreferences.Editor editor = prefs.edit(); local 179 editor.putString(key, value); 180 editor.apply();
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 110 SharedPreferences.Editor editor = prefs.edit(); local 111 editor.putString(PREFERENCE_KEY, PREFERENCE_VALUE); 112 editor.commit();
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/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();
|
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
FingerprintAuthenticationDialogFragment.java | 177 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 178 editor.putBoolean(getString(R.string.use_fingerprint_to_authenticate_key), 180 editor.apply();
|
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
FitDistanceWatchFaceConfigActivity.java | 248 SharedPreferences.Editor editor = sharedPreferences.edit(); local 249 editor.putBoolean(PREFS_FIT_ENABLED_BY_USER, userFitPreferences); 250 editor.commit();
|
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
FingerprintAuthenticationDialogFragment.java | 177 SharedPreferences.Editor editor = mSharedPreferences.edit(); local 178 editor.putBoolean(getString(R.string.use_fingerprint_to_authenticate_key), 180 editor.apply();
|