/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 172 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 …]
|
D | InputEvent_test.cpp | 258 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 …]
|
D | InputPublisherAndConsumer_test.cpp | 184 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 85 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()
|
D | TouchInputMapper.cpp | 724 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 …]
|
D | JoystickInputMapper.cpp | 233 case AMOTION_EVENT_AXIS_Y: in isCenteredAxis()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_GamepadKeys.h | 95 {AMOTION_EVENT_AXIS_Y, -1, 1, ABS_Y, 0, 254}, // Left joystick Y
|
/frameworks/native/include/input/ |
D | Input.h | 391 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/ |
D | InputClassifierConverter_test.cpp | 38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 45 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
D | PreferStylusOverTouch_test.cpp | 62 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, points[i].y); in generateMotionArgs()
|
D | UnwantedInteractionBlocker_test.cpp | 100 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()
|
D | InputReader_test.cpp | 3083 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 …]
|
D | InputDispatcher_test.cpp | 1351 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/ |
D | TouchSpotController.cpp | 88 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()
|
D | PointerController.cpp | 207 outSpotCoords[index].setAxisValue(AMOTION_EVENT_AXIS_Y, xy.y); in setSpots()
|
/frameworks/native/include/android/ |
D | input.h | 437 AMOTION_EVENT_AXIS_Y = 1, enumerator 932 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 216 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/ |
D | Input.cpp | 360 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()
|
D | InputTransport.cpp | 1074 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 1198 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 226 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()
|
D | InputCommonConverter.cpp | 219 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_Y) == common::Axis::Y);
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 204 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/ |
D | InputDispatcher.cpp | 935 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()
|