Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/support/v4/tests/java/android/support/v4/view/
DGravityCompatTest.java93 GravityCompat.apply(Gravity.LEFT | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
99 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
105 GravityCompat.apply(Gravity.RIGHT | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
111 GravityCompat.apply(Gravity.LEFT | Gravity.CENTER_VERTICAL, 100, 50, in testApplyNoOffsetsLtr()
117 GravityCompat.apply(Gravity.CENTER, 100, 50, in testApplyNoOffsetsLtr()
123 GravityCompat.apply(Gravity.RIGHT | Gravity.CENTER_VERTICAL, 100, 50, in testApplyNoOffsetsLtr()
129 GravityCompat.apply(Gravity.LEFT | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsLtr()
135 GravityCompat.apply(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsLtr()
141 GravityCompat.apply(Gravity.RIGHT | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsLtr()
150 GravityCompat.apply(GravityCompat.START | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DPredicatesTest.java27 public boolean apply(Object o) {
33 public boolean apply(Object o) {
39 assertTrue(Predicates.and(newArrayList(TRUE)).apply(null)); in testAndPredicate_AllConditionsTrue()
40 assertTrue(Predicates.and(newArrayList(TRUE, TRUE)).apply(null)); in testAndPredicate_AllConditionsTrue()
44 assertFalse(Predicates.and(newArrayList(FALSE, TRUE, TRUE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
45 assertFalse(Predicates.and(newArrayList(TRUE, FALSE, TRUE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
46 assertFalse(Predicates.and(newArrayList(TRUE, TRUE, FALSE)).apply(null)); in testAndPredicate_AtLeastOneConditionIsFalse()
50 assertTrue(Predicates.or(newArrayList(TRUE, TRUE, TRUE)).apply(null)); in testOrPredicate_AllConditionsTrue()
54 assertFalse(Predicates.or(newArrayList(FALSE, FALSE, FALSE)).apply(null)); in testOrPredicate_AllConditionsFalse()
58 assertTrue(Predicates.or(newArrayList(TRUE, FALSE, FALSE)).apply(null)); in testOrPredicate_AtLeastOneConditionIsTrue()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DGravityCompat.java30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); in apply() method
31 void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() method
44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() method in GravityCompat.GravityCompatImplBase
46 Gravity.apply(gravity, w, h, container, outRect); in apply()
50 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() method in GravityCompat.GravityCompatImplBase
52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); in apply()
69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() method in GravityCompat.GravityCompatImplJellybeanMr1
71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); in apply()
75 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() method in GravityCompat.GravityCompatImplJellybeanMr1
77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, in apply()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java61 public void apply(View view, boolean apply) {
67 applyToChild(icon, apply, header.getOriginalIconColor());
68 applyToChild(expand, apply, header.getOriginalNotificationColor());
156 mComparators.get(compI).apply(row); in updateChildrenHeaderAppearance()
232 mComparators.get(compI).apply(row, true /* reset */); in restoreNotificationHeader()
280 public void apply(ExpandableNotificationRow row) { in apply() method in NotificationHeaderUtil.HeaderProcessor
281 apply(row, false /* reset */); in apply()
284 public void apply(ExpandableNotificationRow row, boolean reset) { in apply() method in NotificationHeaderUtil.HeaderProcessor
285 boolean apply = mApply && !reset; in apply()
287 applyToView(apply, row.getNotificationHeader()); in apply()
[all …]
DFlingAnimationUtils.java70 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() method in FlingAnimationUtils
71 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
83 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() method in FlingAnimationUtils
85 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
99 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() method in FlingAnimationUtils
118 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() method in FlingAnimationUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java185 private void apply(State state) { in apply() method in StatusBarWindowManager
229 apply(mCurrentState); in setKeyguardShowing()
234 apply(mCurrentState); in setKeyguardOccluded()
239 apply(mCurrentState); in setKeyguardNeedsInput()
245 apply(mCurrentState); in setPanelVisible()
250 apply(mCurrentState); in setStatusBarFocusable()
255 apply(mCurrentState); in setBouncerShowing()
260 apply(mCurrentState); in setBackdropShowing()
265 apply(mCurrentState); in setKeyguardFadingAway()
270 apply(mCurrentState); in setQsExpanded()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DSharedPreferencesCompat.java30 void apply(@NonNull SharedPreferences.Editor editor); in apply() method
36 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() method in SharedPreferencesCompat.EditorCompat.EditorHelperBaseImpl
44 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() method in SharedPreferencesCompat.EditorCompat.EditorHelperApi9Impl
45 EditorCompatGingerbread.apply(editor); in apply()
66 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() method in SharedPreferencesCompat.EditorCompat
67 mHelper.apply(editor); in apply()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DAssignableFromTest.java33 assertTrue(assignableFrom.apply(testMethodFor(Animal.class))); in testSelfIsAssignable()
37 assertTrue(assignableFrom.apply(testMethodFor(Mammal.class))); in testSubclassesAreAssignable()
38 assertTrue(assignableFrom.apply(testMethodFor(Human.class))); in testSubclassesAreAssignable()
42 assertFalse(assignableFrom.apply(testMethodFor(Pencil.class))); in testNotAssignable()
48 assertTrue(assignableFrom.apply(testMethodFor(Pencil.class))); in testImplementorsAreAssignable()
49 assertTrue(assignableFrom.apply(testMethodFor(Pen.class))); in testImplementorsAreAssignable()
/frameworks/base/core/java/com/android/internal/util/
DPredicates.java87 public boolean apply(T t) { in apply() method in Predicates.AndPredicate
89 if (!predicate.apply(t)) { in apply()
104 public boolean apply(T t) { in apply() method in Predicates.OrPredicate
106 if (predicate.apply(t)) { in apply()
121 public boolean apply(T t) { in apply() method in Predicates.NotPredicate
122 return !predicate.apply(t); in apply()
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DGravityCompatJellybeanMr1.java29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() method in GravityCompatJellybeanMr1
31 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); in apply()
34 public static void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() method in GravityCompatJellybeanMr1
36 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection); in apply()
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java231 SharedPreferencesCompat.apply(mStorage.edit().putLong(name, time)); in getTimeBefore()
245 SharedPreferencesCompat.apply( in setTriggerTimeMillis()
257 SharedPreferencesCompat.apply(mStorage.edit() in setMoratoriumTimeMillis()
293 SharedPreferencesCompat.apply( in setEnabledState()
304 SharedPreferencesCompat.apply(mStorage.edit() in onSuccess()
322 SharedPreferencesCompat.apply(editor); in onTransientError()
332 SharedPreferencesCompat.apply(mStorage.edit().remove(PREFIX + "errorCount")); in resetTransientError()
342 SharedPreferencesCompat.apply(mStorage.edit().putBoolean(PREFIX + "permanentError", true)); in onPermanentError()
350 SharedPreferencesCompat.apply(mStorage.edit().remove(PREFIX + "permanentError")); in resetPermanentError()
/frameworks/base/core/tests/coretests/src/android/view/
DRemoteViewsTest.java70 View inflated = clone.apply(mContext, mContainer); in clone_doesNotCopyBitmap()
82 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied()
91 View inflated = clone.apply(mContext, mContainer); in clone_clones()
115 original.apply(mContext, mContainer); in clone_repeatedly()
124 clone.apply(mContext, mContainer); in clone_chained()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java78 get(context).edit().putBoolean(key, value).apply(); in putBoolean()
86 get(context).edit().putInt(key, value).apply(); in putInt()
94 get(context).edit().putLong(key, value).apply(); in putLong()
102 get(context).edit().putString(key, value).apply(); in putString()
110 get(context).edit().remove(key).apply(); in remove()
/frameworks/base/packages/WAPPushManager/
Dproguard.flags2 #apply method is dynamically referenced by the reflection class.
4 void apply();
7 void apply();
/frameworks/data-binding/
DpropLoader.gradle9 apply from: "${root}/../buildSrc/base/version.gradle"
21 apply from: "$root/../buildSrc/base/version.gradle"
72 p.apply from: "$dataBindingRootFolder/../buildSrc/base/publish.gradle"
73 p.apply from: "$dataBindingRootFolder/../buildSrc/base/bintray.gradle"
75 p.apply from: "$dataBindingRootFolder/../buildSrc/base/javadoc.gradle"
/frameworks/base/core/java/android/view/
DGravity.java138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply() method in Gravity
139 apply(gravity, w, h, container, 0, 0, outRect); in apply()
159 public static void apply(int gravity, int w, int h, Rect container, in apply() method in Gravity
162 apply(absGravity, w, h, container, 0, 0, outRect); in apply()
186 public static void apply(int gravity, int w, int h, Rect container, in apply() method in Gravity
296 public static void apply(int gravity, int w, int h, Rect container, in apply() method in Gravity
299 apply(absGravity, w, h, container, xAdj, yAdj, outRect); in apply()
/frameworks/opt/setupwizard/library/
Dself.gradle5 apply plugin: 'dist'
7 apply from: 'build.gradle'
8 apply from: '../tools/gradle/docs.gradle'
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLocalPreferences.java50 getPrefs(context).edit().putBoolean(KEY_FILE_SIZE, display).apply(); in setDisplayFileSize()
59 getPrefs(context).edit().putBoolean(INCLUDE_DEVICE_ROOT + action, display).apply(); in setShowDeviceRoot()
64 getPrefs(context).edit().putInt(createKey(root), viewMode).apply(); in setViewMode()
108 getPrefs(context).edit().putInt(key, status).apply(); in setScopedAccessPermissionStatus()
/frameworks/base/core/java/android/text/style/
DTypefaceSpan.java75 apply(ds, mFamily); in updateDrawState()
80 apply(paint, mFamily); in updateMeasureState()
83 private static void apply(Paint paint, String family) { in apply() method in TypefaceSpan
DStyleSpan.java83 apply(ds, mStyle); in updateDrawState()
88 apply(paint, mStyle); in updateMeasureState()
91 private static void apply(Paint paint, int style) { in apply() method in StyleSpan
DLocaleSpan.java118 apply(ds, mLocales); in updateDrawState()
123 apply(paint, mLocales); in updateMeasureState()
126 private static void apply(@NonNull Paint paint, @NonNull LocaleList locales) { in apply() method in LocaleSpan
/frameworks/support/v4/gingerbread/android/support/v4/content/
DEditorCompatGingerbread.java23 public static void apply(@NonNull SharedPreferences.Editor editor) { in apply() method in EditorCompatGingerbread
25 editor.apply(); in apply()
/frameworks/data-binding/developmentPlugins/
Dbuild.gradle2 apply from: '../propLoader.gradle'
4 apply plugin: 'maven'
/frameworks/ex/common/
Dbuild.gradle1 apply plugin: 'android-library'
2 apply plugin: 'logtags'
/frameworks/data-binding/compilationTests/src/test/resources/
Dproject_build.gradle3 apply from: "${project.projectDir}/propLoaderClone.gradle"
11 apply plugin: 'maven'

12345678910>>...16