Searched refs:getRawX (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/view/jni/ |
D | android_view_cts_AInputNativeTest.cpp | 38 jmethodID getRawX; member 81 jfloat rawX = env->CallFloatMethod(obj, gMotionEventMethodIds.getRawX, i); in nativeMotionEventTest() 136 gMotionEventMethodIds.getRawX = env->GetMethodID(clazz, "getRawX", "(I)F"); in register_android_view_cts_AMotionEventNativeTest()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 115 assertEquals(X_3F, mMotionEvent1.getRawX(), DELTA); in testObtainBasic() 135 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getRawX(), DELTA); in testObtainFromMotionEvent() 157 assertEquals(X_3F, mMotionEventDynamic.getRawX(), DELTA); in testObtainAllFields() 269 assertEquals(mMotionEvent2.getRawX(), motionEvent.getRawX(), DELTA); in testWriteToParcel() 483 assertEquals(10.0f, mMotionEventDynamic.getRawX(), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 487 assertEquals(mMotionEventDynamic.getRawX(), mMotionEventDynamic.getRawX(0), in testGetRawCoordsWithTwoPointers() 492 assertEquals(30.0f, mMotionEventDynamic.getRawX(1), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers() 665 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 675 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 696 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() [all …]
|
D | VerifyInputEventTest.java | 330 assertEquals(motionEvent.getRawX(), verifiedMotion.getRawX(), STRICT_TOLERANCE); in compareMotions()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 133 mCoordinateX = event.getRawX(); in setOnTouchListenerToListView()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 273 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol; 284 "received (" + event.getRawX() + ", " + event.getRawY() + ")");
|