/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 169 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_X, entry.positions[pointerId].x); in createMotionEventStream() 205 case AMOTION_EVENT_AXIS_X: in computeAndCheckVelocity() 244 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_X, 1600); in TEST_F() 255 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F() 256 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F() 267 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F() 268 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F() 298 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_X, 623.577637); in TEST_F() 340 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_X, 872.794617); in TEST_F() 341 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_X, 951.698181); in TEST_F() [all …]
|
D | InputEvent_test.cpp | 238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() 248 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in initializeEventWithHistory() 264 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in initializeEventWithHistory() 273 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in initializeEventWithHistory() 284 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in initializeEventWithHistory() 293 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in initializeEventWithHistory() 568 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); in PublishAndConsumeMotionEvent() 212 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in PublishAndConsumeMotionEvent() 216 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset, in PublishAndConsumeMotionEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 282 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX() 487 return getRawAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getRawX() 497 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX() 546 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalRawX() 558 AMOTION_EVENT_AXIS_X, pointerIndex, historicalIndex); in getHistoricalX()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 153 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, windowXScale); in scale() 166 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 326 case AMOTION_EVENT_AXIS_X: in getAxisValue() 348 case AMOTION_EVENT_AXIS_X: in getHistoricalAxisValue() 438 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X) + oldXOffset; in transform() 441 c.setAxisValue(AMOTION_EVENT_AXIS_X, x - mXOffset); in transform()
|
D | InputTransport.cpp | 876 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_X, resampleCoords.getX()); in rewriteMessage() 999 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_X, in resampleTouchState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 76 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 80 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo() 354 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 360 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
|
D | TouchInputMapper.cpp | 798 mOrientedRanges.x.axis = AMOTION_EVENT_AXIS_X; in configureSurface() 2284 out.setAxisValue(AMOTION_EVENT_AXIS_X, x); in cookPointerData() 2532 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in dispatchPointerGestures() 2796 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures() 2835 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 2948 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures() 3194 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 3287 .setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures() 3324 id, index, properties.toolType, coords.getAxisValue(AMOTION_EVENT_AXIS_X), in preparePointerGestures() 3335 id, index, properties.toolType, coords.getAxisValue(AMOTION_EVENT_AXIS_X), in preparePointerGestures() [all …]
|
D | JoystickInputMapper.cpp | 225 case AMOTION_EVENT_AXIS_X: in isCenteredAxis()
|
/frameworks/native/include/android/ |
D | input.h | 409 AMOTION_EVENT_AXIS_X = 0, enumerator 882 AINPUT_MOTION_RANGE_X = AMOTION_EVENT_AXIS_X,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 37 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 41 coords.setAxisValue(AMOTION_EVENT_AXIS_X, 1); in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 537 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in injectMotionDown() 575 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 100); in generateMotionArgs()
|
D | InputReader_test.cpp | 1878 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1); in assertPointerCoords() 4022 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 4046 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 4060 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 4074 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F() 4088 ASSERT_NEAR(50, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X), 1); in TEST_F()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 197 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_X, in pointerCoordsToNative() 261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); in pointerCoordsFromNative() 281 bits.clearBit(AMOTION_EVENT_AXIS_X); in pointerCoordsFromNative()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 285 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots() 312 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 462 int32_t(motionEntry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in enqueueInboundEventLocked() 982 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetails() 1317 int32_t x = int32_t(entry->pointerCoords[pointerIndex].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked() 1399 int32_t x = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in findTouchedWindowTargetsLocked() 2734 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in notifyMotion()
|
/frameworks/native/services/inputflinger/ |
D | InputClassifierConverter.cpp | 217 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_X) ==
|