Home
last modified time | relevance | path

Searched refs:addMotionRange (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp36 jmethodID addMotionRange; member
73 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, in android_view_InputDevice_create()
92 gInputDeviceClassInfo.addMotionRange = GetMethodIDOrDie(env, gInputDeviceClassInfo.clazz, in register_android_view_InputDevice()
/frameworks/native/include/input/
DInputDevice.h104 void addMotionRange(int32_t axis, uint32_t source,
106 void addMotionRange(const MotionRange& range);
/frameworks/native/libs/input/
DInputDevice.cpp201 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, in addMotionRange() function in android::InputDeviceInfo
207 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange() function in android::InputDeviceInfo
/frameworks/native/services/inputflinger/
DInputReader.cpp2543 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2544 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2547 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo()
2548 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo()
2550 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2553 info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2556 info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2972 info->addMotionRange(AMOTION_EVENT_AXIS_SCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
3077 info->addMotionRange(mOrientedRanges.x); in populateDeviceInfo()
3078 info->addMotionRange(mOrientedRanges.y); in populateDeviceInfo()
[all …]
DInputReader.h1802 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
/frameworks/base/core/java/android/view/
DInputDevice.java456 addMotionRange(in.readInt(), in.readInt(), in.readFloat(), in.readFloat(), in InputDevice()
745 private void addMotionRange(int axis, int source, in addMotionRange() method in InputDevice