Home
last modified time | relevance | path

Searched refs:getRawX (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp38 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/
DMotionEventTest.java115 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 …]
DVerifyInputEventTest.java330 assertEquals(motionEvent.getRawX(), verifiedMotion.getRawX(), STRICT_TOLERANCE); in compareMotions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java133 mCoordinateX = event.getRawX(); in setOnTouchListenerToListView()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java273 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol;
284 "received (" + event.getRawX() + ", " + event.getRawY() + ")");