Searched refs:AMOTION_EVENT_AXIS_RELATIVE_X (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.cpp | 212 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/ |
D | InputDeviceMetricsSource_test.cpp | 151 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 100) in TEST_P() 177 .axis(AMOTION_EVENT_AXIS_RELATIVE_X, 1) in TEST_P()
|
D | CursorInputMapper_test.cpp | 867 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()
|
D | TestEventMatchers.h | 627 const auto argX = arg.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X);
|
D | PointerChoreographer_test.cpp | 57 .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/ |
D | CursorInputMapper.cpp | 100 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()
|
D | TouchInputMapper.cpp | 258 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X), in dump() 2416 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, dx); in cookPointerData()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 498 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/ |
D | InputEvent_test.cpp | 882 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/ |
D | PointerChoreographer.cpp | 243 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()
|
D | InputCommonConverter.cpp | 246 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_RELATIVE_X) == common::Axis::RELATIVE_X);
|
/frameworks/native/include/android/ |
D | input.h | 683 AMOTION_EVENT_AXIS_RELATIVE_X = 27, enumerator
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 226 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, in pointerCoordsToNative() 445 {AMOTION_EVENT_AXIS_RELATIVE_X, gPointerCoordsClassInfo.relativeX}, in android_view_MotionEvent_nativeGetPointerCoords()
|