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

/frameworks/base/include/androidfw/
H A DInputDevice.h60 struct MotionRange { struct in class:android::InputDeviceInfo
82 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const;
87 void addMotionRange(const MotionRange& range);
103 inline const Vector<MotionRange>& getMotionRanges() const {
118 Vector<MotionRange> mMotionRanges;
/frameworks/base/core/java/android/view/
H A DInputDevice.java54 private final ArrayList<MotionRange> mMotionRanges = new ArrayList<MotionRange>();
520 public MotionRange getMotionRange(int axis) {
523 final MotionRange range = mMotionRanges.get(i);
546 public MotionRange getMotionRange(int axis, int source) {
549 final MotionRange range = mMotionRanges.get(i);
563 public List<MotionRange> getMotionRanges() {
570 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz));
603 public static final class MotionRange { class in class:InputDevice
611 private MotionRange(in method in class:InputDevice.MotionRange
[all...]

Completed in 59 milliseconds