/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 170 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_Y, entry.positions[pointerId].y); in createMotionEventStream() 208 case AMOTION_EVENT_AXIS_Y: in computeAndCheckVelocity() 299 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, 5970.7309); in TEST_F() 342 computeAndCheckVelocity("impulse",motions, AMOTION_EVENT_AXIS_Y, -3604.819336); in TEST_F() 343 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -3044.966064); in TEST_F() 369 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -4096.583008); in TEST_F() 370 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -3455.094238); in TEST_F() 399 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -2361.982666); in TEST_F() 400 computeAndCheckVelocity("lsq2", motions, AMOTION_EVENT_AXIS_Y, -2500.055664); in TEST_F() 429 computeAndCheckVelocity("impulse", motions, AMOTION_EVENT_AXIS_Y, -3001.4348); in TEST_F() [all …]
|
D | InputEvent_test.cpp | 239 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory() 249 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in initializeEventWithHistory() 265 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in initializeEventWithHistory() 274 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in initializeEventWithHistory() 285 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in initializeEventWithHistory() 294 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in initializeEventWithHistory() 337 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory() 339 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory() 341 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory() 343 getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); in PublishAndConsumeMotionEvent() 214 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in PublishAndConsumeMotionEvent() 218 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 286 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY() 491 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getRawY() 501 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY() 551 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY() 563 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalY()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 154 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, windowYScale); in scale() 167 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 328 case AMOTION_EVENT_AXIS_Y: in getAxisValue() 350 case AMOTION_EVENT_AXIS_Y: in getHistoricalAxisValue() 439 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y) + oldYOffset; in transform() 442 c.setAxisValue(AMOTION_EVENT_AXIS_Y, y - mYOffset); in transform()
|
D | InputTransport.cpp | 877 msgCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, resampleCoords.getY()); in rewriteMessage() 1001 resampledCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, in resampleTouchState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 77 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 81 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo() 355 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 361 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
|
D | TouchInputMapper.cpp | 800 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in configureSurface() 2285 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData() 2533 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in dispatchPointerGestures() 2797 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures() 2837 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures() 2949 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures() 3196 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures() 3290 .setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures() 3325 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures() 3336 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures() [all …]
|
D | JoystickInputMapper.cpp | 226 case AMOTION_EVENT_AXIS_Y: in isCenteredAxis()
|
/frameworks/native/include/android/ |
D | input.h | 424 AMOTION_EVENT_AXIS_Y = 1, enumerator 884 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 42 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 538 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in injectMotionDown() 576 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 200); in generateMotionArgs()
|
D | InputReader_test.cpp | 1879 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in assertPointerCoords() 4023 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4047 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4061 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4075 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4089 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 199 outRawPointerCoords->setAxisValue(AMOTION_EVENT_AXIS_Y, in pointerCoordsToNative() 263 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); in pointerCoordsFromNative() 282 bits.clearBit(AMOTION_EVENT_AXIS_Y); in pointerCoordsFromNative()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 286 c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots() 313 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 464 int32_t(motionEntry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in enqueueInboundEventLocked() 983 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetails() 1318 int32_t y = int32_t(entry->pointerCoords[pointerIndex].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked() 1400 int32_t y = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked() 2735 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in notifyMotion()
|
/frameworks/native/services/inputflinger/ |
D | InputClassifierConverter.cpp | 219 static_assert(static_cast<common::V1_0::Axis>(AMOTION_EVENT_AXIS_Y) ==
|