Lines Matching defs:axis

382             int axis = in.readInt();
383 if (axis < 0) {
386 addMotionRange(axis, in.readInt(), in.readFloat(), in.readFloat(), in.readFloat(),
592 * Gets information about the range of values for a particular {@link MotionEvent} axis.
593 * If the device supports multiple sources, the same axis may have different meanings
594 * for each source. Returns information about the first axis found for any source.
595 * To obtain information about the axis for a specific source, use
598 * @param axis The axis constant.
599 * @return The range of values, or null if the requested axis is not
605 public MotionRange getMotionRange(int axis) {
609 if (range.mAxis == axis) {
617 * Gets information about the range of values for a particular {@link MotionEvent} axis
619 * If the device supports multiple sources, the same axis may have different meanings
622 * @param axis The axis constant.
624 * @return The range of values, or null if the requested axis is not
630 public MotionRange getMotionRange(int axis, int source) {
634 if (range.mAxis == axis && range.mSource == source) {
652 private void addMotionRange(int axis, int source,
654 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
692 * Provides information about the range of values for a particular {@link MotionEvent} axis.
705 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz,
707 mAxis = axis;
717 * Gets the axis id.
718 * @return The axis id.
725 * Gets the source for which the axis is defined.
746 * Gets the inclusive minimum value for the axis.
754 * Gets the inclusive maximum value for the axis.
762 * Gets the range of the axis (difference between maximum and minimum).
770 * Gets the extent of the center flat position with respect to this axis.
782 * Gets the error tolerance for input device measurements with respect to this axis.
794 * Gets the resolution for input device measurements with respect to this axis.