Home
last modified time | relevance | path

Searched refs:xCursorPosition (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/services/inputflinger/
DNotifyArgs.cpp71 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in NotifyMotionArgs() argument
88 xCursorPosition(xCursorPosition), in NotifyMotionArgs()
112 isCursorPositionEqual(xCursorPosition, rhs.xCursorPosition) && in operator ==()
DPointerChoreographer.cpp237 if (MotionEvent::isValidCursorPosition(args.xCursorPosition, args.yCursorPosition)) { in processMouseEventLocked()
241 const float deltaX = args.xCursorPosition - x; in processMouseEventLocked()
245 pc.setPosition(args.xCursorPosition, args.yCursorPosition); in processMouseEventLocked()
254 newArgs.xCursorPosition = x; in processMouseEventLocked()
281 newArgs.xCursorPosition = x; in processTouchpadEventLocked()
296 newArgs.xCursorPosition = x; in processTouchpadEventLocked()
DInputCommonConverter.cpp353 args.yPrecision, args.xCursorPosition, args.yCursorPosition, *rawTransform, in toMotionEvent()
/frameworks/native/services/inputflinger/tests/
DNotifyArgs_test.cpp66 float xCursorPosition = 5.6f; in TEST() local
76 xPrecision, yPrecision, xCursorPosition, yCursorPosition, downTime, in TEST()
DFakeInputTracingBackend.cpp47 e.xCursorPosition, e.yCursorPosition, dispatchArgs.rawTransform, e.downTime, in toInputEvent()
DTestEventMatchers.h619 const auto argX = arg.xCursorPosition;
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp291 float xCursorPosition = AMOTION_EVENT_INVALID_CURSOR_POSITION; in sync() local
344 xCursorPosition, yCursorPosition, downTime, in sync()
353 &pointerCoords, mXPrecision, mYPrecision, xCursorPosition, in sync()
368 xCursorPosition, yCursorPosition, downTime, in sync()
383 xCursorPosition, yCursorPosition, downTime, in sync()
398 xCursorPosition, yCursorPosition, downTime, in sync()
DTouchInputMapper.cpp3690 float xCursorPosition = AMOTION_EVENT_INVALID_CURSOR_POSITION; in dispatchMotion() local
3693 xCursorPosition = yCursorPosition = 0.f; in dispatchMotion()
3702 pointerCoords.data(), xPrecision, yPrecision, xCursorPosition, in dispatchMotion()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp194 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in MotionEntry() argument
210 xCursorPosition(xCursorPosition), in MotionEntry()
233 yPrecision, xCursorPosition, yCursorPosition); in getDescription()
DInputState.cpp256 memento.xCursorPosition = entry.xCursorPosition; in addMotionMemento()
407 memento.yPrecision, memento.xCursorPosition, in createCancelEntryForMemento()
486 memento.yPrecision, memento.xCursorPosition, in synthesizePointerDownEvents()
542 memento.yPrecision, memento.xCursorPosition, in synthesizeCancelationEventsForPointers()
DEntry.h168 float xCursorPosition; member
181 int32_t edgeFlags, float xPrecision, float yPrecision, float xCursorPosition,
DInputState.h109 float xCursorPosition; member
DInputDispatcher.cpp465 motionEntry.xCursorPosition, motionEntry.yCursorPosition, in createDispatchEntry()
669 return {entry.xCursorPosition, entry.yCursorPosition}; in resolveTouchedPosition()
3545 motionEntry.xCursorPosition, in enqueueDispatchEntryLocked()
3778 motionEntry.xCursorPosition, motionEntry.yCursorPosition, in publishMotionEvent()
4430 originalMotionEntry.xCursorPosition, in splitMotionEvent()
4558 args.xCursorPosition, args.yCursorPosition, args.downTime); in notifyMotion()
4638 args.xCursorPosition, args.yCursorPosition, displayTransform, in notifyMotion()
4657 args.yPrecision, args.xCursorPosition, in notifyMotion()
5125 if (entry.xCursorPosition != AMOTION_EVENT_INVALID_CURSOR_POSITION && in transformMotionEntryForInjectionLocked()
5129 {entry.xCursorPosition, entry.yCursorPosition}); in transformMotionEntryForInjectionLocked()
[all …]
/frameworks/native/services/inputflinger/include/
DNotifyArgs.h117 float xCursorPosition; member
131 float xCursorPosition, float yCursorPosition, nsecs_t downTime,
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h83 float xCursorPosition; member
DAndroidInputEventProtoConverter.cpp56 outProto.set_cursor_position_x(event.xCursorPosition); in toProtoMotionEvent()
DInputTracer.cpp50 e.xCursorPosition, in createTracedEvent()
/frameworks/native/include/input/
DInputTransport.h138 float xCursorPosition; member
374 float xPrecision, float yPrecision, float xCursorPosition,
/frameworks/native/libs/input/
DInputTransport.cpp262 msg->body.motion.xCursorPosition = body.motion.xCursorPosition; in getSanitizedCopy()
579 float xPrecision, float yPrecision, float xCursorPosition, float yCursorPosition, in publishMotionEvent() argument
645 msg.body.motion.xCursorPosition = xCursorPosition; in publishMotionEvent()
DInputConsumerNoResampling.cpp101 msg.body.motion.xCursorPosition, msg.body.motion.yCursorPosition, in createMotionEvent()
DInputConsumer.cpp125 msg.body.motion.xCursorPosition, msg.body.motion.yCursorPosition, in initializeMotionEvent()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp67 const float xCursorPosition = 1.3; member
144 EXPECT_NEAR(args.xCursorPosition, motionEvent.getRawXCursorPosition(), EPSILON); in verifyArgsEqualToEvent()
146 EXPECT_NEAR(args.xCursorPosition * args.xScale + args.xOffset, motionEvent.getXCursorPosition(), in verifyArgsEqualToEvent()
188 a.xPrecision, a.yPrecision, a.xCursorPosition, in publishMotionEvent()
DInputPublisherAndConsumerNoResampling_test.cpp74 const float xCursorPosition = 1.3; member
151 EXPECT_NEAR(args.xCursorPosition, motionEvent.getRawXCursorPosition(), EPSILON); in verifyArgsEqualToEvent()
153 EXPECT_NEAR(args.xCursorPosition * args.xScale + args.xOffset, motionEvent.getXCursorPosition(), in verifyArgsEqualToEvent()
195 a.xPrecision, a.yPrecision, a.xCursorPosition, in publishMotionEvent()
DStructLayout_test.cpp75 CHECK_OFFSET(InputMessage::Body::Motion, xCursorPosition, 128); in TestInputMessageAlignment()
/frameworks/base/core/java/android/view/
DMotionEvent.java4229 final float xCursorPosition = getXCursorPosition(); in getXDispatchLocation() local
4230 if (xCursorPosition != INVALID_CURSOR_POSITION) { in getXDispatchLocation()
4231 return xCursorPosition; in getXDispatchLocation()