Home
last modified time | relevance | path

Searched refs:apply (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java228 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 …]
DAccountPreferences.java106 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()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DDefaultOmtpEventHandler.java60 .apply(); in handleConfigurationEvent()
69 .apply(); in handleConfigurationEvent()
76 .apply(); in handleConfigurationEvent()
79 status.setConfigurationState(Status.CONFIGURATION_STATE_FAILED).apply(); in handleConfigurationEvent()
82 status.setConfigurationState(Status.CONFIGURATION_STATE_FAILED).apply(); in handleConfigurationEvent()
94 status.setDataChannelState(Status.DATA_CHANNEL_STATE_OK).apply(); in handleDataChannelEvent()
98 status.setDataChannelState(Status.DATA_CHANNEL_STATE_NO_CONNECTION).apply(); in handleDataChannelEvent()
104 .apply(); in handleDataChannelEvent()
109 .apply(); in handleDataChannelEvent()
115 .apply(); in handleDataChannelEvent()
[all …]
DVoicemailStatus.java91 public boolean apply() { in apply() method in VoicemailStatus.Editor
130 public boolean apply() { in apply() method in VoicemailStatus.DeferredEditor
136 super.apply(); in deferredApply()
153 .apply(); in disable()
/packages/apps/Camera2/src/com/android/camera/async/
DFutures2.java37 ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception; in apply() method
44 ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception; in apply() method
51 TResult apply(T1 value1, T2 value2); in apply() method
58 TResult apply(T1 value1, T2 value2, T3 value3); in apply() method
101 public ListenableFuture<TResult> apply(@Nullable List<Object> list) throws Exception {
105 return fn.apply(value1, value2);
146 public ListenableFuture<TResult> apply(@Nullable List<Object> list) throws Exception {
151 return fn.apply(value1, value2, value3);
183 public ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception {
184 return Futures.immediateFuture(mFn.apply(value1, value2));
[all …]
/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java118 PREF_PIP_LAYOUT, pipLayout).apply(); in setPipLayout()
142 PREF_PIP_SIZE, pipSize).apply(); in setPipSize()
153 PREF_MULTI_AUDIO_ID, language).apply(); in setMultiAudioId()
163 PREF_MULTI_AUDIO_LANGUAGE, language).apply(); in setMultiAudioLanguage()
173 PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount).apply(); in setMultiAudioChannelCount()
181 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); in addContentRatingSystems()
189 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); in addContentRatingSystem()
197 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); in removeContentRatingSystems()
205 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); in removeContentRatingSystem()
237 PREF_CONTENT_RATING_LEVEL, level).apply(); in setContentRatingLevel()
[all …]
DSetupUtils.java208 .putStringSet(PREF_KEY_RECOGNIZED_INPUTS, mRecognizedInputs).apply(); in markAsKnownInput()
250 .apply(); in markAllInputsRecognized()
320 mSharedPreferences.edit().putBoolean(PREF_KEY_IS_FIRST_TUNE, false).apply(); in onTuned()
358 .putStringSet(PREF_KEY_RECOGNIZED_INPUTS, mRecognizedInputs).apply(); in onInputListUpdated()
374 .apply(); in onSetupDone()
379 mSharedPreferences.edit().putStringSet(PREF_KEY_KNOWN_INPUTS, mKnownInputs).apply(); in onSetupDone()
383 mSharedPreferences.edit().putStringSet(PREF_KEY_SET_UP_INPUTS, mSetUpInputs).apply(); in onSetupDone()
/packages/apps/Contacts/src/com/android/contacts/util/
DSharedPreferenceUtil.java72 .apply(); in setHamburgerPromoDisplayedBefore()
84 .apply(); in setHamburgerMenuClickedBefore()
96 .apply(); in setHamburgerPromoTriggerActionHappenedBefore()
133 .putInt(PREFERENCE_KEY_GLOBAL_SYNC_OFF_DISMISSES, 0).apply(); in resetNumOfDismissesForAutoSyncOff()
141 .putInt(PREFERENCE_KEY_GLOBAL_SYNC_OFF_DISMISSES, value + 1).apply(); in incNumOfDismissesForAutoSyncOff()
157 .putInt(buildSharedPrefsName(accountName), 0).apply(); in resetNumOfDismissesForAccountSyncOff()
165 .putInt(buildSharedPrefsName(accountName), value + 1).apply(); in incNumOfDismissesForAccountSyncOff()
190 .apply(); in persistSimStates()
229 .apply(); in addRestoredDevice()
255 isDismissed).apply(); in setWelcomeCardDismissed()
/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()
266 .apply(); in setLastUsedAccountId()
270 mSharedPreferences.edit().clear().apply(); in clear()
/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()
210 SharedPreferencesCompat.apply(sharedPrefEditor); in setSearchBaseDomain()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.java82 prefs.edit().putInt(KEY_ALARM_GLOBAL_ID, globalId).apply(); in updateGlobalIntentId()
100 prefs.edit().putInt(KEY_SORT_PREFERENCE, newSort.ordinal()).apply(); in toggleCitySort()
126 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply(); in getHomeTimeZone()
152 prefs.edit().putBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, displaySeconds).apply(); in setDisplayClockSeconds()
201 prefs.edit().putBoolean(SettingsActivity.KEY_TIMER_VIBRATE, enabled).apply(); in setTimerVibrate()
208 prefs.edit().putString(SettingsActivity.KEY_TIMER_RINGTONE, uri.toString()).apply(); in setTimerRingtoneUri()
224 prefs.edit().putString(KEY_DEFAULT_ALARM_RINGTONE_URI, uri.toString()).apply(); in setDefaultAlarmRingtoneUri()
274 prefs.edit().putBoolean(KEY_RESTORE_BACKUP_FINISHED, true).apply(); in setRestoreBackupFinished()
276 prefs.edit().remove(KEY_RESTORE_BACKUP_FINISHED).apply(); in setRestoreBackupFinished()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java270 editor.apply(); in readShowsLanguageSwitchKey()
284 prefs.edit().putString(PREF_CUSTOM_INPUT_STYLES, prefSubtypes).apply(); in writePrefAdditionalSubtypes()
383 mPrefs.edit().remove(PREF_LAST_USED_PERSONALIZATION_TOKEN).apply(); in writeLastUsedPersonalizationToken()
386 mPrefs.edit().putString(PREF_LAST_USED_PERSONALIZATION_TOKEN, tokenStr).apply(); in writeLastUsedPersonalizationToken()
396 mPrefs.edit().putLong(PREF_LAST_PERSONALIZATION_DICT_WIPED_TIME, timestamp).apply(); in writeLastPersonalizationDictWipedTime()
404 mPrefs.edit().putStringSet(PREF_CORPUS_HANDLES_FOR_PERSONALIZATION, corpusHandles).apply(); in writeCorpusHandlesForPersonalization()
413 prefs.edit().putString(PREF_EMOJI_RECENT_KEYS, str).apply(); in writeEmojiRecentKeys()
423 prefs.edit().putInt(key, categoryPageId).apply(); in writeLastTypedEmojiCategoryPageId()
434 prefs.edit().putInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, categoryId).apply(); in writeLastShownEmojiCategoryId()
DAdvancedSettingsFragment.java137 prefs.edit().putInt(key, value).apply(); in setupKeypressVibrationDurationSettings()
142 prefs.edit().remove(key).apply(); in setupKeypressVibrationDurationSettings()
192 prefs.edit().putFloat(key, getValueFromPercentage(value)).apply(); in setupKeypressSoundVolumeSettings()
197 prefs.edit().remove(key).apply(); in setupKeypressSoundVolumeSettings()
237 prefs.edit().putInt(key, value).apply(); in setupKeyLongpressTimeoutSettings()
242 prefs.edit().remove(key).apply(); in setupKeyLongpressTimeoutSettings()
DDebugSettingsFragment.java173 prefs.edit().putFloat(key, getValueFromPercentage(value)).apply(); in setupKeyPreviewAnimationScale()
178 prefs.edit().remove(key).apply(); in setupKeyPreviewAnimationScale()
215 prefs.edit().putInt(key, value).apply(); in setupKeyPreviewAnimationDuration()
220 prefs.edit().remove(key).apply(); in setupKeyPreviewAnimationDuration()
261 prefs.edit().putFloat(key, getValueFromPercentage(value)).apply(); in setupKeyboardHeight()
266 prefs.edit().remove(key).apply(); in setupKeyboardHeight()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java315 public boolean apply(Void v) { in testSetPreviewSurface()
324 public boolean apply(Void v) { in testSetPreviewSurface()
341 public boolean apply(Void v) { in testSetDisplaySurface()
350 public boolean apply(Void v) { in testSetDisplaySurface()
366 public boolean apply(Void v) { in testSetDeviceOrientation()
375 public boolean apply(Void v) { in testSetDeviceOrientation()
390 public boolean apply(Void v) { in testSetZoom()
452 public boolean apply(Void v) { in testSessionModifyResponse()
490 public boolean apply(Void v) { in testSetPauseImage()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java81 stringSupplier.apply(R.string.app_label)); in updateKeyboardShortcutsMenu()
83 stringSupplier.apply(R.string.menu_cut_to_clipboard), KeyEvent.KEYCODE_X, in updateKeyboardShortcutsMenu()
86 stringSupplier.apply(R.string.menu_copy_to_clipboard), KeyEvent.KEYCODE_C, in updateKeyboardShortcutsMenu()
89 stringSupplier.apply(R.string.menu_paste_from_clipboard), KeyEvent.KEYCODE_V, in updateKeyboardShortcutsMenu()
92 stringSupplier.apply(R.string.menu_create_dir), KeyEvent.KEYCODE_E, in updateKeyboardShortcutsMenu()
95 stringSupplier.apply(R.string.menu_select_all), KeyEvent.KEYCODE_A, in updateKeyboardShortcutsMenu()
98 stringSupplier.apply(R.string.menu_new_window), KeyEvent.KEYCODE_N, in updateKeyboardShortcutsMenu()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
DFlingAnimationUtils.java64 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() method in FlingAnimationUtils
65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
77 public void apply( in apply() method in FlingAnimationUtils
79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
93 public void apply( in apply() method in FlingAnimationUtils
111 public void apply( in apply() method in FlingAnimationUtils
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DFlingAnimationUtils.java109 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() method in FlingAnimationUtils
110 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
122 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() method in FlingAnimationUtils
124 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
138 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() method in FlingAnimationUtils
157 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() method in FlingAnimationUtils
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DUserInputHandler.java93 try (T event = mEventConverter.apply(e)) { in onDown()
108 try (T event = mEventConverter.apply(e2)) { in onScroll()
122 try (T event = mEventConverter.apply(e)) { in onSingleTapUp()
136 try (T event = mEventConverter.apply(e)) { in onSingleTapConfirmed()
150 try (T event = mEventConverter.apply(e)) { in onDoubleTap()
164 try (T event = mEventConverter.apply(e)) { in onLongPress()
182 try (T event = mEventConverter.apply(e)) { in onRightClick()
/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java87 editor.apply(); in putInt()
97 editor.apply(); in putLong()
107 editor.apply(); in putBoolean()
117 editor.apply(); in putString()
133 editor.apply(); in remove()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java111 defaultPreferences.edit().remove(OLD_KEY_UPGRADE_VERSION).apply(); in getLastVersion()
361 newPrefs.edit().remove(key).apply(); in copyPreferences()
364 newPrefs.edit().putString(key, boolValue).apply(); in copyPreferences()
367 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
375 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
381 newPrefs.edit().putString(key, (String) value).apply(); in copyPreferences()
385 newPrefs.edit().remove(key).apply(); in copyPreferences()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java87 public boolean apply(@Nullable AccountInfo input) { in apply() method
93 public boolean apply(@Nullable AccountInfo input) { in apply() method
99 public boolean apply(@Nullable AccountInfo input) { in apply() method
222 public boolean apply(@Nullable AccountInfo input) { in getWritableGoogleAccounts()
358 public List<AccountWithDataSet> apply(@Nullable AccountTypeProvider typeProvider) {
544 public List<AccountInfo> apply(@Nullable List<List<AccountWithDataSet>> input) {
572 public List<AccountInfo> apply(List<AccountInfo> input) {
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java106 .apply(); in promptUserToSendMessage()
143 .apply(); in promptUserToViewSentMessage()
152 .apply(); in onCallDisconnected()
160 .apply(); in onMessageSent()
172 .apply(); in clear()
/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferences.java136 .apply(); in setChannelDataVersion()
158 .apply(); in setScannedChannelCount()
180 .apply(); in setScanDone()
202 .apply(); in setShouldShowSetupActivity()
224 .apply(); in setStoreTsStream()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java113 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()

12345678910>>...12