/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Predicate.java | 31 boolean apply(T t); method in interface:Predicate 38 public boolean apply(Object o) { 48 public boolean apply(Object o) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FlagOp.java | 9 public int apply(int flags) { method in class:FlagOp 16 public int apply(int flags) { 25 public int apply(int flags) {
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Predicate.java | 44 boolean apply(T input); method in interface:Predicate 51 * implies that either {@code predicate1.apply(input)} and 52 * {@code predicate2.apply(input)} are both {@code true} or both
|
H A D | Function.java | 50 T apply(F from); method in interface:Function 57 * that either {@code function1.apply(o)} and {@code function2.apply(o)} are 58 * both null, or {@code function1.apply(o).equals(function2.apply(o))}.
|
H A D | Escaper.java | 94 public String apply(String from) {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | DefaultOmtpEventHandler.java | 60 .apply(); 69 .apply(); 76 .apply(); 79 status.setConfigurationState(Status.CONFIGURATION_STATE_FAILED).apply(); 82 status.setConfigurationState(Status.CONFIGURATION_STATE_FAILED).apply(); 94 status.setDataChannelState(Status.DATA_CHANNEL_STATE_OK).apply(); 98 status.setDataChannelState(Status.DATA_CHANNEL_STATE_NO_CONNECTION).apply(); 104 .apply(); 109 .apply(); 115 .apply(); [all...] |
H A D | VoicemailStatus.java | 91 public boolean apply() { method in class:VoicemailStatus.Editor 104 VvmLog.e(TAG, "apply :: failed to insert content resolver ", iae); 119 * deferred. This object will be passed around as a usual {@link Editor}, but {@link #apply()} 130 public boolean apply() { method in class:VoicemailStatus.DeferredEditor 136 super.apply(); 153 .apply();
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
H A D | CanvasAnimation.java | 24 public abstract void apply(GLCanvas canvas); method in class:CanvasAnimation
|
H A D | AlphaAnimation.java | 34 public void apply(GLCanvas canvas) { method in class:AlphaAnimation
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | WidgetDAO.java | 41 prefs.edit().remove(key).apply(); 43 prefs.edit().putInt(key, count).apply();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | CommonPreferences.java | 32 editor.apply(); 38 editor.apply();
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | AccountPreferences.java | 106 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply(); 110 getEditor().remove(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED).apply(); 118 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); 130 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0).apply(); 137 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, value + 1).apply(); 145 getEditor().putInt(PreferenceKeys.LAST_SEEN_OUTBOX_COUNT, count).apply();
|
H A D | MailPrefs.java | 228 createWidgetPreferenceValue(account, folderUri)).apply(); 246 getEditor().apply(); 255 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply(); 283 getEditor().putString(PreferenceKeys.REMOVAL_ACTION, removalAction).apply(); 296 getEditor().putBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, enabled).apply(); 331 .apply(); 346 getEditor().putBoolean(PreferenceKeys.CONVERSATION_PHOTO_TEASER_SHOWN, true).apply(); 360 getEditor().putInt(PreferenceKeys.LONG_PRESS_TO_SELECT_TIP_SHOWN, 1).apply(); 365 getEditor().putStringSet(PreferenceKeys.DISPLAY_IMAGES, addresses).apply(); 369 getEditor().putStringSet(PreferenceKeys.DISPLAY_IMAGES_PATTERNS, patterns).apply(); [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
H A D | OnboardingUtils.java | 55 .apply(); 74 .putInt(PREF_KEY_ONBOARDING_VERSION_CODE, ONBOARDING_VERSION).apply();
|
H A D | TvSettings.java | 78 PREF_MULTI_AUDIO_ID, language).apply(); 88 PREF_MULTI_AUDIO_LANGUAGE, language).apply(); 98 PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount).apply(); 106 .remove(PREF_DVR_MULTI_AUDIO_ID).apply(); 111 .putString(PREF_DVR_MULTI_AUDIO_ID, info.getId()).apply(); 116 .remove(PREF_DVR_SUBTITLE_ID).apply(); 120 .putString(PREF_DVR_SUBTITLE_ID, info.getId()).apply(); 157 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); 165 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply(); 197 PREF_CONTENT_RATING_LEVEL, level).apply(); [all...] |
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
H A D | IntegerArrayStream.java | 63 return ifTrue.apply(this); 66 return ifFalse.apply(this);
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | Futures2.java | 37 ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception; method in interface:Futures2.AsyncFunction2 44 ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception; method in interface:Futures2.AsyncFunction3 51 TResult apply(T1 value1, T2 value2); method in interface:Futures2.Function2 58 TResult apply(T1 value1, T2 value2, T3 value3); method in interface:Futures2.Function3 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 { method in class:Futures2.ImmediateAsyncFunction2 184 return Futures.immediateFuture(mFn.apply(value 201 public ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception { method in class:Futures2.ImmediateAsyncFunction3 [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchSettingsImpl.java | 99 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); 103 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); 107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); 111 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value)); 115 SharedPreferencesCompat.apply(getSearchPreferences().edit().remove(name)); 157 SharedPreferencesCompat.apply(prefs.edit() 210 SharedPreferencesCompat.apply(sharedPrefEditor);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SharedPreferenceUtil.java | 72 .apply(); 84 .apply(); 96 .apply(); 133 .putInt(PREFERENCE_KEY_GLOBAL_SYNC_OFF_DISMISSES, 0).apply(); 141 .putInt(PREFERENCE_KEY_GLOBAL_SYNC_OFF_DISMISSES, value + 1).apply(); 157 .putInt(buildSharedPrefsName(accountName), 0).apply(); 165 .putInt(buildSharedPrefsName(accountName), value + 1).apply(); 190 .apply(); 229 .apply(); 255 isDismissed).apply(); [all...] |
/packages/apps/Camera2/src/com/android/camera/settings/ |
H A D | SettingsUpgrader.java | 63 * than some known version for a particular setting, and apply upgrade logic 97 oldPreferencesLocation.edit().remove(key).apply(); 116 oldPreferencesLocation.edit().remove(key).apply(); 135 oldPreferencesLocation.edit().remove(key).apply();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | EditorStraighten.java | 42 String apply = context.getString(R.string.apply_effect); 43 apply += " " + effectName; 44 return apply.toUpperCase();
|
/packages/apps/Camera2/src/com/android/camera/one/ |
H A D | FlashSetting.java | 32 public OneCamera.PhotoCaptureParameters.Flash apply(String settingString) { method in class:FlashSetting.FlashStringToEnum
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
H A D | TabDAO.java | 45 prefs.edit().putInt(KEY_SELECTED_TAB, tab.ordinal()).apply();
|
/packages/apps/Email/provider_src/com/android/email/ |
H A D | Preferences.java | 117 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); 121 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); 129 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); 137 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); 145 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply(); 161 mSharedPreferences.edit().putString(DEVICE_UID, result).apply(); 171 mSharedPreferences.edit().putInt(ONE_TIME_INITIALIZATION_PROGRESS, progress).apply(); 266 .apply(); 270 mSharedPreferences.edit().clear().apply();
|
/packages/apps/Music/src/com/android/music/ |
H A D | SharedPreferencesCompat.java | 25 * Reflection utils to call SharedPreferences$Editor.apply when possible, 26 * falling back to commit when apply isn't available. 34 return cls.getMethod("apply"); 41 public static void apply(SharedPreferences.Editor editor) { method in class:SharedPreferencesCompat
|