Searched refs:RAW_COORD_TOLERANCE (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 98 private static final float RAW_COORD_TOLERANCE = 0.001f; field in MotionEventTest 584 assertEquals(10.0f, mMotionEventDynamic.getRawX(), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 585 assertEquals(20.0f, mMotionEventDynamic.getRawY(), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 589 RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 591 RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 593 assertEquals(30.0f, mMotionEventDynamic.getRawX(1), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 594 assertEquals(40.0f, mMotionEventDynamic.getRawY(1), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 772 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 773 assertEquals(originalRawCoords[i].y, event.getRawY(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 782 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() [all …]
|