Home
last modified time | relevance | path

Searched refs:getRawXOffset (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp396 ASSERT_NEAR((-RAW_X_OFFSET / RAW_X_SCALE) * X_SCALE + X_OFFSET, event->getRawXOffset(), in assertEqualsEventWithHistory()
736 const float xOffset = event.getRawXOffset(); in TEST_F()
741 ASSERT_EQ(xOffset + 5.0f, event.getRawXOffset()); in TEST_F()
749 const float unscaledXOffset = event.getRawXOffset(); in TEST_F()
754 ASSERT_EQ(unscaledXOffset * 2, event.getRawXOffset()); in TEST_F()
DInputPublisherAndConsumer_test.cpp139 motionEvent.getRawXOffset(), EPSILON); in verifyArgsEqualToEvent()
DInputPublisherAndConsumerNoResampling_test.cpp146 motionEvent.getRawXOffset(), EPSILON); in verifyArgsEqualToEvent()
/frameworks/base/native/android/
Dinput.cpp128 return static_cast<const MotionEvent*>(motion_event)->getRawXOffset(); in AMotionEvent_getXOffset()
/frameworks/native/include/input/
DInput.h905 float getRawXOffset() const;
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp753 return event->getRawXOffset(); in android_view_MotionEvent_nativeGetRawXOffset()
/frameworks/native/libs/input/
DInput.cpp749 float MotionEvent::getRawXOffset() const { in getRawXOffset() function in android::MotionEvent