Home | History | Annotate | Download | only in ui

Lines Matching full:pointerindex

459 const PointerCoords* MotionEvent::getRawPointerCoords(size_t pointerIndex) const {
460 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex];
463 float MotionEvent::getRawAxisValue(int32_t axis, size_t pointerIndex) const {
464 return getRawPointerCoords(pointerIndex)->getAxisValue(axis);
467 float MotionEvent::getAxisValue(int32_t axis, size_t pointerIndex) const {
468 float value = getRawPointerCoords(pointerIndex)->getAxisValue(axis);
479 size_t pointerIndex, size_t historicalIndex) const {
480 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex];
483 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
485 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis);
488 float MotionEvent::getHistoricalAxisValue(int32_t axis, size_t pointerIndex,
490 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis);