/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 164 editor.apply(); in upgradePrefs() 178 mSharedPrefs.edit().putString(key, resName).apply(); in persistResIdByName() 193 WallpaperPreferenceKeys.KEY_WALLPAPER_PRESENTATION_MODE, presentationMode).apply(); in setWallpaperPresentationMode() 220 editor.apply(); in setHomeWallpaperAttributions() 232 WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_ACTION_URL, actionUrl).apply(); in setHomeWallpaperActionUrl() 269 .apply(); in setHomeWallpaperBaseImageUrl() 282 WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_COLLECTION_ID, collectionId).apply(); in setHomeWallpaperCollectionId() 295 NoBackupKeys.KEY_HOME_WALLPAPER_BACKING_FILE, fileName).apply(); in setHomeWallpaperBackingFileName() 306 WallpaperPreferenceKeys.KEY_HOME_WALLPAPER_HASH_CODE, hashCode).apply(); in setHomeWallpaperHashCode() 323 .apply(); in clearHomeWallpaperMetadata() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | DefaultOmtpEventHandler.java | 60 .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 …]
|
D | VoicemailStatus.java | 92 public boolean apply() { in apply() method in VoicemailStatus.Editor 131 public boolean apply() { in apply() method in VoicemailStatus.DeferredEditor 137 super.apply(); in deferredApply() 154 .apply(); in disable()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Futures2.java | 38 ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception; in apply() method 45 ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception; in apply() method 52 TResult apply(T1 value1, T2 value2); in apply() method 59 TResult apply(T1 value1, T2 value2, T3 value3); in apply() method 102 public ListenableFuture<TResult> apply(@Nullable List<Object> list) throws Exception { 106 return fn.apply(value1, value2); 147 public ListenableFuture<TResult> apply(@Nullable List<Object> list) throws Exception { 152 return fn.apply(value1, value2, value3); 184 public ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception { 185 return Futures.immediateFuture(mFn.apply(value1, value2)); [all …]
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 84 .apply(); in setMultiAudioId() 96 .apply(); in setMultiAudioLanguage() 108 .apply(); in setMultiAudioChannelCount() 118 .apply(); in setDvrPlaybackTrackSettings() 125 .apply(); in setDvrPlaybackTrackSettings() 132 .apply(); in setDvrPlaybackTrackSettings() 138 .apply(); in setDvrPlaybackTrackSettings() 178 .apply(); in addContentRatingSystem() 188 .apply(); in removeContentRatingSystem() 223 .apply(); in setContentRatingLevel() [all …]
|
D | SetupUtils.java | 207 .apply(); in markAsKnownInput() 245 .apply(); in markAllInputsRecognized() 317 mSharedPreferences.edit().putBoolean(PREF_KEY_IS_FIRST_TUNE, false).apply(); in onTuned() 359 .apply(); in onInputListUpdated() 377 .apply(); in onSetupDone() 382 mSharedPreferences.edit().putStringSet(PREF_KEY_KNOWN_INPUTS, mKnownInputs).apply(); in onSetupDone() 386 mSharedPreferences.edit().putStringSet(PREF_KEY_SET_UP_INPUTS, mSetUpInputs).apply(); in onSetupDone()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 85 .apply(); in writeProvisioningStartedTimestamp() 101 .apply(); in writeNavigationBarColor() 117 .apply(); in writeNavigationBarDividerColor() 133 .apply(); in writeTextPrimaryColor() 149 .apply(); in writeTextSecondaryColor() 165 .apply(); in writeBackgroundColor() 181 .apply(); in writeAccentColor() 197 .apply(); in writeNotificationBackgroundColor()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SharedPreferenceUtil.java | 72 .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/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/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 71 prefs.edit().putInt(KEY_ALARM_GLOBAL_ID, globalId).apply() in updateGlobalIntentId() 89 prefs.edit().putInt(KEY_SORT_PREFERENCE, newSort.ordinal).apply() in toggleCitySort() 115 prefs.edit().putString(SettingsActivity.KEY_HOME_TZ, timeZoneId).apply() in getHomeTimeZone() 141 prefs.edit().putBoolean(SettingsActivity.KEY_CLOCK_DISPLAY_SECONDS, displaySeconds).apply() in setDisplayClockSeconds() 190 prefs.edit().putBoolean(SettingsActivity.KEY_TIMER_VIBRATE, enabled).apply() in setTimerVibrate() 197 prefs.edit().putString(SettingsActivity.KEY_TIMER_RINGTONE, uri.toString()).apply() in setTimerRingtoneUri() 217 prefs.edit().putString(KEY_DEFAULT_ALARM_RINGTONE_URI, uri.toString()).apply() in setDefaultAlarmRingtoneUri() 265 prefs.edit().putBoolean(KEY_RESTORE_BACKUP_FINISHED, true).apply() in setRestoreBackupFinished() 267 prefs.edit().remove(KEY_RESTORE_BACKUP_FINISHED).apply() in setRestoreBackupFinished()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | ManagePermissionsViewModel.kt | 39 MediatorLiveData<List<PermGroupPackagesUiInfo>>().apply { in <lambda>() 52 MediatorLiveData<List<PermGroupPackagesUiInfo>>().apply { in <lambda>() 68 MediatorLiveData<List<PermGroupPackagesUiInfo>>().apply { in <lambda>() 85 MediatorLiveData<List<PermGroupPackagesUiInfo>>().apply { in <lambda>() 102 MediatorLiveData<Boolean>().apply { in <lambda>()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 270 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()
|
D | AdvancedSettingsFragment.java | 137 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()
|
D | DebugSettingsFragment.java | 173 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/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 64 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/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 87 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleAutoclickCustomSeekbarControllerTest.java | 109 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in displayPreference_initSeekBar() 124 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in displayPreference_initDelayLabel() 135 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in onSharedPreferenceChanged_delayMode_updateCustomDelayValue() 153 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in onSeekBarProgressChanged_updateCustomDelayValue() 173 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in onShorterClicked_updateCustomDelayValue() 191 mSharedPreferences.edit().putInt(KEY_CUSTOM_DELAY_VALUE, 700).apply(); in onLongerClicked_updateCustomDelayValue()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkIdentityTest.kt | 35 val oemNone = NetworkCapabilities().apply { in testGetOemBitfield() 39 val oemPaid = NetworkCapabilities().apply { in testGetOemBitfield() 43 val oemPrivate = NetworkCapabilities().apply { in testGetOemBitfield() 47 val oemAll = NetworkCapabilities().apply { in testGetOemBitfield()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | SettingsManager.java | 61 editor.apply(); in generateAndSetId() 106 editor.apply(); in setDeviceConfig() 152 editor.apply(); in incrementFailureCounter() 174 editor.apply(); in clearFailureCounter() 186 editor.apply(); in clearPreferences()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 337 public boolean apply(Void v) { in testSetPreviewSurface() 346 public boolean apply(Void v) { in testSetPreviewSurface() 364 public boolean apply(Void v) { in testSetDisplaySurface() 373 public boolean apply(Void v) { in testSetDisplaySurface() 390 public boolean apply(Void v) { in testSetDeviceOrientation() 399 public boolean apply(Void v) { in testSetDeviceOrientation() 415 public boolean apply(Void v) { in testSetZoom() 479 public boolean apply(Void v) { in testSessionModifyResponse() 519 public boolean apply(Void v) { in testSetPauseImage()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | MenuManager.java | 81 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/WallpaperPicker2/src/com/android/wallpaper/network/ |
D | WallpaperRequester.java | 65 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageFile() 81 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageFileWithActivity() 91 .apply(RequestOptions.noTransformation()) in loadImageBitmap() 92 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageBitmap()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/ |
D | TunerPreferences.java | 56 .apply(); in setChannelDataVersion() 70 .apply(); in setScannedChannelCount() 84 .apply(); in setScanDone() 98 .apply(); in setTrickplayExpiredMs()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCall.java | 114 .apply(); in promptUserToSendMessage() 153 .apply(); in promptUserToViewSentMessage() 161 .apply(); in onDisconnectPressed() 171 .apply(); in onCallDisconnected() 180 .apply(); in onMessageSent() 208 .apply(); in clear()
|
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/ |
D | ContactDisplayPreferencesImpl.java | 58 sharedPreferences.edit().putString(displayOrderKey, displayOrder.getValue(appContext)).apply(); in setDisplayOrder() 72 sharedPreferences.edit().putString(sortOrderKey, sortOrder.getValue(appContext)).apply(); in setSortOrder() 96 .apply(); in migrate() 97 oldPreference.edit().remove(displayOrderKey).remove(sortOrderKey).apply(); in migrate()
|