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
74 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, in android_view_InputDevice_create()
93 gInputDeviceClassInfo.addMotionRange = GetMethodIDOrDie(env, gInputDeviceClassInfo.clazz, in register_android_view_InputDevice()
/frameworks/native/include/input/
DInputDevice.h94 void addMotionRange(int32_t axis, uint32_t source,
96 void addMotionRange(const MotionRange& range);
/frameworks/native/libs/input/
DInputDevice.cpp185 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, in addMotionRange() function in android::InputDeviceInfo
191 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange() function in android::InputDeviceInfo
/frameworks/native/services/inputflinger/
DInputReader.cpp2479 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2480 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2483 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo()
2484 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo()
2486 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2489 info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2492 info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
2887 info->addMotionRange(AMOTION_EVENT_AXIS_SCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
2977 info->addMotionRange(mOrientedRanges.x); in populateDeviceInfo()
2978 info->addMotionRange(mOrientedRanges.y); in populateDeviceInfo()
[all …]
DInputReader.h1984 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
/frameworks/base/core/java/android/view/
DInputDevice.java450 addMotionRange(in.readInt(), in.readInt(), in.readFloat(), in.readFloat(), in InputDevice()
740 private void addMotionRange(int axis, int source, in addMotionRange() method in InputDevice