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>();
693 public MotionRange getMotionRange(int axis) {
696 final MotionRange range = mMotionRanges.get(i);
718 public MotionRange getMotionRange(int axis, int source) {
721 final MotionRange range = mMotionRanges.get(i);
735 public List<MotionRange> getMotionRanges() {
742 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
810 public static final class MotionRange { class in class:InputDevice
819 private MotionRange(in method in class:InputDevice.MotionRange
[all...]

Completed in 61 milliseconds