Home | History | Annotate | Download | only in ui

Lines Matching full:pointerindex

387     inline const PointerProperties* getPointerProperties(size_t pointerIndex) const {
388 return &mPointerProperties[pointerIndex];
391 inline int32_t getPointerId(size_t pointerIndex) const {
392 return mPointerProperties[pointerIndex].id;
395 inline int32_t getToolType(size_t pointerIndex) const {
396 return mPointerProperties[pointerIndex].toolType;
401 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
403 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
405 inline float getRawX(size_t pointerIndex) const {
406 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex);
409 inline float getRawY(size_t pointerIndex) const {
410 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex);
413 float getAxisValue(int32_t axis, size_t pointerIndex) const;
415 inline float getX(size_t pointerIndex) const {
416 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex);
419 inline float getY(size_t pointerIndex) const {
420 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex);
423 inline float getPressure(size_t pointerIndex) const {
424 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex);
427 inline float getSize(size_t pointerIndex) const {
428 return getAxisValue(AMOTION_EVENT_AXIS_SIZE, pointerIndex);
431 inline float getTouchMajor(size_t pointerIndex) const {
432 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerIndex);
435 inline float getTouchMinor(size_t pointerIndex) const {
436 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerIndex);
439 inline float getToolMajor(size_t pointerIndex) const {
440 return getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, pointerIndex);
443 inline float getToolMinor(size_t pointerIndex) const {
444 return getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, pointerIndex);
447 inline float getOrientation(size_t pointerIndex) const {
448 return getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex);
458 size_t pointerIndex, size_t historicalIndex) const;
460 float getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex,
463 inline float getHistoricalRawX(size_t pointerIndex, size_t historicalIndex) const {
465 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex);
468 inline float getHistoricalRawY(size_t pointerIndex, size_t historicalIndex) const {
470 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex);
473 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const;
475 inline float getHistoricalX(size_t pointerIndex, size_t historicalIndex) const {
477 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex);
480 inline float getHistoricalY(size_t pointerIndex, size_t historicalIndex) const {
482 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex);
485 inline float getHistoricalPressure(size_t pointerIndex, size_t historicalIndex) const {
487 AMOTION_EVENT_AXIS_PRESSURE, pointerIndex, historicalIndex);
490 inline float getHistoricalSize(size_t pointerIndex, size_t historicalIndex) const {
492 AMOTION_EVENT_AXIS_SIZE, pointerIndex, historicalIndex);
495 inline float getHistoricalTouchMajor(size_t pointerIndex, size_t historicalIndex) const {
497 AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerIndex, historicalIndex);
500 inline float getHistoricalTouchMinor(size_t pointerIndex, size_t historicalIndex) const {
502 AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerIndex, historicalIndex);
505 inline float getHistoricalToolMajor(size_t pointerIndex, size_t historicalIndex) const {
507 AMOTION_EVENT_AXIS_TOOL_MAJOR, pointerIndex, historicalIndex);
510 inline float getHistoricalToolMinor(size_t pointerIndex, size_t historicalIndex) const {
512 AMOTION_EVENT_AXIS_TOOL_MINOR, pointerIndex, historicalIndex);
515 inline float getHistoricalOrientation(size_t pointerIndex, size_t historicalIndex) const {
517 AMOTION_EVENT_AXIS_ORIENTATION, pointerIndex, historicalIndex);