Searched refs:AMOTION_EVENT_AXIS_RELATIVE_Y (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/input/ |
D | Input.cpp | 426 scaleAxisValue(*this, AMOTION_EVENT_AXIS_RELATIVE_Y, windowYScale); in scale() 486 BitSet64::hasBit(bits, AMOTION_EVENT_AXIS_RELATIVE_Y)) { in transform() 489 getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)); in transform() 491 setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, relativeXy.y); in transform() 962 if (axis == AMOTION_EVENT_AXIS_RELATIVE_X || axis == AMOTION_EVENT_AXIS_RELATIVE_Y) { in calculateTransformedAxisValue() 966 coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)}); in calculateTransformedAxisValue() 994 coords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)}); in calculateTransformedCoords() 996 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, relativeXy.y); in calculateTransformedCoords()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 701 pointerCoords.back().setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, dy); in createMotionEvent() 734 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 748 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 755 ASSERT_NEAR(event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), in TEST_F() 756 changedEvent.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), 0.001); in TEST_F() 829 ASSERT_NEAR(rel.y, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), EPSILON); in TEST_F()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 101 info.addMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, in populateDeviceInfo() 300 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 306 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync()
|
D | TouchInputMapper.cpp | 160 info.addMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, mSource, -y.max, y.max, y.flat, y.fuzz, in populateDeviceInfo() 257 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y), in dump() 2465 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, dy); in cookPointerData()
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.cpp | 172 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in handleMove() 196 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0); in handleButtonsChange() 273 coords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0); in releaseAllButtons()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListenerMatchers.h | 102 const auto argY = arg.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y);
|
D | InputDeviceMetricsCollector_test.cpp | 205 .axis(AMOTION_EVENT_AXIS_RELATIVE_Y, 200)) in TEST_P() 231 .axis(AMOTION_EVENT_AXIS_RELATIVE_Y, 2)) in TEST_P()
|
D | InputReader_test.cpp | 4692 const float relY = args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y); in TEST_F() 4736 ASSERT_EQ(10, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)); in TEST_F() 10423 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, AINPUT_SOURCE_TOUCHPAD); in TEST_F()
|
/frameworks/native/include/android/ |
D | input.h | 693 AMOTION_EVENT_AXIS_RELATIVE_Y = 28, enumerator
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 238 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, in pointerCoordsToNative() 443 {AMOTION_EVENT_AXIS_RELATIVE_Y, gPointerCoordsClassInfo.relativeY}, in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/native/services/inputflinger/ |
D | InputCommonConverter.cpp | 244 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_RELATIVE_Y) == common::Axis::RELATIVE_Y);
|