Lines Matching defs:axis
558 * Get axis value for the first pointer index (may be an
561 * @param axis The axis identifier for the axis value to retrieve.
570 public static float getAxisValue(MotionEvent event, int axis) {
571 return event.getAxisValue(axis);
575 * Returns the value of the requested axis for the given pointer <em>index</em>
578 * @param axis The axis identifier for the axis value to retrieve.
581 * @return The value of the axis, or 0 if the axis is not available.
590 public static float getAxisValue(MotionEvent event, int axis, int pointerIndex) {
591 return event.getAxisValue(axis, pointerIndex);