Searched refs:historicalIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/include/input/ |
D | Input.h | 683 inline nsecs_t getHistoricalEventTime(size_t historicalIndex) const { in getHistoricalEventTime() argument 684 return mSampleEventTimes[historicalIndex]; in getHistoricalEventTime() 692 size_t pointerIndex, size_t historicalIndex) const; 700 size_t historicalIndex) const; 702 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawX() argument 704 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX() 707 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawY() argument 709 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY() 712 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const; 714 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const { in getHistoricalX() argument [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 586 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords() 590 if (CC_UNLIKELY(historicalIndex < 0 || historicalIndex > getHistorySize())) { in getHistoricalRawPointerCoords() 591 LOG(FATAL) << __func__ << ": Invalid historical index " << historicalIndex << " for " in getHistoricalRawPointerCoords() 594 const size_t position = historicalIndex * getPointerCount() + pointerIndex; in getHistoricalRawPointerCoords() 602 size_t historicalIndex) const { in getHistoricalRawAxisValue() 603 const PointerCoords& coords = *getHistoricalRawPointerCoords(pointerIndex, historicalIndex); in getHistoricalRawAxisValue() 608 size_t historicalIndex) const { in getHistoricalAxisValue() 609 const PointerCoords& coords = *getHistoricalRawPointerCoords(pointerIndex, historicalIndex); in getHistoricalAxisValue()
|