Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp212 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in handleMove()
228 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0); in handleButtonsChange()
303 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0); in releaseAllButtons()
386 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0); in handleFling()
616 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0); in makeHoverEvent()
/frameworks/native/services/inputflinger/tests/
DInputDeviceMetricsSource_test.cpp151 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 100) in TEST_P()
177 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 1) in TEST_P()
DCursorInputMapper_test.cpp867 const float relX = motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in TEST_F()
885 const float relX2 = motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in TEST_F()
938 const float relX = motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in TEST_F()
952 const float relX2 = motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in TEST_F()
976 ASSERT_GT(coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), 10.f); in TEST_F()
1015 ASSERT_GT(coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), 10.f); in TEST_F()
DTestEventMatchers.h627 const auto argX = arg.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X);
DPointerChoreographer_test.cpp57 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 10)
63 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 10)
530 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 10) in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp100 info.addMotionRange(AMOTION_EVENT_AXIS_RELATIVE_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, in populateDeviceInfo()
294 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync()
300 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in sync()
DTouchInputMapper.cpp258 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), in dump()
2416 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, dx); in cookPointerData()
/frameworks/native/libs/input/
DInput.cpp498 scaleAxisValue(*this, AMOTION_EVENT_AXIS_RELATIVE_X, windowXScale); in scale()
1074 if (axis == AMOTION_EVENT_AXIS_RELATIVE_X || axis == AMOTION_EVENT_AXIS_RELATIVE_Y) { in calculateTransformedAxisValue()
1077 {coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), in calculateTransformedAxisValue()
1079 return axis == AMOTION_EVENT_AXIS_RELATIVE_X ? relativeXy.x : relativeXy.y; in calculateTransformedAxisValue()
1103 {coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), in calculateTransformedCoordsInPlace()
1105 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, relativeXy.x); in calculateTransformedCoordsInPlace()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp882 pointerCoords.back().setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, dx); in createMotionEvent()
914 ASSERT_EQ(-96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0)); in TEST_F()
928 ASSERT_EQ(-96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0)); in TEST_F()
934 ASSERT_NEAR(event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), in TEST_F()
935 changedEvent.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), 0.001); in TEST_F()
1009 ASSERT_NEAR(rel.x, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), EPSILON); in TEST_F()
/frameworks/native/services/inputflinger/
DPointerChoreographer.cpp243 newArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX); in processMouseEventLocked()
248 const float deltaX = args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in processMouseEventLocked()
271 const float deltaX = args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X); in processTouchpadEventLocked()
DInputCommonConverter.cpp246 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_RELATIVE_X) == common::Axis::RELATIVE_X);
/frameworks/native/include/android/
Dinput.h683 AMOTION_EVENT_AXIS_RELATIVE_X = 27, enumerator
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp226 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, in pointerCoordsToNative()
445 {AMOTION_EVENT_AXIS_RELATIVE_X, gPointerCoordsClassInfo.relativeX}, in android_view_MotionEvent_nativeGetPointerCoords()