Searched defs:motionEvent (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/tests/
H A DInputPublisherAndConsumer_test.cpp183 MotionEvent* motionEvent = static_cast<MotionEvent*>(event); local
185 EXPECT_EQ(deviceId, motionEvent->getDeviceId());
186 EXPECT_EQ(source, motionEvent->getSource());
187 EXPECT_EQ(action, motionEvent->getAction());
188 EXPECT_EQ(flags, motionEvent->getFlags());
189 EXPECT_EQ(edgeFlags, motionEvent->getEdgeFlags());
190 EXPECT_EQ(metaState, motionEvent->getMetaState());
191 EXPECT_EQ(buttonState, motionEvent->getButtonState());
192 EXPECT_EQ(xPrecision, motionEvent->getXPrecision());
193 EXPECT_EQ(yPrecision, motionEvent
[all...]
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp480 MotionEvent* motionEvent = factory->createMotionEvent(); local
481 if (! motionEvent) return NO_MEMORY;
484 initializeMotionEvent(motionEvent, &mMsg);
486 *outEvent = motionEvent;
540 MotionEvent* motionEvent = factory->createMotionEvent(); local
541 if (! motionEvent) return NO_MEMORY;
552 addSample(motionEvent, &msg);
554 initializeMotionEvent(motionEvent, &msg);
561 *outEvent = motionEvent;
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp1148 const MotionEvent* motionEvent = android_view_MotionEvent_getNativePtr(env, inputEventObj); local
1149 if (!motionEvent) {
1155 motionEvent, injectorPid, injectorUid, syncMode, timeoutMillis,
/frameworks/base/services/input/
H A DInputDispatcher.cpp2588 const MotionEvent* motionEvent = static_cast<const MotionEvent*>(event); local
2590 int32_t action = motionEvent->getAction();
2591 size_t pointerCount = motionEvent->getPointerCount();
2592 const PointerProperties* pointerProperties = motionEvent->getPointerProperties();
2598 nsecs_t eventTime = motionEvent->getEventTime();
2603 const nsecs_t* sampleEventTimes = motionEvent->getSampleEventTimes();
2604 const PointerCoords* samplePointerCoords = motionEvent->getSamplePointerCoords();
2606 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags,
2607 action, motionEvent
[all...]

Completed in 56 milliseconds