Home
last modified time | relevance | path

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

12345

/packages/apps/Email/src/com/android/email/
DPreferences.java114 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); in clearLegacyBackupPreference()
118 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); in setEnableDebugLogging()
126 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); in setEnableExchangeLogging()
134 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); in setEnableExchangeFileLogging()
142 mSharedPreferences.edit().putBoolean(INHIBIT_GRAPHICS_ACCELERATION, value).apply(); in setInhibitGraphicsAcceleration()
150 mSharedPreferences.edit().putBoolean(FORCE_ONE_MINUTE_REFRESH, value).apply(); in setForceOneMinuteRefresh()
158 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply(); in setEnableStrictMode()
174 mSharedPreferences.edit().putString(DEVICE_UID, result).apply(); in getDeviceUID()
184 mSharedPreferences.edit().putInt(ONE_TIME_INITIALIZATION_PROGRESS, progress).apply(); in setOneTimeInitializationProgress()
192 mSharedPreferences.edit().putInt(AUTO_ADVANCE_DIRECTION, direction).apply(); in setAutoAdvanceDirection()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchSettingsImpl.java131 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); in storeBoolean()
135 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); in storeInt()
139 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); in storeLong()
143 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value)); in storeString()
147 SharedPreferencesCompat.apply(getSearchPreferences().edit().remove(name)); in removePref()
199 SharedPreferencesCompat.apply(prefs.edit() in haveVoiceSearchHintsExpired()
252 Editor sharedPrefEditor = getSearchPreferences().edit(); in setSearchBaseDomain()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java109 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistSelectedDeviceInPicker()
118 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoverableEndTimestamp()
128 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in persistDiscoveringTimestamp()
147 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in saveDockAutoConnectSetting()
153 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in removeDockAutoConnectSetting()
DDockService.java208 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand()
218 prefs.edit().putInt(KEY_CONNECT_RETRY_COUNT, retryCount + 1).apply(); in onStartCommand()
233 prefs.edit().remove(KEY_CONNECT_RETRY_COUNT).apply(); in onStartCommand()
304 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeDisableBluetooth()
308 prefs.edit().putBoolean(KEY_DISABLE_BT, true).apply(); in msgTypeDisableBluetooth()
338 prefs.edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in msgTypeUndockedPermanent()
368 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in msgTypeDocked()
645 getPrefs().edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in handleBtStateChange()
654 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in handleBtStateChange()
702 prefs.edit().remove(KEY_DISABLE_BT).apply(); in handleBluetoothStateOn()
[all …]
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
DSocialWidgetSettings.java51 final Editor editor = settings.edit(); in remove()
79 final Editor editor = settings.edit(); in setContactUri()
99 final SharedPreferences.Editor editor = settings.edit(); in ensureMigrated()
113 settings.edit().putBoolean(KEY_MIGRATED, true).apply(); in ensureMigrated()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java224 mPrefs.edit().remove(PREF_TEXT_SIZE).apply();
449 Editor edit = mPrefs.edit(); in setDebugEnabled() local
450 edit.putBoolean(PREF_DEBUG_MENU, value); in setDebugEnabled()
453 edit.putBoolean(PREF_ENABLE_HARDWARE_ACCEL_SKIA, false); in setDebugEnabled()
455 edit.apply(); in setDebugEnabled()
505 mPrefs.edit() in resetDefaultPreferences()
634 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply(); in setTextZoom()
644 mPrefs.edit().putInt(PREF_DOUBLE_TAP_ZOOM, getRawDoubleTapZoom(percent)).apply(); in setDoubleTapZoom()
708 mPrefs.edit().putString(PREF_HOMEPAGE, value).apply(); in setHomePage()
716 mPrefs.edit().putBoolean(PREF_AUTOFILL_ENABLED, value).apply(); in setAutofillEnabled()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java126 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
132 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
138 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
143 sharedPrefs.edit().putBoolean( in tryCdmaSetCategory()
/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/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/apps/Settings/src/com/android/settings/wifi/
DWifiConfigUiForSetupWizardXL.java62 AccessPoint accessPoint, boolean edit) { in WifiConfigUiForSetupWizardXL() argument
67 mEdit = edit; in WifiConfigUiForSetupWizardXL()
71 mController = new WifiConfigController(this, mView, mAccessPoint, edit); in WifiConfigUiForSetupWizardXL()
DWifiDialog.java40 AccessPoint accessPoint, boolean edit) { in WifiDialog() argument
42 mEdit = edit; in WifiDialog()
/packages/apps/Phone/src/com/android/phone/sip/
DSipSharedPreferences.java47 SharedPreferences.Editor editor = mPreferences.edit(); in setPrimaryAccount()
72 SharedPreferences.Editor editor = mPreferences.edit(); in setProfilesCount()
/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java107 .get(context).edit(); in initialCameraPictureSize()
304 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
328 SharedPreferences.Editor editor = pref.edit(); in upgradeOldVersion()
385 Editor editor = pref.edit(); in writePreferredCameraId()
456 Editor editor = preferences.edit(); in restorePreferences()
463 Editor editor = preferences.edit(); in restorePreferences()
DComboPreferences.java148 mEditorGlobal = mPrefGlobal.edit(); in MyEditor()
149 mEditorLocal = mPrefLocal.edit(); in MyEditor()
240 public Editor edit() { in edit() method in ComboPreferences
/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()
DComboPreferences.java140 mEditorGlobal = mPrefGlobal.edit(); in MyEditor()
141 mEditorLocal = mPrefLocal.edit(); in MyEditor()
221 public Editor edit() { in edit() method in ComboPreferences
/packages/apps/Nfc/src/com/android/nfc/nxp/
DNativeNfcManager.java106 prefs.edit().putLong(PREF_FIRMWARE_MODTIME, modtime).apply(); in checkFirmware()
120 SharedPreferences.Editor editor = prefs.edit(); in initialize()
138 SharedPreferences.Editor editor = prefs.edit(); in deinitialize()
DNativeNfcSecureElement.java41 mPrefsEditor = mPrefs.edit(); in NativeNfcSecureElement()
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java121 prefs.edit() in saveWidgetPrefs()
130 SharedPreferences.Editor editor = prefs.edit(); in removeWidgetPrefs()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DBasicSmsReceiverApp.java54 SharedPreferences.Editor editor = prefs.edit(); in getNextNotificationId()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DRemoveReceiver.java37 prefs.edit().remove(pkg).apply(); in onReceive()
/packages/apps/Browser/src/com/android/browser/preferences/
DDebugPreferencesFragment.java45 BrowserSettings.getInstance().getPreferences().edit() in onPreferenceClick()
/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/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java106 prefs.edit().putLong(STATE_CURRENT_FOLDER, fid).commit(); in changeFolder()
114 pref.edit() in setupWidgetState()
191 mPreferences.edit() in saveState()

12345