Home
last modified time | relevance | path

Searched refs:addMotionRange (Results 1 – 11 of 11) 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/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp76 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
77 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
80 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo()
81 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo()
83 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
86 info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
89 info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
DJoystickInputMapper.cpp36 addMotionRange(axis.axisInfo.axis, axis, info); in populateDeviceInfo()
39 addMotionRange(axis.axisInfo.highAxis, axis, info); in populateDeviceInfo()
44 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info) { in addMotionRange() function in android::JoystickInputMapper
45 info->addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, axis.fuzz, in addMotionRange()
52 info->addMotionRange(compatAxis, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, in addMotionRange()
DExternalStylusInputMapper.cpp34 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, AINPUT_SOURCE_STYLUS, 0.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
DJoystickInputMapper.h105 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
DRotaryEncoderInputMapper.cpp50 info->addMotionRange(AMOTION_EVENT_AXIS_SCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, in populateDeviceInfo()
DTouchInputMapper.cpp188 info->addMotionRange(mOrientedRanges.x); in populateDeviceInfo()
189 info->addMotionRange(mOrientedRanges.y); in populateDeviceInfo()
190 info->addMotionRange(mOrientedRanges.pressure); in populateDeviceInfo()
193 info->addMotionRange(mOrientedRanges.size); in populateDeviceInfo()
197 info->addMotionRange(mOrientedRanges.touchMajor); in populateDeviceInfo()
198 info->addMotionRange(mOrientedRanges.touchMinor); in populateDeviceInfo()
202 info->addMotionRange(mOrientedRanges.toolMajor); in populateDeviceInfo()
203 info->addMotionRange(mOrientedRanges.toolMinor); in populateDeviceInfo()
207 info->addMotionRange(mOrientedRanges.orientation); in populateDeviceInfo()
211 info->addMotionRange(mOrientedRanges.distance); in populateDeviceInfo()
[all …]
/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/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
/frameworks/base/config/
Dboot-image-profile.txt16303 HSPLandroid/view/InputDevice;->addMotionRange(IIFFFFF)V