Searched defs:MotionRange (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/include/input/
H A DInputDevice.h65 struct MotionRange { struct in class:android::InputDeviceInfo
91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const;
96 void addMotionRange(const MotionRange& range);
115 inline const Vector<MotionRange>& getMotionRanges() const {
133 Vector<MotionRange> mMotionRanges;
/frameworks/base/core/java/android/view/
H A DInputDevice.java61 private final ArrayList<MotionRange> mMotionRanges = new ArrayList<MotionRange>();
683 public MotionRange getMotionRange(int axis) {
686 final MotionRange range = mMotionRanges.get(i);
708 public MotionRange getMotionRange(int axis, int source) {
711 final MotionRange range = mMotionRanges.get(i);
725 public List<MotionRange> getMotionRanges() {
732 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
800 public static final class MotionRange { class in class:InputDevice
809 private MotionRange(in method in class:InputDevice.MotionRange
[all...]

Completed in 94 milliseconds