Searched refs:COMPARISON_DELTA (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTest.java | 73 private static final float COMPARISON_DELTA = 0.001f; field in AnimationTest 164 assertEquals(0.1f, alpha, COMPARISON_DELTA); // issue 1698355 in testAccessFill() 171 assertEquals(0.9f, alpha, COMPARISON_DELTA); // issue 1698355 in testAccessFill() 184 assertEquals(1.0f, alpha, COMPARISON_DELTA); in testAccessFill() 190 assertEquals(1.0f, alpha, COMPARISON_DELTA); in testAccessFill() 203 assertEquals(0.1f, alpha, COMPARISON_DELTA); in testAccessFill() 209 assertEquals(0.9f, alpha, COMPARISON_DELTA); in testAccessFill() 263 assertEquals(0.0f, alpha1, COMPARISON_DELTA); in testRepeatAnimation() 270 assertEquals(1.0f, alpha3, COMPARISON_DELTA); in testRepeatAnimation() 283 assertEquals(0.0f, alpha5, COMPARISON_DELTA); in testRepeatAnimation() [all …]
|
D | TransformationTest.java | 36 private static final float COMPARISON_DELTA = 0.001f; field in TransformationTest 58 assertEquals(0.4f * 0.5f, t2.getAlpha(), COMPARISON_DELTA); in testCompose() 66 assertEquals(0.4f * 0.5f * 0.5f, t2.getAlpha(), COMPARISON_DELTA); in testCompose() 95 assertEquals(expected.getAlpha(), actual.getAlpha(), COMPARISON_DELTA); in assertTransformationEquals() local
|