/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 171 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_X, entry.positions[pointerId].x); in createMotionEventStream() 210 case AMOTION_EVENT_AXIS_X: in computeAndCheckVelocity() 249 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F() 261 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F() 262 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F() 270 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F() 271 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F() 301 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F() 345 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F() 347 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, in TEST_F() [all …]
|
D | InputEvent_test.cpp | 257 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() 267 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in initializeEventWithHistory() 284 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in initializeEventWithHistory() 293 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in initializeEventWithHistory() 304 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in initializeEventWithHistory() 313 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in initializeEventWithHistory() 597 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F() 656 pointerCoords.back().setAxisValue(AMOTION_EVENT_AXIS_X, x); in createMotionEvent()
|
D | InputPublisherAndConsumer_test.cpp | 183 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 84 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 88 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo() 367 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, xCursorPosition); in sync() 373 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
|
D | TouchInputMapper.cpp | 722 mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X; in initializeOrientedRanges() 2350 out.setAxisValue(AMOTION_EVENT_AXIS_X, xTransformed); in cookPointerData() 2374 float dx = xTransformed - p.getAxisValue(AMOTION_EVENT_AXIS_X); in cookPointerData() 2616 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in dispatchPointerGestures() 2881 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures() 2920 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 3033 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures() 3282 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 3375 .setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 3411 id, index, properties.toolType, coords.getAxisValue(AMOTION_EVENT_AXIS_X), in preparePointerGestures() [all …]
|
D | JoystickInputMapper.cpp | 232 case AMOTION_EVENT_AXIS_X: in isCenteredAxis()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_GamepadKeys.h | 94 {AMOTION_EVENT_AXIS_X, -1, 1, ABS_X, 0, 254}, // Left joystick X
|
/frameworks/native/include/input/ |
D | Input.h | 387 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX() 628 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getRawX() 642 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX() 704 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX() 716 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalX()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 37 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 44 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs()
|
D | PreferStylusOverTouch_test.cpp | 61 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, points[i].x); in generateMotionArgs()
|
D | UnwantedInteractionBlocker_test.cpp | 99 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, points[i].x); in generateMotionArgs() 124 info.addMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN, 0, 1599, /*flat*/ 0, in generateTestDeviceInfo()
|
D | InputReader_test.cpp | 3082 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), scaledAxisEpsilon); in assertPointerCoords() 5965 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 5991 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6005 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6019 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6033 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6057 EXPECT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6081 EXPECT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6105 EXPECT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 6129 EXPECT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 1349 PointerBuilder& x(float x) { return axis(AMOTION_EVENT_AXIS_X, x); } in x() 1528 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, points[i].x); in generateMotionArgs() 3392 motionArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in TEST_F() 4328 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 300); in testInjectedMotion()
|
/frameworks/base/libs/input/ |
D | TouchSpotController.cpp | 88 c.getAxisValue(AMOTION_EVENT_AXIS_X), c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots() 104 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
|
D | PointerController.cpp | 206 outSpotCoords[index].setAxisValue(AMOTION_EVENT_AXIS_X, xy.x); in setSpots()
|
/frameworks/native/include/android/ |
D | input.h | 422 AMOTION_EVENT_AXIS_X = 0, enumerator 930 AINPUT_MOTION_RANGE_X = AMOTION_EVENT_AXIS_X,
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 215 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionEvent() 243 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionArgs()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 359 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, windowXScale); in scale() 423 setAxisValue(AMOTION_EVENT_AXIS_X, xy.x); 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() 929 out.setAxisValue(AMOTION_EVENT_AXIS_X, xy.x); in calculateTransformedCoords()
|
D | InputTransport.cpp | 1073 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 1196 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState()
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 216 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo() 598 touches.back().x = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X); in getTouches()
|
D | InputCommonConverter.cpp | 218 static_assert(static_cast<common::Axis>(AMOTION_EVENT_AXIS_X) == common::Axis::X);
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 202 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative() 415 {AMOTION_EVENT_AXIS_X, gPointerCoordsClassInfo.x}, in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 933 motionEntry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in shouldPruneInboundQueueLocked() 1741 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetails() 2069 x = int32_t(entry.pointerCoords[pointerIndex].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked() 2245 const int32_t x = int32_t(entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked() 4004 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in notifyMotion()
|