Lines Matching defs:pointerIndex
354 const PointerCoords* MotionEvent::getRawPointerCoords(size_t pointerIndex) const {
355 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex];
358 float MotionEvent::getRawAxisValue(int32_t axis, size_t pointerIndex) const {
359 return getRawPointerCoords(pointerIndex)->getAxisValue(axis);
362 float MotionEvent::getAxisValue(int32_t axis, size_t pointerIndex) const {
363 float value = getRawPointerCoords(pointerIndex)->getAxisValue(axis);
374 size_t pointerIndex, size_t historicalIndex) const {
375 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex];
378 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
380 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis);
383 float MotionEvent::getHistoricalAxisValue(int32_t axis, size_t pointerIndex,
385 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis);