Lines Matching refs:motionArgs
7194 NotifyMotionArgs motionArgs = in TEST_F() local
7198 mDispatcher->notifyMotion(motionArgs); in TEST_F()
7202 motionArgs.action = AMOTION_EVENT_ACTION_MOVE; in TEST_F()
7203 motionArgs.id += 1; in TEST_F()
7204 motionArgs.eventTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
7205 motionArgs.pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in TEST_F()
7206 motionArgs.pointerCoords[0].getX() - 10); in TEST_F()
7208 mDispatcher->notifyMotion(motionArgs); in TEST_F()
7320 const NotifyMotionArgs motionArgs = in TEST_F() local
7323 mDispatcher->notifyMotion(motionArgs); in TEST_F()
7331 EXPECT_EQ(motionArgs.eventTime, verified->eventTimeNanos); in TEST_F()
7332 EXPECT_EQ(motionArgs.deviceId, verified->deviceId); in TEST_F()
7333 EXPECT_EQ(motionArgs.source, verified->source); in TEST_F()
7334 EXPECT_EQ(motionArgs.displayId, verified->displayId); in TEST_F()
7339 MotionEvent::calculateTransformedXY(motionArgs.source, transform, in TEST_F()
7340 motionArgs.pointerCoords[0].getXYValue()); in TEST_F()
7343 EXPECT_EQ(motionArgs.action & AMOTION_EVENT_ACTION_MASK, verifiedMotion.actionMasked); in TEST_F()
7344 EXPECT_EQ(motionArgs.flags & VERIFIED_MOTION_EVENT_FLAGS, verifiedMotion.flags); in TEST_F()
7345 EXPECT_EQ(motionArgs.downTime, verifiedMotion.downTimeNanos); in TEST_F()
7346 EXPECT_EQ(motionArgs.metaState, verifiedMotion.metaState); in TEST_F()
7347 EXPECT_EQ(motionArgs.buttonState, verifiedMotion.buttonState); in TEST_F()
8880 NotifyMotionArgs motionArgs; in testNotifyMotion() local
8882 motionArgs = in testNotifyMotion()
8884 mDispatcher->notifyMotion(motionArgs); in testNotifyMotion()
8885 motionArgs = in testNotifyMotion()
8887 mDispatcher->notifyMotion(motionArgs); in testNotifyMotion()
8890 const auto xy = transform.transform(motionArgs.pointerCoords[0].getXYValue()); in testNotifyMotion()
8891 mFakePolicy->assertFilterInputEventWasCalled(motionArgs, xy); in testNotifyMotion()
13190 NotifyMotionArgs motionArgs = in sendStylusEvent() local
13193 motionArgs.pointerProperties[0].toolType = ToolType::STYLUS; in sendStylusEvent()
13194 mDispatcher->notifyMotion(motionArgs); in sendStylusEvent()