Searched refs:apply (Results 1 - 25 of 220) sorted by relevance

123456789

/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DFlagOp.java9 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 DPredicate.java44 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 DFunction.java50 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 DEscaper.java94 public String apply(String from) {
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DCanvasAnimation.java24 public abstract void apply(GLCanvas canvas); method in class:CanvasAnimation
H A DAlphaAnimation.java34 public void apply(GLCanvas canvas) { method in class:AlphaAnimation
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherClings.java28 .apply();
/packages/services/Telephony/src/com/android/phone/vvm/omtp/
H A DDefaultOmtpEventHandler.java59 .apply();
67 .setDataChannelState(Status.DATA_CHANNEL_STATE_OK).apply();
73 .setDataChannelState(Status.DATA_CHANNEL_STATE_OK).apply();
78 .apply();
83 .apply();
97 .apply();
103 .apply();
110 .apply();
116 .apply();
122 .apply();
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DCommonPreferences.java32 editor.apply();
38 editor.apply();
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DAccountPreferences.java106 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 DMailPrefs.java228 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/Calculator/
H A Dbuild.gradle27 apply plugin: "com.android.application"
/packages/apps/Camera2/src/com/android/camera/async/
H A DFutures2.java37 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/TV/src/com/android/tv/util/
H A DTvSettings.java122 PREF_PIP_LAYOUT, pipLayout).apply();
146 PREF_PIP_SIZE, pipSize).apply();
157 PREF_MULTI_AUDIO_ID, language).apply();
167 PREF_MULTI_AUDIO_LANGUAGE, language).apply();
177 PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount).apply();
185 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply();
193 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply();
201 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply();
209 .putStringSet(PREF_CONTENT_RATING_SYSTEMS, contentRatingSystemSet).apply();
241 PREF_CONTENT_RATING_LEVEL, level).apply();
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchSettingsImpl.java99 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/Camera2/src/com/android/camera/settings/
H A DSettingsUpgrader.java63 * 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 DEditorStraighten.java42 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 DFlashSetting.java32 public OneCamera.PhotoCaptureParameters.Flash apply(String settingString) { method in class:FlashSetting.FlashStringToEnum
/packages/apps/Email/provider_src/com/android/email/
H A DPreferences.java117 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 DSharedPreferencesCompat.java25 * 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
/packages/services/Telephony/src/com/android/phone/
H A DVoicemailStatus.java91 public boolean apply() { method in class:VoicemailStatus.Editor
103 VvmLog.e(TAG, "apply :: failed to insert content resolver ", iae);
119 * #apply()} doesn't do anything. If later the creator of this object decides any status changes
129 public boolean apply() { method in class:VoicemailStatus.DeferredEditor
135 super.apply();
152 .apply();
/packages/apps/TV/common/src/com/android/tv/common/feature/
H A DSharedPreferencesFeature.java76 mSharedPreferences.edit().putBoolean(mKey, enable).apply();
79 mSharedPreferences.edit().putBoolean(mKey, enable).apply();
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
H A DSetting.java82 mSharedPreferences.edit().putInt(mKey, value).apply();
87 mSharedPreferences.edit().putString(mKey, value).apply();
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBuglePrefsImpl.java87 editor.apply();
97 editor.apply();
107 editor.apply();
117 editor.apply();
133 editor.apply();
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java141 editor.apply();
147 editor.apply();
159 editor.apply();
176 editor.apply();
182 editor.apply();

Completed in 6333 milliseconds

123456789