Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DInputDevice.java61 private final ArrayList<MotionRange> mMotionRanges = new ArrayList<MotionRange>();
674 public MotionRange getMotionRange(int axis) { in getMotionRange()
677 final MotionRange range = mMotionRanges.get(i); in getMotionRange()
699 public MotionRange getMotionRange(int axis, int source) { in getMotionRange()
702 final MotionRange range = mMotionRanges.get(i); in getMotionRange()
716 public List<MotionRange> getMotionRanges() { in getMotionRanges()
723 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution)); in addMotionRange()
773 public static final class MotionRange { class in InputDevice
782 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz, in MotionRange() method in InputDevice.MotionRange
898 MotionRange range = mMotionRanges.get(i); in writeToParcel()
[all …]
DViewRootImpl.java4847 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X); in process()
4848 InputDevice.MotionRange yRange = device.getMotionRange(MotionEvent.AXIS_Y); in process()
/frameworks/native/include/input/
DInputDevice.h65 struct MotionRange { struct
91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; argument
96 void addMotionRange(const MotionRange& range);
115 inline const Vector<MotionRange>& getMotionRanges() const { in getMotionRanges()
133 Vector<MotionRange> mMotionRanges;
/frameworks/native/libs/input/
DInputDevice.cpp162 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange( in getMotionRange()
166 const MotionRange& range = mMotionRanges.itemAt(i); in getMotionRange()
180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; in addMotionRange()
184 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp71 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in android_view_InputDevice_create()
73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in android_view_InputDevice_create()
/frameworks/native/services/inputflinger/
DInputReader.h1550 InputDeviceInfo::MotionRange x;
1551 InputDeviceInfo::MotionRange y;
1552 InputDeviceInfo::MotionRange pressure;
1555 InputDeviceInfo::MotionRange size;
1558 InputDeviceInfo::MotionRange touchMajor;
1559 InputDeviceInfo::MotionRange touchMinor;
1562 InputDeviceInfo::MotionRange toolMajor;
1563 InputDeviceInfo::MotionRange toolMinor;
1566 InputDeviceInfo::MotionRange orientation;
1569 InputDeviceInfo::MotionRange distance;
[all …]
DInputReader.cpp947 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in dump()
951 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in dump()
2781 const InputDeviceInfo::MotionRange& x = mOrientedRanges.x; in populateDeviceInfo()
2782 const InputDeviceInfo::MotionRange& y = mOrientedRanges.y; in populateDeviceInfo()
/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.cpp1450 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/
Dcurrent.txt34805 method public android.view.InputDevice.MotionRange getMotionRange(int);
34806 method public android.view.InputDevice.MotionRange getMotionRange(int, int);
34807 method public java.util.List<android.view.InputDevice.MotionRange> getMotionRanges();
34854 public static final class InputDevice.MotionRange {
Dsystem-current.txt37097 method public android.view.InputDevice.MotionRange getMotionRange(int);
37098 method public android.view.InputDevice.MotionRange getMotionRange(int, int);
37099 method public java.util.List<android.view.InputDevice.MotionRange> getMotionRanges();
37146 public static final class InputDevice.MotionRange {