Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_AXIS_Y (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp172 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_Y, entry.positions[pointerId].y); in createMotionEventStream()
213 case AMOTION_EVENT_AXIS_Y: in computeAndCheckVelocity()
303 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
349 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
351 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
378 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
380 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
412 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
414 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
446 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
[all …]
DInputEvent_test.cpp258 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory()
268 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in initializeEventWithHistory()
285 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in initializeEventWithHistory()
294 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in initializeEventWithHistory()
305 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in initializeEventWithHistory()
314 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in initializeEventWithHistory()
359 ASSERT_EQ(11, event->getHistoricalRawPointerCoords(0, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
360 ASSERT_EQ(21, event->getHistoricalRawPointerCoords(1, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
361 ASSERT_EQ(111, event->getHistoricalRawPointerCoords(0, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
362 ASSERT_EQ(121, event->getHistoricalRawPointerCoords(1, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
[all …]
DInputPublisherAndConsumer_test.cpp184 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp85 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
89 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo()
368 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, yCursorPosition); in sync()
374 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
DTouchInputMapper.cpp724 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in initializeOrientedRanges()
2351 out.setAxisValue(AMOTION_EVENT_AXIS_Y, yTransformed); in cookPointerData()
2375 float dy = yTransformed - p.getAxisValue(AMOTION_EVENT_AXIS_Y); in cookPointerData()
2617 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in dispatchPointerGestures()
2882 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
2922 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
3034 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
3284 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
3378 .setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
3412 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures()
[all …]
DJoystickInputMapper.cpp233 case AMOTION_EVENT_AXIS_Y: in isCenteredAxis()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_GamepadKeys.h95 {AMOTION_EVENT_AXIS_Y, -1, 1, ABS_Y, 0, 254}, // Left joystick Y
/frameworks/native/include/input/
DInput.h391 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY()
632 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getRawY()
650 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY()
709 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY()
721 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalY()
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
DInputClassifier_test.cpp45 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
DPreferStylusOverTouch_test.cpp62 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, points[i].y); in generateMotionArgs()
DUnwantedInteractionBlocker_test.cpp100 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, points[i].y); in generateMotionArgs()
126 info.addMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN, 0, 2559, /*flat*/ 0, in generateTestDeviceInfo()
DInputReader_test.cpp3083 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), scaledAxisEpsilon); in assertPointerCoords()
5966 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
5992 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6006 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6020 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6034 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6058 EXPECT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6082 EXPECT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6106 EXPECT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
6130 EXPECT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
[all …]
DInputDispatcher_test.cpp1351 PointerBuilder& y(float y) { return axis(AMOTION_EVENT_AXIS_Y, y); } in y()
1529 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, points[i].y); in generateMotionArgs()
4329 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 400); in testInjectedMotion()
/frameworks/base/libs/input/
DTouchSpotController.cpp88 c.getAxisValue(AMOTION_EVENT_AXIS_X), c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots()
105 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
DPointerController.cpp207 outSpotCoords[index].setAxisValue(AMOTION_EVENT_AXIS_Y, xy.y); in setSpots()
/frameworks/native/include/android/
Dinput.h437 AMOTION_EVENT_AXIS_Y = 1, enumerator
932 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp216 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionEvent()
244 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionArgs()
/frameworks/native/libs/input/
DInput.cpp360 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, windowYScale); in scale()
424 setAxisValue(AMOTION_EVENT_AXIS_Y, xy.y); in transform()
897 if (axis == AMOTION_EVENT_AXIS_X || axis == AMOTION_EVENT_AXIS_Y) { in calculateTransformedAxisValue()
899 static_assert(AMOTION_EVENT_AXIS_X == 0 && AMOTION_EVENT_AXIS_Y == 1); in calculateTransformedAxisValue()
930 out.setAxisValue(AMOTION_EVENT_AXIS_Y, xy.y); in calculateTransformedCoords()
DInputTransport.cpp1074 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage()
1198 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp226 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
599 touches.back().y = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y); in getTouches()
DInputCommonConverter.cpp219 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_Y) == common::Axis::Y);
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp204 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative()
416 {AMOTION_EVENT_AXIS_Y, gPointerCoordsClassInfo.y}, in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp935 motionEntry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in shouldPruneInboundQueueLocked()
1742 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetails()
2070 y = int32_t(entry.pointerCoords[pointerIndex].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
2246 const int32_t y = int32_t(entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked()
4005 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in notifyMotion()