Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/base/tests/testables/tests/src/android/testing/
DDexmakerShareClassLoaderRuleTest.java49 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_setsProperty()
54 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty()
61 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty_toExactValue()
69 public void evaluate() throws Throwable { in rule_preventsOtherThreadFromInterfering()
75 new DexmakerShareClassLoaderRule().apply(ASSERT_STATEMENT, null).evaluate(); in rule_preventsOtherThreadFromInterfering()
90 }, null).evaluate(); in rule_preventsOtherThreadFromInterfering()
98 public void evaluate() throws Throwable { in rule_isReentrant()
100 new DexmakerShareClassLoaderRule().apply(ASSERT_STATEMENT, null).evaluate(); in rule_isReentrant()
103 }, null).evaluate(); in rule_isReentrant()
113 public void evaluate() throws Throwable {
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java88 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_empty()
90 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_empty()
92 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_empty()
107 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_oneElement()
116 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_oneElement()
125 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_oneElement()
134 assertThat(mEngine.evaluate(appInstallMetadata4).getEffect()) in testAllowedInstallers_oneElement()
150 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_multipleElement()
159 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_multipleElement()
168 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_multipleElement()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DExtendedMockitoRuleTest.java136 mBuilder.build().apply(mStatement, mDescription).evaluate(); in testMocksInitialized()
143 new ExtendedMockitoRule.Builder().build().apply(mStatement, mDescription).evaluate(); in testMocksNotInitialized()
174 public void evaluate() throws Throwable { in testMocksStatic()
182 }, mDescription).evaluate(); in testMocksStatic()
204 public void evaluate() throws Throwable { in testMocksStatic_multipleClasses()
218 }, mDescription).evaluate(); in testMocksStatic_multipleClasses()
233 public void evaluate() throws Throwable { in testMockStatic_ruleAndAnnotation()
247 }, newTestMethod(new MockStaticAnnotation(AnotherStaticClass.class))).evaluate(); in testMockStatic_ruleAndAnnotation()
274 public void evaluate() throws Throwable { in testSpyStatic()
282 }, mDescription).evaluate(); in testSpyStatic()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DRadiiAnimator.java53 evaluate(animation.getAnimatedFraction()))); in RadiiAnimator()
57 animationListener.onRadiiAnimationUpdate(evaluate(/* t = */ 0.0f)); in RadiiAnimator()
69 evaluate(mAnimationDriver.getAnimatedFraction())); in RadiiAnimator()
82 mStartValues = evaluate(mAnimationDriver.getAnimatedFraction()); in startAnimation()
96 float[] evaluate(float time /* interpolator value between 0.0 and 1.0 */) { in evaluate() method in RadiiAnimator
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/
DLambdaPerfTest.java81 public void evaluate() throws Throwable {
88 base.evaluate();
96 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test1ParamPredicate()
97 evaluate(LAMBDA_FORM_POOLED, () -> { in test1ParamPredicate()
111 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test2PrimitiveParamsPredicate()
112 evaluate(LAMBDA_FORM_POOLED, () -> { in test2PrimitiveParamsPredicate()
126 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mBounds, mTop, mTaskId))); in test3ParamsPredicate()
127 evaluate(LAMBDA_FORM_POOLED, () -> { in test3ParamsPredicate()
137 evaluate(LAMBDA_FORM_REGULAR, () -> { in testMessage()
142 evaluate(LAMBDA_FORM_POOLED, () -> { in testMessage()
[all …]
/frameworks/base/libs/hwui/
DPropertyValuesHolder.cpp38 void ColorEvaluator::evaluate(SkColor* outColor, const SkColor& fromColor, const SkColor& toColor, in evaluate() function in android::uirenderer::ColorEvaluator
49 void PathEvaluator::evaluate(PathData* out, const PathData& from, const PathData& to, in evaluate() function in android::uirenderer::PathEvaluator
72 mEvaluator->evaluate(&value, mDataSource[lowIndex], mDataSource[lowIndex + 1], fraction); in getValueFromData()
82 mEvaluator->evaluate(&value, mStartValue, mEndValue, fraction); in calculateAnimatedValue()
103 mEvaluator->evaluate(&mPathData, mStartValue, mEndValue, fraction); in setFraction()
DPropertyValuesHolder.h40 virtual void evaluate(T* out, const T& from, const T& to, float fraction) const {}; in evaluate() function
46 virtual void evaluate(float* out, const float& from, const float& to, in evaluate() function
54 virtual void evaluate(SkColor* outColor, const SkColor& from, const SkColor& to,
59 virtual void evaluate(PathData* out, const PathData& from, const PathData& to,
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DEvaluator.kt70 fun evaluate(conditions: Collection<Condition>, @ConditionOperand operand: Int): Boolean? { in <lambda>() method
84 return evaluate(values = values, operand = operand) in <lambda>()
93 internal fun evaluate(values: Collection<Boolean?>, @ConditionOperand operand: Int): Boolean? { in <lambda>() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSceneContainerRule.kt36 override fun evaluate() { in <lambda>() method
65 runCatching { base?.evaluate() } in <lambda>()
80 base?.evaluate() in <lambda>()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DOverlayableSystemBooleanResourceWrapper.java81 final AtomicBoolean valueRef = new AtomicBoolean(evaluate(userContext, boolResId)); in create()
96 final boolean newValue = evaluate(userContext, boolResId); in create()
108 valueRef.set(evaluate(userContext, boolResId)); in create()
137 private static boolean evaluate(@NonNull Context context, @BoolRes int boolResId) { in evaluate() method in OverlayableSystemBooleanResourceWrapper
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractor.kt61 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInX), in <lambda>()
62 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInY), in <lambda>()
63 floatEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInProgress), in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/util/
DIgnoreableExpect.kt37 override fun evaluate() { in apply() method
40 expect.apply(base, description).evaluate() in apply()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceThreadRule.java39 public void evaluate() throws Throwable { in apply()
44 base.evaluate(); in apply()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfManualStatusReporter.java66 public void evaluate() throws Throwable { in apply()
67 base.evaluate(); in apply()
DStateKeeperRule.java50 public void evaluate() throws Throwable { in apply()
53 base.evaluate(); in apply()
DPerfStatusReporter.java65 public void evaluate() throws Throwable { in apply()
92 base.evaluate(); in apply()
/frameworks/base/media/tests/mediatestutils/java/com/android/media/mediatestutils/
DCancelAllFuturesRule.java42 public void evaluate() throws Throwable { in apply()
44 base.evaluate(); in apply()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProviderRule.java66 public void evaluate() throws Throwable { in apply()
69 base.evaluate(); in apply()
/frameworks/base/packages/SystemUI/tests/utils/src/androidx/core/animation/
DAndroidXAnimatorIsolationRule.kt49 override fun evaluate() { in addAnimationFrameCallback() method
53 base.evaluate() in addAnimationFrameCallback()
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/
DSystemUILintDetectorTest.kt23 override fun evaluate() { in apply() method
33 base.evaluate() in apply()
/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
87 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
105 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
DIntKeyframeSet.java71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
87 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue()
104 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DRadiiAnimatorTest.java64 assertThat(radiiAnimator.evaluate(0.0f)).isEqualTo(radii); in constructor()
78 TestUtils.waitForCondition(() -> Arrays.equals(radiiAnimator.evaluate(0.0f), startRadii) in skipAnimation_updatesToEnd()
79 && Arrays.equals(radiiAnimator.evaluate(1.0f), endRadii), in skipAnimation_updatesToEnd()
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DPlatformAnimatorIsolationRule.kt53 override fun evaluate() { in addOneShotCommitCallback() method
57 base.evaluate() in addOneShotCommitCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DTouchMonitor.java421 boolean evaluate(GestureDetector.OnGestureListener listener);
426 private boolean evaluate(Evaluator evaluator) {
439 .map(listener -> evaluator.evaluate(listener))
465 return evaluate(listener -> listener.onDown(e));
471 return evaluate(listener -> listener.onFling(e1, e2, velocityX, velocityY));
482 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY));
492 return evaluate(listener -> listener.onSingleTapUp(e));

12345