/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 206 coords[pointerIndex].setAxisValue(AMOTION_EVENT_AXIS_Y, position.y); in createTouchMotionEventStream() 276 computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in computeAndCheckQuadraticVelocity() 295 case AMOTION_EVENT_AXIS_Y: in TEST() 318 EXPECT_EQ(computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in TEST_F() 321 AMOTION_EVENT_AXIS_Y, DEFAULT_POINTER_ID)); in TEST_F() 331 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/0, /*velocity=*/1000); in TEST_F() 332 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/26U, /*velocity=*/2000); in TEST_F() 333 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/27U, /*velocity=*/3000); in TEST_F() 334 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, MAX_POINTER_ID, /*velocity=*/4000); in TEST_F() 341 EXPECT_EQ(*(computedVelocity.getVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/0U)), 1000); in TEST_F() [all …]
|
D | InputEvent_test.cpp | 299 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in SetUp() 310 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in SetUp() 321 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in SetUp() 332 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in SetUp() 344 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in SetUp() 354 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in SetUp() 425 ASSERT_NEAR(11, event->getHistoricalRawPointerCoords(0, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y), in assertEqualsEventWithHistory() 427 ASSERT_NEAR(21, event->getHistoricalRawPointerCoords(1, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y), in assertEqualsEventWithHistory() 429 ASSERT_NEAR(111, event->getHistoricalRawPointerCoords(0, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y), in assertEqualsEventWithHistory() 431 ASSERT_NEAR(121, event->getHistoricalRawPointerCoords(1, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y), in assertEqualsEventWithHistory() [all …]
|
D | InputVerifier_test.cpp | 44 coords.back().setAxisValue(AMOTION_EVENT_AXIS_Y, 300); in TEST()
|
D | TouchResampling_test.cpp | 112 coords.back().setAxisValue(AMOTION_EVENT_AXIS_Y, pointer.y); in publishSimpleMotionEvent() 194 motionEvent->getHistoricalAxisValue(AMOTION_EVENT_AXIS_Y, in consumeInputEventEntries() 197 motionEvent->getHistoricalRawAxisValue(AMOTION_EVENT_AXIS_Y, in consumeInputEventEntries()
|
D | MotionPredictor_test.cpp | 56 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in getMotionEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.cpp | 122 info.addMotionRange(AMOTION_EVENT_AXIS_Y, SOURCE, mBoundsInLogicalDisplay.top, in populateMotionRanges() 348 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y) + deltaY); in handleScroll() 461 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 0.f); in handleMultiFingerSwipe() 486 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, in handleMultiFingerSwipe() 487 coords.getAxisValue(AMOTION_EVENT_AXIS_Y) + rotatedDeltaY); in handleMultiFingerSwipe() 545 mFakeFingerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 0.f); in handlePinch() 548 mFakeFingerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 0.f); in handlePinch() 571 mFakeFingerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 0.f); in handlePinch() 573 mFakeFingerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 0.f); in handlePinch()
|
/frameworks/native/libs/input/ |
D | VelocityControl.cpp | 66 mVelocityTracker.addMovement(eventTime, /*pointerId=*/0, AMOTION_EVENT_AXIS_Y, mRawPositionY); in move() 83 std::optional<float> vy = mVelocityTracker.getVelocity(AMOTION_EVENT_AXIS_Y, 0); in scaleDeltas() 156 std::optional<float> vy = mVelocityTracker.getVelocity(AMOTION_EVENT_AXIS_Y, 0); in scaleDeltas()
|
D | MotionPredictor.cpp | 208 .position.y = coords->getAxisValue(AMOTION_EVENT_AXIS_Y), in record() 216 coords->getAxisValue(AMOTION_EVENT_AXIS_Y)); in record() 303 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, predictedPoint.y); in predict()
|
D | Input.cpp | 493 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, windowYScale); in scale() 1068 if (axis == AMOTION_EVENT_AXIS_X || axis == AMOTION_EVENT_AXIS_Y) { in calculateTransformedAxisValue() 1070 static_assert(AMOTION_EVENT_AXIS_X == 0 && AMOTION_EVENT_AXIS_Y == 1); in calculateTransformedAxisValue() 1099 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, xy.y); in calculateTransformedCoordsInPlace()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 58 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionEvent() 86 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 100); in generateMotionArgs()
|
/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/services/inputflinger/tests/ |
D | InputProcessorConverter_test.cpp | 37 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 2); in generateBasicMotionArgs()
|
D | NotifyArgs_test.cpp | 61 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, y++); in TEST()
|
D | InputProcessor_test.cpp | 44 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, 1); in generateBasicMotionArgs()
|
/frameworks/native/include/android/ |
D | input.h | 440 AMOTION_EVENT_AXIS_Y = 1, enumerator 1029 AINPUT_MOTION_RANGE_Y = AMOTION_EVENT_AXIS_Y,
|
/frameworks/base/libs/input/ |
D | TouchSpotController.cpp | 97 c.getAxisValue(AMOTION_EVENT_AXIS_X), c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots() 114 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
|
/frameworks/native/include/input/ |
D | Input.h | 496 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY() 745 return getRawAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getRawY() 763 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY() 822 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalRawY() 834 AMOTION_EVENT_AXIS_Y, pointerIndex, historicalIndex); in getHistoricalY()
|
D | InputEventBuilders.h | 45 PointerBuilder& y(float y) { return axis(AMOTION_EVENT_AXIS_Y, y); } in y()
|
/frameworks/native/services/inputflinger/ |
D | PointerChoreographer.cpp | 253 newArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in processMouseEventLocked() 280 newArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in processTouchpadEventLocked() 293 newArgs.pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, in processTouchpadEventLocked() 324 const float y = args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y); in processDrawingTabletEventLocked() 406 const float y = args.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y); in processStylusHoverEventLocked()
|
D | UnwantedInteractionBlocker.cpp | 247 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo() 631 touches.back().y = args.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y); in getTouches()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 94 info.addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, mBoundsInLogicalDisplay.top, in populateDeviceInfo() 99 info.addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo() 299 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync()
|
D | CapturedTouchpadEventConverter.cpp | 110 tryAddRawMotionRange(/*byref*/ info, AMOTION_EVENT_AXIS_Y, ABS_MT_POSITION_Y); in populateMotionRanges() 295 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, slot.getY()); in makePointerCoordsForSlot()
|
D | TouchInputMapper.cpp | 690 mOrientedRanges.y.axis = AMOTION_EVENT_AXIS_Y; in initializeOrientedRanges() 2398 out.setAxisValue(AMOTION_EVENT_AXIS_Y, transformed.y); in cookPointerData() 2415 float dy = transformed.y - p.getAxisValue(AMOTION_EVENT_AXIS_Y); in cookPointerData() 2737 mPointerGesture.velocityTracker.addMovement(when, id, AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures() 2867 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures() 2981 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures() 2993 coords.getAxisValue(AMOTION_EVENT_AXIS_Y), in preparePointerGestures() 3041 mPointerGesture.velocityTracker.getVelocity(AMOTION_EVENT_AXIS_Y, id); in getFastestFinger() 3285 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in prepareMultiFingerPointerGestures() 3379 mPointerGesture.currentGestureCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, in prepareMultiFingerPointerGestures() [all …]
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 176 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, fdp.ConsumeIntegralInRange<int>(-1000, 1000)); in generateFuzzedMotionArgs()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 117 BitSet64::hasBit(pointerCoords[0].bits, AMOTION_EVENT_AXIS_Y)) { in build()
|