Searched refs:historicalIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/include/input/ |
D | Input.h | 487 inline nsecs_t getHistoricalEventTime(size_t historicalIndex) const { in getHistoricalEventTime() argument 488 return mSampleEventTimes[historicalIndex]; in getHistoricalEventTime() 492 size_t pointerIndex, size_t historicalIndex) const; 495 size_t historicalIndex) const; 497 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() argument 499 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX() 502 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawY() argument 504 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY() 507 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const; 509 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalX() argument [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 308 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords() 309 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords() 313 size_t historicalIndex) const { in getHistoricalRawAxisValue() 314 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalRawAxisValue() 318 size_t historicalIndex) const { in getHistoricalAxisValue() 319 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalAxisValue()
|