Home
last modified time | relevance | path

Searched refs:yCursorPosition (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp165 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleMove()
170 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, yCursorPosition); in handleMove()
179 yCursorPosition); in handleMove()
189 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleButtonsChange()
194 coords.setAxisValue(AMOTION_EVENT_AXIS_Y, yCursorPosition); in handleButtonsChange()
221 &coords, xCursorPosition, yCursorPosition)); in handleButtonsChange()
229 yCursorPosition)); in handleButtonsChange()
246 yCursorPosition)); in handleButtonsChange()
253 &coords, xCursorPosition, yCursorPosition)); in handleButtonsChange()
258 yCursorPosition)); in handleButtonsChange()
[all …]
DGestureConverter.h79 float yCursorPosition);
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp71 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in NotifyMotionArgs() argument
89 yCursorPosition(yCursorPosition), in NotifyMotionArgs()
113 isCursorPositionEqual(yCursorPosition, rhs.yCursorPosition) && in operator ==()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp284 float yCursorPosition = AMOTION_EVENT_INVALID_CURSOR_POSITION; in sync() local
295 std::tie(xCursorPosition, yCursorPosition) = mPointerController->getPosition(); in sync()
298 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, yCursorPosition); in sync()
349 xCursorPosition, yCursorPosition, downTime, in sync()
359 yCursorPosition, downTime, in sync()
373 xCursorPosition, yCursorPosition, downTime, in sync()
388 xCursorPosition, yCursorPosition, downTime, in sync()
403 xCursorPosition, yCursorPosition, downTime, in sync()
DTouchInputMapper.cpp3854 float yCursorPosition = AMOTION_EVENT_INVALID_CURSOR_POSITION; in dispatchMotion() local
3856 std::tie(xCursorPosition, yCursorPosition) = mPointerController->getPosition(); in dispatchMotion()
3865 pointerCoords, xPrecision, yPrecision, xCursorPosition, yCursorPosition, in dispatchMotion()
/frameworks/native/services/inputflinger/tests/
DNotifyArgs_test.cpp67 float yCursorPosition = 7.8f; in TEST() local
76 xPrecision, yPrecision, xCursorPosition, yCursorPosition, downTime, in TEST()
DInputDispatcher_test.cpp3484 motionArgs.yCursorPosition = 50; in TEST_F()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp224 memento.yCursorPosition = entry.yCursorPosition; in addMotionMemento()
293 memento.yCursorPosition, memento.downTime, in synthesizeCancelationEvents()
354 memento.yCursorPosition, memento.downTime, in synthesizePointerDownEvents()
395 memento.yCursorPosition, memento.downTime, in synthesizeCancelationEventsForPointers()
423 memento.yCursorPosition, memento.downTime, in synthesizeCancelationEventsForPointers()
DEntry.cpp217 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in MotionEntry() argument
234 yCursorPosition(yCursorPosition), in MotionEntry()
259 xPrecision, yPrecision, xCursorPosition, yCursorPosition); in getDescription()
DEntry.h175 float yCursorPosition; member
185 float yCursorPosition, nsecs_t downTime, uint32_t pointerCount,
DInputState.h98 float yCursorPosition; member
DInputDispatcher.cpp396 motionEntry.yCursorPosition, motionEntry.downTime, in createDispatchEntry()
602 return {entry.xCursorPosition, entry.yCursorPosition}; in resolveTouchedPosition()
3578 motionEntry.yCursorPosition, dispatchEntry.rawTransform, in publishMotionEvent()
4183 originalMotionEntry.yCursorPosition, splitDownTime, in splitMotionEvent()
4342 args.xPrecision, args.yPrecision, args.xCursorPosition, args.yCursorPosition, in notifyMotion()
4420 args.xCursorPosition, args.yCursorPosition, displayTransform, in notifyMotion()
4439 args.xCursorPosition, args.yCursorPosition, in notifyMotion()
4864 entry.yCursorPosition != AMOTION_EVENT_INVALID_CURSOR_POSITION) { in transformMotionEntryForInjectionLocked()
4867 {entry.xCursorPosition, entry.yCursorPosition}); in transformMotionEntryForInjectionLocked()
4869 entry.yCursorPosition = cursor.y; in transformMotionEntryForInjectionLocked()
/frameworks/native/services/inputflinger/include/
DNotifyArgs.h118 float yCursorPosition; member
131 float yCursorPosition, nsecs_t downTime,
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp164 constexpr float yCursorPosition = 50.6; in PublishAndConsumeMotionEvent() local
195 xCursorPosition, yCursorPosition, rawTransform, in PublishAndConsumeMotionEvent()
231 EXPECT_NEAR(yCursorPosition, motionEvent->getRawYCursorPosition(), EPSILON); in PublishAndConsumeMotionEvent()
233 EXPECT_NEAR(yCursorPosition * yScale + yOffset, motionEvent->getYCursorPosition(), EPSILON); in PublishAndConsumeMotionEvent()
DStructLayout_test.cpp76 CHECK_OFFSET(InputMessage::Body::Motion, yCursorPosition, 132); in TestInputMessageAlignment()
/frameworks/native/include/input/
DInputTransport.h141 float yCursorPosition; member
371 float yCursorPosition, const ui::Transform& rawTransform,
/frameworks/native/libs/input/
DInputTransport.cpp308 msg->body.motion.yCursorPosition = body.motion.yCursorPosition; in getSanitizedCopy()
615 float yPrecision, float xCursorPosition, float yCursorPosition, in publishMotionEvent() argument
684 msg.body.motion.yCursorPosition = yCursorPosition; in publishMotionEvent()
1474 msg->body.motion.xCursorPosition, msg->body.motion.yCursorPosition, in initializeMotionEvent()
/frameworks/base/core/java/android/view/
DMotionEvent.java4215 final float yCursorPosition = getYCursorPosition(); in getYDispatchLocation() local
4216 if (yCursorPosition != INVALID_CURSOR_POSITION) { in getYDispatchLocation()
4217 return yCursorPosition; in getYDispatchLocation()