Searched refs:AMOTION_EVENT_AXIS_RELATIVE_Y (Results 1 – 8 of 8) sorted by relevance
/aosp12/frameworks/native/libs/input/tests/ |
H A D | InputEvent_test.cpp | 672 pointerCoords.back().setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, dy); in createTouchDownEvent() 699 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 713 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 720 ASSERT_NEAR(event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), in TEST_F() 721 changedEvent.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), 0.001); in TEST_F() 756 ASSERT_EQ(96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 772 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 784 ASSERT_EQ(-96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 796 ASSERT_EQ(-42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F() 808 ASSERT_EQ(-42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F()
|
/aosp12/frameworks/native/libs/input/ |
H A D | Input.cpp | 325 scaleAxisValue(*this, AMOTION_EVENT_AXIS_RELATIVE_Y, windowYScale); in scale() 395 BitSet64::hasBit(bits, AMOTION_EVENT_AXIS_RELATIVE_Y)) { in transform() 398 getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)); in transform() 400 setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, relativeXy.y); in transform() 551 if (axis == AMOTION_EVENT_AXIS_RELATIVE_X || axis == AMOTION_EVENT_AXIS_RELATIVE_Y) { in getHistoricalRawAxisValue() 556 coords->getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y)); in getHistoricalRawAxisValue() 575 if (axis == AMOTION_EVENT_AXIS_RELATIVE_X || axis == AMOTION_EVENT_AXIS_RELATIVE_Y) { in getHistoricalAxisValue() 581 AMOTION_EVENT_AXIS_RELATIVE_Y)); in getHistoricalAxisValue()
|
/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | CursorInputMapper.cpp | 87 info->addMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, in populateDeviceInfo() 376 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync() 383 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY); in sync()
|
H A D | TouchInputMapper.cpp | 206 info->addMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, mSource, -y.max, y.max, y.flat, in populateDeviceInfo() 318 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y), in dump() 2361 out.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, dy); in cookPointerData()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 221 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, in pointerCoordsToNative() 274 float rawRelY = rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y); in pointerCoordsFromNative() 310 bits.clearBit(AMOTION_EVENT_AXIS_RELATIVE_Y); in pointerCoordsFromNative()
|
/aosp12/frameworks/native/include/android/ |
H A D | input.h | 683 AMOTION_EVENT_AXIS_RELATIVE_Y = 28, enumerator
|
/aosp12/frameworks/native/services/inputflinger/ |
H A D | InputClassifierConverter.cpp | 273 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_RELATIVE_Y) ==
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 8788 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, AINPUT_SOURCE_TOUCHPAD); in TEST_F()
|