Home
last modified time | relevance | path

Searched refs:edit (Results 1 – 25 of 182) sorted by relevance

12345678

/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java220 mPrefs.edit().remove(PREF_TEXT_SIZE).apply();
417 Editor edit = mPrefs.edit(); in setDebugEnabled() local
418 edit.putBoolean(PREF_DEBUG_MENU, value); in setDebugEnabled()
421 edit.putBoolean(PREF_ENABLE_HARDWARE_ACCEL_SKIA, false); in setDebugEnabled()
423 edit.apply(); in setDebugEnabled()
473 mPrefs.edit() in resetDefaultPreferences()
594 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply(); in setTextZoom()
604 mPrefs.edit().putInt(PREF_DOUBLE_TAP_ZOOM, getRawDoubleTapZoom(percent)).apply(); in setDoubleTapZoom()
668 mPrefs.edit().putString(PREF_HOMEPAGE, value).apply(); in setHomePage()
676 mPrefs.edit().putBoolean(PREF_AUTOFILL_ENABLED, value).apply(); in setAutofillEnabled()
[all …]
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java117 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); in clearLegacyBackupPreference()
121 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); in setEnableDebugLogging()
129 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); in setEnableExchangeLogging()
137 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); in setEnableExchangeFileLogging()
145 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply(); in setEnableStrictMode()
161 mSharedPreferences.edit().putString(DEVICE_UID, result).apply(); in getDeviceUID()
171 mSharedPreferences.edit().putInt(ONE_TIME_INITIALIZATION_PROGRESS, progress).apply(); in setOneTimeInitializationProgress()
264 .edit() in setLastUsedAccountId()
270 mSharedPreferences.edit().clear().apply(); in clear()
/packages/apps/Camera/src/com/android/camera/
DComboPreferences.java82 mPrefGlobal.edit().putString(key, (String) v).apply(); in movePrefFrom()
84 mPrefGlobal.edit().putInt(key, (Integer) v).apply(); in movePrefFrom()
86 mPrefGlobal.edit().putLong(key, (Long) v).apply(); in movePrefFrom()
88 mPrefGlobal.edit().putFloat(key, (Float) v).apply(); in movePrefFrom()
90 mPrefGlobal.edit().putBoolean(key, (Boolean) v).apply(); in movePrefFrom()
92 src.edit().remove(key).apply(); in movePrefFrom()
216 mEditorGlobal = mPrefGlobal.edit(); in MyEditor()
217 mEditorLocal = mPrefLocal.edit(); in MyEditor()
308 public Editor edit() { in edit() method in ComboPreferences
DCameraSettings.java117 .get(context).edit(); in initialCameraPictureSize()
352 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
376 SharedPreferences.Editor editor = pref.edit(); in upgradeOldVersion()
433 Editor editor = pref.edit(); in writePreferredCameraId()
503 Editor editor = preferences.edit(); in restorePreferences()
510 Editor editor = preferences.edit(); in restorePreferences()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchSettingsImpl.java99 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); in storeBoolean()
103 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); in storeInt()
107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); in storeLong()
111 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value)); in storeString()
115 SharedPreferencesCompat.apply(getSearchPreferences().edit().remove(name)); in removePref()
157 SharedPreferencesCompat.apply(prefs.edit() in haveVoiceSearchHintsExpired()
206 Editor sharedPrefEditor = getSearchPreferences().edit(); in setSearchBaseDomain()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java277 final SharedPreferences.Editor editor = prefs.edit(); in readShowsLanguageSwitchKey()
294 prefs.edit().putString(PREF_CUSTOM_INPUT_STYLES, prefSubtypes).apply(); in writePrefAdditionalSubtypes()
391 mPrefs.edit().remove(PREF_LAST_USED_PERSONALIZATION_TOKEN).apply(); in writeLastUsedPersonalizationToken()
394 mPrefs.edit().putString(PREF_LAST_USED_PERSONALIZATION_TOKEN, tokenStr).apply(); in writeLastUsedPersonalizationToken()
404 mPrefs.edit().putLong(PREF_LAST_PERSONALIZATION_DICT_WIPED_TIME, timestamp).apply(); in writeLastPersonalizationDictWipedTime()
412 mPrefs.edit().putStringSet(PREF_CORPUS_HANDLES_FOR_PERSONALIZATION, corpusHandles).apply(); in writeCorpusHandlesForPersonalization()
421 prefs.edit().putString(PREF_EMOJI_RECENT_KEYS, str).apply(); in writeEmojiRecentKeys()
431 prefs.edit().putInt(key, categoryPageId).apply(); in writeLastTypedEmojiCategoryPageId()
442 prefs.edit().putInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, categoryId).apply(); in writeLastShownEmojiCategoryId()
DDebugSettingsFragment.java177 prefs.edit().putInt(key, value).apply(); in setupKeyLongpressTimeoutSettings()
182 prefs.edit().remove(key).apply(); in setupKeyLongpressTimeoutSettings()
225 prefs.edit().putFloat(key, getValueFromPercentage(value)).apply(); in setupKeyPreviewAnimationScale()
230 prefs.edit().remove(key).apply(); in setupKeyPreviewAnimationScale()
267 prefs.edit().putInt(key, value).apply(); in setupKeyPreviewAnimationDuration()
272 prefs.edit().remove(key).apply(); in setupKeyPreviewAnimationDuration()
DAdvancedSettingsFragment.java160 prefs.edit().putInt(key, value).apply(); in setupKeypressVibrationDurationSettings()
165 prefs.edit().remove(key).apply(); in setupKeypressVibrationDurationSettings()
215 prefs.edit().putFloat(key, getValueFromPercentage(value)).apply(); in setupKeypressSoundVolumeSettings()
220 prefs.edit().remove(key).apply(); in setupKeypressSoundVolumeSettings()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java211 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand()
221 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand()
236 prefs.edit().remove(KEY_CONNECT_RETRY_COUNT).apply(); in onStartCommand()
309 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeDisableBluetooth()
313 prefs.edit().putBoolean(KEY_DISABLE_BT, true).apply(); in msgTypeDisableBluetooth()
344 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeUndockedPermanent()
375 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in msgTypeDocked()
696 getPrefs().edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in handleBtStateChange()
705 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in handleBtStateChange()
753 prefs.edit().remove(KEY_DISABLE_BT).apply(); in handleBluetoothStateOn()
[all …]
DLocalBluetoothPreferences.java120 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistSelectedDeviceInPicker()
129 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoverableEndTimestamp()
139 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoveringTimestamp()
158 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in saveDockAutoConnectSetting()
164 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in removeDockAutoConnectSetting()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java107 defaultPreferences.edit().remove(OLD_KEY_UPGRADE_VERSION).apply(); in getLastVersion()
353 newPrefs.edit().remove(key).apply(); in copyPreferences()
356 newPrefs.edit().putString(key, boolValue).apply(); in copyPreferences()
359 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
367 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
373 newPrefs.edit().putString(key, (String) value).apply(); in copyPreferences()
377 newPrefs.edit().remove(key).apply(); in copyPreferences()
DSettingsUpgrader.java97 oldPreferencesLocation.edit().remove(key).apply(); in removeBoolean()
116 oldPreferencesLocation.edit().remove(key).apply(); in removeInteger()
135 oldPreferencesLocation.edit().remove(key).apply(); in removeString()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailNotificationSettingsUtil.java50 SharedPreferences.Editor editor = prefs.edit(); in setVibrationEnabled()
65 SharedPreferences.Editor editor = prefs.edit(); in setRingtoneUri()
99 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded()
112 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded()
138 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailRingtoneSettingsIfNeeded()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java106 .get(context).edit(); in initialCameraPictureSize()
296 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
315 SharedPreferences.Editor editor = pref.edit(); in upgradeGlobalPreferences()
358 Editor editor = pref.edit(); in writePreferredCameraId()
429 Editor editor = preferences.edit(); in restorePreferences()
436 Editor editor = preferences.edit(); in restorePreferences()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialog.java41 AccessPoint accessPoint, boolean edit, boolean hideSubmitButton) { in WifiDialog() argument
42 this(context, listener, accessPoint, edit); in WifiDialog()
47 AccessPoint accessPoint, boolean edit) { in WifiDialog() argument
49 mEdit = edit; in WifiDialog()
DWifiConfigUiForSetupWizardXL.java62 AccessPoint accessPoint, boolean edit) { in WifiConfigUiForSetupWizardXL() argument
67 mEdit = edit; in WifiConfigUiForSetupWizardXL()
71 mController = new WifiConfigController(this, mView, mAccessPoint, edit); in WifiConfigUiForSetupWizardXL()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java259 SharedPreferences.Editor editor = prefs.edit(); in saveNotification()
298 SharedPreferences.Editor editor = prefs.edit(); in clearSavedNotification()
341 SharedPreferences.Editor editor = prefs.edit(); in writeToSharedPrefs()
384 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsStarted()
399 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsLap()
430 SharedPreferences.Editor editor = prefs.edit(); in writeSharedPrefsStopped()
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
DMagicSmokeSelector.java138 Editor edit = mSharedPref.edit(); in updatePrefs() local
139 edit.putInt("preset", mCurrentPreset); in updatePrefs()
140 edit.apply(); in updatePrefs()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java80 mPrefs.edit().remove(KEY_DEFAULT_ACCOUNT).remove(KEY_KNOWN_ACCOUNTS) in cleanupForTest()
86 mPrefs.edit().remove(KEY_DEFAULT_ACCOUNT).apply(); in removeDefaultAccountForTest()
94 mPrefs.edit().putString(KEY_KNOWN_ACCOUNTS, "").putString(KEY_DEFAULT_ACCOUNT, "").apply(); in resetPreferenceValues()
119 final SharedPreferences.Editor editor = mPrefs.edit() in saveDefaultAndAllAccounts()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java154 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
160 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
166 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
171 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmUtils.java227 SharedPreferences.Editor editor = prefs.edit(); in setLastSearchedLocation()
250 SharedPreferences.Editor editor = prefs.edit(); in setIsFirstTimePlayFm()
262 SharedPreferences.Editor editor = prefs.edit(); in isFirstEnterStationList()
321 SharedPreferences.Editor editor = prefs.edit(); in setIsSpeakerModeOnFocusLost()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEN.java493 EditorInfo edit = getCurrentInputEditorInfo(); in onEvent() local
494 if( edit.inputType == EditorInfo.TYPE_CLASS_PHONE){ in onEvent()
597 EditorInfo edit = getCurrentInputEditorInfo(); in processKeyEvent() local
632 int shift = (mAutoCaps) ? getShiftKeyState(edit) : 0; in processKeyEvent()
664 if (edit.inputType == EditorInfo.TYPE_CLASS_PHONE) { in processKeyEvent()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java320 prefs.edit().remove(KEY_ALERTS_VIBRATE_WHEN).commit(); in getDefaultVibrate()
364 prefs.edit().putString(key, value).apply(); in setSharedPreference()
373 prefs.edit().putStringSet(key, set).apply(); in setSharedPreference()
386 SharedPreferences.Editor editor = prefs.edit(); in setSharedPreference()
393 SharedPreferences.Editor editor = prefs.edit(); in setSharedPreference()
401 prefs.edit().remove(key).apply(); in removeSharedPreference()
436 prefs.edit().putString(GeneralPreferences.KEY_ALERTS_RINGTONE, value).apply(); in setRingTonePreference()
447 SharedPreferences.Editor editor = prefs.edit(); in setDefaultView()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java130 Editor ed = mNamePreference.edit(); in setName()
142 Editor ed = mChannelPreference.edit(); in setChannel()
151 Editor ed = mChannelPreference.edit(); in removeChannel()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java125 prefs.edit().remove(KLP_KEYBOARD_THEME_KEY).apply(); in getDefaultKeyboardTheme()
158 prefs.edit().putString(prefKey, themeIdString).apply(); in saveKeyboardThemeId()
182 prefs.edit().remove(LXX_KEYBOARD_THEME_KEY).apply(); in getKeyboardTheme()

12345678