Home
last modified time | relevance | path

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

/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp38 jmethodID getRawX; member
93 jfloat rawX = env->CallFloatMethod(obj, gMotionEventMethodIds.getRawX, i); in nativeMotionEventTest()
181 gMotionEventMethodIds.getRawX = env->GetMethodID(clazz, "getRawX", "(I)F"); in register_android_view_cts_AMotionEventNativeTest()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java151 assertEquals(X_3F, mMotionEvent1.getRawX(), DELTA); in testObtainBasic()
172 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getRawX(), DELTA); in testObtainFromMotionEvent()
195 assertEquals(X_3F, mMotionEventDynamic.getRawX(), DELTA); in testObtainAllFields()
339 assertEquals(mMotionEvent2.getRawX(), motionEvent.getRawX(), DELTA); in testWriteToParcel()
584 assertEquals(10.0f, mMotionEventDynamic.getRawX(), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers()
588 assertEquals(mMotionEventDynamic.getRawX(), mMotionEventDynamic.getRawX(0), in testGetRawCoordsWithTwoPointers()
593 assertEquals(30.0f, mMotionEventDynamic.getRawX(1), RAW_COORD_TOLERANCE); in testGetRawCoordsWithTwoPointers()
772 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
782 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
803 assertEquals(originalRawCoords[i].x, event.getRawX(i), RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
[all …]
DVerifyInputEventTest.java353 assertEquals(motionEvent.getRawX(), verifiedMotion.getRawX(), EPSILON); in compareMotions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java166 mCoordinateX = event.getRawX(); in setOnTouchListenerToListView()
/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt119 assertThat(event.getRawX()).isEqualTo(x) in testPointerScroll()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java341 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol;
352 "received (" + event.getRawX() + ", " + event.getRawY() + ")");
/cts/tests/tests/car/src/android/car/app/cts/
DCarTaskViewControllerTest.java381 assertThat(EmbeddedTestActivity1.sInstance.mLastReceivedTouchEvent.getRawX()) in remoteCarTaskView_receivesTouchInput()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java510 displayX, e.getRawX(), epsilon); in testEmbeddedViewReceivesRawInputCoordinatesInDisplaySpace()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt51818 method public float getRawX();
51819 method public float getRawX(int);
52481 method public float getRawX();