Home
last modified time | relevance | path

Searched refs:MotionRange (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/include/input/
DInputDevice.h65 struct MotionRange { struct
89 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; argument
94 void addMotionRange(const MotionRange& range);
113 inline const Vector<MotionRange>& getMotionRanges() const { in getMotionRanges()
130 Vector<MotionRange> mMotionRanges;
/frameworks/base/core/java/android/view/
DInputDevice.java60 private final ArrayList<MotionRange> mMotionRanges = new ArrayList<MotionRange>();
641 public MotionRange getMotionRange(int axis) { in getMotionRange()
644 final MotionRange range = mMotionRanges.get(i); in getMotionRange()
666 public MotionRange getMotionRange(int axis, int source) { in getMotionRange()
669 final MotionRange range = mMotionRanges.get(i); in getMotionRange()
683 public List<MotionRange> getMotionRanges() { in getMotionRanges()
690 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution)); in addMotionRange()
732 public static final class MotionRange { class in InputDevice
741 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz, in MotionRange() method in InputDevice.MotionRange
856 MotionRange range = mMotionRanges.get(i); in writeToParcel()
[all …]
DViewRootImpl.java4740 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X); in process()
4741 InputDevice.MotionRange yRange = device.getMotionRange(MotionEvent.AXIS_Y); in process()
/frameworks/native/libs/input/
DInputDevice.cpp159 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange( in getMotionRange()
163 const MotionRange& range = mMotionRanges.itemAt(i); in getMotionRange()
177 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; in addMotionRange()
181 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp66 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in android_view_InputDevice_create()
68 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in android_view_InputDevice_create()
/frameworks/native/services/inputflinger/
DInputReader.h1435 InputDeviceInfo::MotionRange x;
1436 InputDeviceInfo::MotionRange y;
1437 InputDeviceInfo::MotionRange pressure;
1440 InputDeviceInfo::MotionRange size;
1443 InputDeviceInfo::MotionRange touchMajor;
1444 InputDeviceInfo::MotionRange touchMinor;
1447 InputDeviceInfo::MotionRange toolMajor;
1448 InputDeviceInfo::MotionRange toolMinor;
1451 InputDeviceInfo::MotionRange orientation;
1454 InputDeviceInfo::MotionRange distance;
[all …]
DInputReader.cpp883 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in dump()
887 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in dump()
2650 const InputDeviceInfo::MotionRange& x = mOrientedRanges.x; in populateDeviceInfo()
2651 const InputDeviceInfo::MotionRange& y = mOrientedRanges.y; in populateDeviceInfo()
/frameworks/base/docs/html/sdk/api_diff/12/
DmissingSinces.txt29 NO DOC BLOCK: android.view.InputDevice.MotionRange Method getAxis()
46 NO DOC BLOCK: android.view.InputDevice.MotionRange Method getSource()
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd175 {@link android.view.InputDevice.MotionRange} object returned, call
176 {@link android.view.InputDevice.MotionRange#getAxis()} to get its axis ID.</li>
554 final InputDevice.MotionRange range =
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd296 the {@link android.view.InputDevice.MotionRange} object specifies the source for
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1446 const InputDeviceInfo::MotionRange* range = info.getMotionRange(axis, source); in assertMotionRange()
/frameworks/base/docs/html/
Dsitemap.txt1196 http://developer.android.com/reference/android/view/InputDevice.MotionRange.html
6322 http://developer.android.com/sdk/api_diff/12/changes/android.view.InputDevice.MotionRange.html
/frameworks/base/api/
Dsystem-current.txt34485 method public android.view.InputDevice.MotionRange getMotionRange(int);
34486 method public android.view.InputDevice.MotionRange getMotionRange(int, int);
34487 method public java.util.List<android.view.InputDevice.MotionRange> getMotionRanges();
34532 public static final class InputDevice.MotionRange {
Dcurrent.txt32252 method public android.view.InputDevice.MotionRange getMotionRange(int);
32253 method public android.view.InputDevice.MotionRange getMotionRange(int, int);
32254 method public java.util.List<android.view.InputDevice.MotionRange> getMotionRanges();
32299 public static final class InputDevice.MotionRange {