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>();
674 public MotionRange getMotionRange(int axis) {
677 final MotionRange range = mMotionRanges.get(i);
699 public MotionRange getMotionRange(int axis, int source) {
702 final MotionRange range = mMotionRanges.get(i);
716 public List<MotionRange> getMotionRanges() {
723 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
773 public static final class MotionRange { class in class:InputDevice
782 private MotionRange(in method in class:InputDevice.MotionRange
[all...]

Completed in 65 milliseconds