Searched refs:historicalIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/include/input/ |
D | Input.h | 534 inline nsecs_t getHistoricalEventTime(size_t historicalIndex) const { in getHistoricalEventTime() argument 535 return mSampleEventTimes[historicalIndex]; in getHistoricalEventTime() 539 size_t pointerIndex, size_t historicalIndex) const; 542 size_t historicalIndex) const; 544 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() argument 546 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX() 549 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawY() argument 551 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY() 554 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const; 556 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalX() argument [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 335 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords() 336 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords() 340 size_t historicalIndex) const { in getHistoricalRawAxisValue() 341 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalRawAxisValue() 345 size_t historicalIndex) const { in getHistoricalAxisValue() 346 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalAxisValue()
|