Home
last modified time | relevance | path

Searched refs:historicalIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/include/input/
DInput.h616 inline nsecs_t getHistoricalEventTime(size_t historicalIndex) const { in getHistoricalEventTime() argument
617 return mSampleEventTimes[historicalIndex]; in getHistoricalEventTime()
621 size_t pointerIndex, size_t historicalIndex) const;
624 size_t historicalIndex) const;
626 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() argument
628 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX()
631 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawY() argument
633 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY()
636 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const;
638 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalX() argument
[all …]
/frameworks/native/libs/input/
DInput.cpp430 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords()
431 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords()
435 size_t historicalIndex) const { in getHistoricalRawAxisValue()
436 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalRawAxisValue()
440 size_t historicalIndex) const { in getHistoricalAxisValue()
441 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalAxisValue()