Searched refs:COMPARISON_DELTA (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTest.java | 77 private static final float COMPARISON_DELTA = 0.001f; field in AnimationTest 174 assertEquals(0.1f, alpha, COMPARISON_DELTA); // issue 1698355 in testAccessFill() 181 assertEquals(0.9f, alpha, COMPARISON_DELTA); // issue 1698355 in testAccessFill() 194 assertEquals(1.0f, alpha, COMPARISON_DELTA); in testAccessFill() 200 assertEquals(1.0f, alpha, COMPARISON_DELTA); in testAccessFill() 213 assertEquals(0.1f, alpha, COMPARISON_DELTA); in testAccessFill() 219 assertEquals(0.9f, alpha, COMPARISON_DELTA); in testAccessFill() 273 assertEquals(0.0f, alpha1, COMPARISON_DELTA); in testRepeatAnimation() 280 assertEquals(1.0f, alpha3, COMPARISON_DELTA); in testRepeatAnimation() 293 assertEquals(0.0f, alpha5, COMPARISON_DELTA); in testRepeatAnimation() [all …]
|
D | TransformationTest.java | 38 private static final float COMPARISON_DELTA = 0.001f; field in TransformationTest 60 assertEquals(0.4f * 0.5f, t2.getAlpha(), COMPARISON_DELTA); in testCompose() 68 assertEquals(0.4f * 0.5f * 0.5f, t2.getAlpha(), COMPARISON_DELTA); in testCompose() 97 assertEquals(expected.getAlpha(), actual.getAlpha(), COMPARISON_DELTA); in assertTransformationEquals() local
|