/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 228 createWidgetPreferenceValue(account, folderUri)).apply(); in configureWidget() 246 getEditor().apply(); in clearWidgets() 255 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply(); in setDefaultReplyAll() 283 getEditor().putString(PreferenceKeys.REMOVAL_ACTION, removalAction).apply(); in setRemovalAction() 296 getEditor().putBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, enabled).apply(); in setConversationListSwipeEnabled() 331 .apply(); in cacheActiveNotificationSet() 346 getEditor().putBoolean(PreferenceKeys.CONVERSATION_PHOTO_TEASER_SHOWN, true).apply(); in setConversationPhotoTeaserAlreadyShown() 360 getEditor().putInt(PreferenceKeys.LONG_PRESS_TO_SELECT_TIP_SHOWN, 1).apply(); in setLongPressToSelectTipAlreadyShown() 365 getEditor().putStringSet(PreferenceKeys.DISPLAY_IMAGES, addresses).apply(); in setSenderWhitelist() 369 getEditor().putStringSet(PreferenceKeys.DISPLAY_IMAGES_PATTERNS, patterns).apply(); in setSenderWhitelistPatterns() [all …]
|
D | AccountPreferences.java | 106 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply(); in setDefaultInboxNotificationsEnabled() 110 getEditor().remove(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED).apply(); in clearDefaultInboxNotificationsEnabled() 118 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled() 130 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0).apply(); in resetNumOfDismissesForAccountSyncOff() 137 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, value + 1).apply(); in incNumOfDismissesForAccountSyncOff() 145 getEditor().putInt(PreferenceKeys.LAST_SEEN_OUTBOX_COUNT, count).apply(); in setLastSeenOutboxCount()
|
D | FolderPreferences.java | 216 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled() 226 getEditor().putString(PreferenceKeys.NOTIFICATION_RINGTONE, uri).apply(); in setNotificationRingtoneUri() 235 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_VIBRATE, enabled).apply(); in setNotificationVibrateEnabled() 245 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_NOTIFY_EVERY_MESSAGE, enabled).apply(); in setEveryMessageNotificationEnabled()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | Preferences.java | 117 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() 266 .apply(); in setLastUsedAccountId() 270 mSharedPreferences.edit().clear().apply(); in clear()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ComboPreferences.java | 82 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() 228 public void apply() { in apply() method in ComboPreferences.MyEditor 229 mEditorGlobal.apply(); in apply() 230 mEditorLocal.apply(); in apply()
|
D | CameraSettings.java | 119 editor.apply(); in initialCameraPictureSize() 359 editor.apply(); in upgradeLocalPreferences() 410 editor.apply(); in upgradeOldVersion() 435 editor.apply(); in writePreferredCameraId() 505 editor.apply(); in restorePreferences() 512 editor.apply(); in restorePreferences()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchSettingsImpl.java | 99 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() 210 SharedPreferencesCompat.apply(sharedPrefEditor); in setSearchBaseDomain()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 280 editor.apply(); 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()
|
D | DebugSettingsFragment.java | 177 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()
|
D | AdvancedSettingsFragment.java | 160 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/ |
D | DockService.java | 211 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 …]
|
D | LocalBluetoothPreferences.java | 125 editor.apply(); in persistSelectedDeviceInPicker() 131 editor.apply(); in persistDiscoverableEndTimestamp() 143 editor.apply(); in persistDiscoveringTimestamp() 160 editor.apply(); in saveDockAutoConnectSetting() 166 editor.apply(); in removeDockAutoConnectSetting()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 220 mPrefs.edit().remove(PREF_TEXT_SIZE).apply(); 423 edit.apply(); in setDebugEnabled() 476 .apply(); 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() 891 .apply(); in setLastRecovered() 912 .apply(); in setLastRunPaused()
|
/packages/services/Telecomm/libs/ |
D | guava.jar | ... .google.common.util.concurrent.ListenableFuture apply (java.lang.Object) throws java. ... |
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | AppUpgrader.java | 107 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()
|
D | SettingsUpgrader.java | 97 oldPreferencesLocation.edit().remove(key).apply(); in removeBoolean() 116 oldPreferencesLocation.edit().remove(key).apply(); in removeInteger() 135 oldPreferencesLocation.edit().remove(key).apply(); in removeString()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 108 editor.apply(); in initialCameraPictureSize() 303 editor.apply(); in upgradeLocalPreferences() 349 editor.apply(); in upgradeGlobalPreferences() 360 editor.apply(); in writePreferredCameraId() 431 editor.apply(); in restorePreferences() 438 editor.apply(); in restorePreferences()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | ParametricEditor.java | 113 String apply = ""; in calculateUserMessage() local 118 apply += " " + effectName.toUpperCase() + " " + interval.getStateRepresentation(); in calculateUserMessage() 120 apply += " " + effectName.toUpperCase() + " " + parameterValue; in calculateUserMessage() 123 apply += " " + effectName.toUpperCase(); in calculateUserMessage() 125 return apply; in calculateUserMessage()
|
D | EditorStraighten.java | 42 String apply = context.getString(R.string.apply_effect); in calculateUserMessage() local 43 apply += " " + effectName; in calculateUserMessage() 44 return apply.toUpperCase(); in calculateUserMessage()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.java | 270 editor.apply(); in saveNotification() 302 editor.apply(); in clearSavedNotification() 371 editor.apply(); in writeToSharedPrefs() 388 editor.apply(); in writeSharedPrefsStarted() 415 editor.apply(); in writeSharedPrefsLap() 435 editor.apply(); in writeSharedPrefsStopped()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | CharMatcher.java | 523 return predicate.apply(c); 525 @Override public boolean apply(Character character) { 526 return predicate.apply(checkNotNull(character)); 1074 if (apply(c)) { 1101 if (apply(c)) { 1121 /*@Override*/ public boolean apply(Character character) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 81 .remove(KEY_ANYTHING_SAVED).apply(); 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() 134 editor.apply(); in saveDefaultAndAllAccounts()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 156 .apply(); in tryCdmaSetCategory() 162 .apply(); in tryCdmaSetCategory() 167 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, enable).apply(); in tryCdmaSetCategory() 172 CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, enable).apply(); in tryCdmaSetCategory()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartView.java | 118 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout() 123 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout() 151 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), in layoutSweep() 159 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | MailAppProvider.java | 164 public String apply(AccountCacheEntry accountCacheEntry) { in onCreate() 334 editor.apply(); in setLastViewedAccount() 352 editor.apply(); in setLastSentFromAccount() 414 editor.apply(); in cacheAccountList()
|