Searched refs:getHistoricalRawX (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 449 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/ |
D | input.cpp | 217 return static_cast<const MotionEvent*>(motion_event)->getHistoricalRawX( in AMotionEvent_getHistoricalRawX()
|
/frameworks/native/include/input/ |
D | Input.h | 815 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() function
|