Searched refs:MotionRange (Results 1 - 9 of 9) 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>();
683 public MotionRange getMotionRange(int axis) {
686 final MotionRange range = mMotionRanges.get(i);
708 public MotionRange getMotionRange(int axis, int source) {
711 final MotionRange range = mMotionRanges.get(i);
725 public List<MotionRange> getMotionRanges() {
732 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
800 public static final class MotionRange { class in class:InputDevice
809 private MotionRange(in method in class:InputDevice.MotionRange
[all...]
H A DViewRootImpl.java5114 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X);
5115 InputDevice.MotionRange yRange = device.getMotionRange(MotionEvent.AXIS_Y);
/frameworks/native/libs/input/
H A DInputDevice.cpp162 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange(
166 const MotionRange& range = mMotionRanges.itemAt(i);
180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
184 void InputDeviceInfo::addMotionRange(const MotionRange& range) {
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp71 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges();
73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
/frameworks/native/services/inputflinger/
H A DInputReader.h1580 InputDeviceInfo::MotionRange x;
1581 InputDeviceInfo::MotionRange y;
1582 InputDeviceInfo::MotionRange pressure;
1585 InputDeviceInfo::MotionRange size;
1588 InputDeviceInfo::MotionRange touchMajor;
1589 InputDeviceInfo::MotionRange touchMinor;
1592 InputDeviceInfo::MotionRange toolMajor;
1593 InputDeviceInfo::MotionRange toolMinor;
1596 InputDeviceInfo::MotionRange orientation;
1599 InputDeviceInfo::MotionRange distanc
[all...]
H A DInputReader.cpp975 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges();
979 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
2936 const InputDeviceInfo::MotionRange& x = mOrientedRanges.x;
2937 const InputDeviceInfo::MotionRange& y = mOrientedRanges.y;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp1454 const InputDeviceInfo::MotionRange* range = info.getMotionRange(axis, source);
/frameworks/base/
H A Dcompiled-classes-phone4301 android.view.InputDevice$MotionRange

Completed in 275 milliseconds