Lines Matching defs:axis

436             int axis = in.readInt();
437 if (axis < 0) {
440 addMotionRange(axis, in.readInt(), in.readFloat(), in.readFloat(), in.readFloat(),
670 * Gets information about the range of values for a particular {@link MotionEvent} axis.
671 * If the device supports multiple sources, the same axis may have different meanings
672 * for each source. Returns information about the first axis found for any source.
673 * To obtain information about the axis for a specific source, use
676 * @param axis The axis constant.
677 * @return The range of values, or null if the requested axis is not
683 public MotionRange getMotionRange(int axis) {
687 if (range.mAxis == axis) {
695 * Gets information about the range of values for a particular {@link MotionEvent} axis
697 * If the device supports multiple sources, the same axis may have different meanings
700 * @param axis The axis constant.
702 * @return The range of values, or null if the requested axis is not
708 public MotionRange getMotionRange(int axis, int source) {
712 if (range.mAxis == axis && range.mSource == source) {
730 private void addMotionRange(int axis, int source,
732 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
796 * Provides information about the range of values for a particular {@link MotionEvent} axis.
809 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz,
811 mAxis = axis;
821 * Gets the axis id.
822 * @return The axis id.
829 * Gets the source for which the axis is defined.
850 * Gets the inclusive minimum value for the axis.
858 * Gets the inclusive maximum value for the axis.
866 * Gets the range of the axis (difference between maximum and minimum).
874 * Gets the extent of the center flat position with respect to this axis.
886 * Gets the error tolerance for input device measurements with respect to this axis.
898 * Gets the resolution for input device measurements with respect to this axis.