D | InputDevice.java | 394 int axis = in.readInt(); in InputDevice() local 395 if (axis < 0) { in InputDevice() 398 addMotionRange(axis, in.readInt(), in.readFloat(), in.readFloat(), in.readFloat(), in InputDevice() 641 public MotionRange getMotionRange(int axis) { in getMotionRange() argument 645 if (range.mAxis == axis) { in getMotionRange() 666 public MotionRange getMotionRange(int axis, int source) { in getMotionRange() argument 670 if (range.mAxis == axis && range.mSource == source) { in getMotionRange() 688 private void addMotionRange(int axis, int source, in addMotionRange() argument 690 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution)); in addMotionRange() 741 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz, in MotionRange() argument [all …]
|