Searched refs:fraction (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | KeyframeTest.java | 27 float fraction = keyFrame.getFraction(); in testGetFraction() local 28 assertTrue(fraction == 0.0f); in testGetFraction() 34 float fraction = keyFrame.getFraction(); in testSetFraction() local 35 assertTrue(fraction == 0.5f); in testSetFraction() 40 float fraction = keyFrame.getFraction(); in testOfFloat() local 41 assertEquals(fraction, 0.0f); in testOfFloat() 58 float fraction = keyFrame.getFraction(); in testOfObject() local 59 assertEquals(fraction, 0.0f); in testOfObject()
|
D | EvaluatorTest.java | 39 float fraction = 0.5f; in testFloatEvaluator() local 45 result = floatEvaluator.evaluate(fraction, start, end); in testFloatEvaluator() 55 float fraction = 0.5f; in testFloatArrayEvaluator() local 62 result = evaluator.evaluate(fraction, start, end); in testFloatArrayEvaluator() 119 final float fraction = 0.5f; in testIntEvaluator() local 125 result = intEvaluator.evaluate(fraction, start, end); in testIntEvaluator() 135 float fraction = 0.5f; in testIntArrayEvaluator() local 142 result = evaluator.evaluate(fraction, start, end); in testIntArrayEvaluator() 155 final float fraction = 0.5f; in testRectEvaluator() local 163 result = evaluator.evaluate(fraction, start, end); in testRectEvaluator() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | PSNRComparer.java | 73 float fraction = (MAX * MAX) / MSE; in verifySame() local 74 fraction = (float) Math.log(fraction); in verifySame() 75 fraction *= 10; in verifySame() 77 Log.d(TAG, "PSNR : " + fraction); in verifySame() 79 return (fraction > mThreshold); in verifySame()
|
/cts/hostsidetests/services/activitymanager/src/android/server/cts/ |
D | ActivityManagerManifestLayoutTests.java | 109 int vGravity, int hGravity, boolean fraction) throws Exception { in testLayout() argument 129 if (fraction) { in testLayout()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | IconHeaderItemPresenter.java | 39 .getFraction(R.fraction.lb_browse_header_unselect_alpha, 1, 1); in onCreateViewHolder()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 819 static private Target.Floaty mix(double start, double stop, double fraction, Target t) { in mix() argument 822 Target.Floaty inFraction = t.newFloaty(fraction); in mix()
|