Lines Matching refs:pointerIndex
421 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const {
422 return &mPointerProperties[pointerIndex];
425 inline int32_t getPointerId(size_t pointerIndex) const {
426 return mPointerProperties[pointerIndex].id;
429 inline int32_t getToolType(size_t pointerIndex) const {
430 return mPointerProperties[pointerIndex].toolType;
435 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
437 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
439 inline float getRawX(size_t pointerIndex) const {
440 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex);
443 inline float getRawY(size_t pointerIndex) const {
444 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex);
447 float getAxisValue(int32_t axis, size_t pointerIndex) const;
449 inline float getX(size_t pointerIndex) const {
450 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex);
453 inline float getY(size_t pointerIndex) const {
454 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex);
457 inline float getPressure(size_t pointerIndex) const {
458 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex);
461 inline float getSize(size_t pointerIndex) const {
462 return getAxisValue(AMOTION_EVENT_AXIS_SIZE, pointerIndex);
465 inline float getTouchMajor(size_t pointerIndex) const {
466 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerIndex);
469 inline float getTouchMinor(size_t pointerIndex) const {
470 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerIndex);
473 inline float getToolMajor(size_t pointerIndex) const {
474 return getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, pointerIndex);
477 inline float getToolMinor(size_t pointerIndex) const {
478 return getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, pointerIndex);
481 inline float getOrientation(size_t pointerIndex) const {
482 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex);
492 size_t pointerIndex, size_t historicalIndex) const;
494 float getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
497 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const {
499 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex);
502 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const {
504 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex);
507 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const;
509 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const {
511 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex);
514 inline float getHistoricalY(size_t pointerIndex, size_t historicalIndex) const {
516 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex);
519 inline float getHistoricalPressure(size_t pointerIndex, size_t historicalIndex) const {
521 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex);
524 inline float getHistoricalSize(size_t pointerIndex, size_t historicalIndex) const {
526 AMOTION_EVENT_AXIS_SIZE, pointerIndex, historicalIndex);
529 inline float getHistoricalTouchMajor(size_t pointerIndex, size_t historicalIndex) const {
531 AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerIndex, historicalIndex);
534 pointerIndex, size_t historicalIndex) const {
536 AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerIndex, historicalIndex);
539 inline float getHistoricalToolMajor(size_t pointerIndex, size_t historicalIndex) const {
541 AMOTION_EVENT_AXIS_TOOL_MAJOR, pointerIndex, historicalIndex);
544 inline float getHistoricalToolMinor(size_t pointerIndex, size_t historicalIndex) const {
546 AMOTION_EVENT_AXIS_TOOL_MINOR, pointerIndex, historicalIndex);
549 inline float getHistoricalOrientation(size_t pointerIndex, size_t historicalIndex) const {
551 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex);