Home
last modified time | relevance | path

Searched defs:EPSILON (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DCreationTest.java41 private static final float EPSILON = 0.0001f; field in CreationTest
172 assertEquals((Float) animator.getAnimatedValue(), values[0], EPSILON); in verifyValues() local
175 assertEquals((Float) animator.getAnimatedValue(), values[i], EPSILON); in verifyValues() local
178 assertEquals((Float) animator.getAnimatedValue(), values[values.length - 1], EPSILON); in verifyValues() local
183 assertEquals((Float) animator.getAnimatedValue(propertyName), values[0], EPSILON); in verifyValues() local
186 assertEquals((Float) animator.getAnimatedValue(propertyName), values[i], EPSILON); in verifyValues() local
190 EPSILON); in verifyValues() local
DInterpolatorTest.java39 private static final float EPSILON = 0.00001f; field in InterpolatorTest
DAnimatorSetTest.java75 private static final float EPSILON = 0.001f; field in AnimatorSetTest
396 assertEquals((float) a1.getAnimatedValue(), 50f, EPSILON); in testSeekAfterPause() local
397 assertEquals((float) a2.getAnimatedValue(), 60f, EPSILON); in testSeekAfterPause() local
401 assertEquals((float) a1.getAnimatedValue(), 40f, EPSILON); in testSeekAfterPause() local
402 assertEquals((float) a2.getAnimatedValue(), 50f, EPSILON); in testSeekAfterPause() local
DEvaluatorTest.java45 private static final float EPSILON = 0.001f; field in EvaluatorTest
DValueAnimatorTest.java67 private static final float EPSILON = 0.0001f; field in ValueAnimatorTest
546 (float) animator.getAnimatedValue(), EPSILON); in testGetAnimatedValue() local
DPropertyValuesHolderTest.java74 private static final float EPSILON = .001f; field in PropertyValuesHolderTest
DObjectAnimatorTest.java78 private static final float EPSILON = .001f; field in ObjectAnimatorTest
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java62 private static final float EPSILON = 0.0000001f; field in CursorAnchorInfoTest
698 assertEquals(textAppearanceInfo.getTextSize(), 16.5f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
704 assertEquals(textAppearanceInfo.getShadowRadius(), 2.0f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
705 assertEquals(textAppearanceInfo.getShadowDx(), 2.0f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
706 assertEquals(textAppearanceInfo.getShadowDy(), 2.0f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
710 assertEquals(textAppearanceInfo.getLetterSpacing(), 5.0f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
717 assertEquals(textAppearanceInfo.getTextScaleX(), 1.5f, EPSILON); in assertTextAppearanceInfoContentsEqual() local
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextLanguageTest.java35 private static final float EPSILON = 0.000001f; field in TextLanguageTest
DTextLinksTest.java50 private static final float EPSILON = 0.000001f; field in TextLinksTest
/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java73 private static final float EPSILON = 0.001f; field in VerifyInputEventTest
353 assertEquals(motionEvent.getRawX(), verifiedMotion.getRawX(), EPSILON); in compareMotions() local
354 assertEquals(motionEvent.getRawY(), verifiedMotion.getRawY(), EPSILON); in compareMotions() local
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DLoudnessEnhancerTest.java49 private static final float EPSILON = 0.0001f; field in LoudnessEnhancerTest
DDynamicsProcessingTest.java51 private static final float EPSILON = 0.00001f; field in DynamicsProcessingTest
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualMouseTest.java48 private static final float EPSILON = 0.001f; field in VirtualMouseTest
DVirtualDeviceMirrorDisplayTest.java68 private static final float EPSILON = 0.001f; field in VirtualDeviceMirrorDisplayTest
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyConfigTest.java58 private static final float EPSILON = 0.00001f; field in CarPropertyConfigTest
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java39 private static final double EPSILON = 1E-6; field in SensorAdditionalInfoTest
/cts/tests/input/src/android/input/cts/
DDrawingTabletTest.kt198 const val EPSILON = 0.001f constant
/cts/libs/input/src/com/android/cts/input/
DInputEventMatchers.kt29 private const val EPSILON = 0.001f constant
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java94 private static final float EPSILON = 0.3f; field in VirtualCameraUtils
/cts/tests/tests/graphics/src/android/graphics/cts/
DGainmapTest.java60 private static final float EPSILON = 0.0001f; field in GainmapTest