Lines Matching defs:axis

680      * Gets information about the range of values for a particular {@link MotionEvent} axis.
681 * If the device supports multiple sources, the same axis may have different meanings
682 * for each source. Returns information about the first axis found for any source.
683 * To obtain information about the axis for a specific source, use
686 * @param axis The axis constant.
687 * @return The range of values, or null if the requested axis is not
693 public MotionRange getMotionRange(int axis) {
697 if (range.mAxis == axis) {
705 * Gets information about the range of values for a particular {@link MotionEvent} axis
707 * If the device supports multiple sources, the same axis may have different meanings
710 * @param axis The axis constant.
712 * @return The range of values, or null if the requested axis is not
718 public MotionRange getMotionRange(int axis, int source) {
722 if (range.mAxis == axis && range.mSource == source) {
740 private void addMotionRange(int axis, int source,
742 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
806 * Provides information about the range of values for a particular {@link MotionEvent} axis.
819 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz,
821 mAxis = axis;
831 * Gets the axis id.
832 * @return The axis id.
839 * Gets the source for which the axis is defined.
860 * Gets the inclusive minimum value for the axis.
868 * Gets the inclusive maximum value for the axis.
876 * Gets the range of the axis (difference between maximum and minimum).
884 * Gets the extent of the center flat position with respect to this axis.
896 * Gets the error tolerance for input device measurements with respect to this axis.
908 * Gets the resolution for input device measurements with respect to this axis.