/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/tests/ |
D | InputClassifierConverter_test.cpp | 38 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 39 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 536 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in injectMotionDown() 574 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 200); in generateMotionArgs()
|
D | InputReader_test.cpp | 1867 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in assertPointerCoords() 4005 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4029 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4043 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4057 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F() 4071 ASSERT_NEAR(75, args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in TEST_F()
|
/frameworks/native/include/android/ |
D | input.h | 424 AMOTION_EVENT_AXIS_Y = 1, enumerator 884 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
|
/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 | 287 c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots() 311 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2544 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 2548 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo() 2804 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 2810 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 3675 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in configureSurface() 5193 out.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in cookPointerData() 5450 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in dispatchPointerGestures() 5715 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures() 5758 AMOTION_EVENT_AXIS_Y, mPointerGesture.tapY); in preparePointerGestures() 5872 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures() [all …]
|
D | InputDispatcher.cpp | 515 getAxisValue(AMOTION_EVENT_AXIS_Y)); in enqueueInboundEventLocked() 1036 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetails() 1368 getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked() 1448 int32_t y = int32_t(entry->pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in findTouchedWindowTargetsLocked() 2770 args->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in notifyMotion()
|