Home
last modified time | relevance | path

Searched refs:getHistoricalRawX (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp449 ASSERT_NEAR(RAW_X_OFFSET + 10 * RAW_X_SCALE, event->getHistoricalRawX(0, 0), EPSILON); in assertEqualsEventWithHistory()
450 ASSERT_NEAR(RAW_X_OFFSET + 20 * RAW_X_SCALE, event->getHistoricalRawX(1, 0), EPSILON); in assertEqualsEventWithHistory()
451 ASSERT_NEAR(RAW_X_OFFSET + 110 * RAW_X_SCALE, event->getHistoricalRawX(0, 1), EPSILON); in assertEqualsEventWithHistory()
452 ASSERT_NEAR(RAW_X_OFFSET + 120 * RAW_X_SCALE, event->getHistoricalRawX(1, 1), EPSILON); in assertEqualsEventWithHistory()
/frameworks/base/native/android/
Dinput.cpp217 return static_cast<const MotionEvent*>(motion_event)->getHistoricalRawX( in AMotionEvent_getHistoricalRawX()
/frameworks/native/include/input/
DInput.h815 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() function