Searched defs:motionEvent (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/libs/ui/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 237 MotionEvent* motionEvent = static_cast<MotionEvent*>(event); local 238 EXPECT_EQ(deviceId, motionEvent->getDeviceId()); 239 EXPECT_EQ(source, motionEvent->getSource()); 240 EXPECT_EQ(action, motionEvent->getAction()); 241 EXPECT_EQ(flags, motionEvent->getFlags()); 242 EXPECT_EQ(edgeFlags, motionEvent->getEdgeFlags()); 243 EXPECT_EQ(metaState, motionEvent->getMetaState()); 244 EXPECT_EQ(buttonState, motionEvent->getButtonState()); 245 EXPECT_EQ(xPrecision, motionEvent->getXPrecision()); 246 EXPECT_EQ(yPrecision, motionEvent [all...] |
/frameworks/base/libs/ui/ |
H A D | InputTransport.cpp | 633 MotionEvent* motionEvent = factory->createMotionEvent(); local 634 if (! motionEvent) return NO_MEMORY; 636 populateMotionEvent(motionEvent); 638 *outEvent = motionEvent; 695 void InputConsumer::populateMotionEvent(MotionEvent* motionEvent) const { 696 motionEvent->initialize( 722 motionEvent->addSample(sampleData->eventTime, sampleData->coords);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_InputManager.cpp | 1161 const MotionEvent* motionEvent = android_view_MotionEvent_getNativePtr(env, inputEventObj); local 1162 if (!motionEvent) { 1168 motionEvent, injectorPid, injectorUid, syncMode, timeoutMillis,
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 3063 const MotionEvent* motionEvent = static_cast<const MotionEvent*>(event); local 3064 int32_t action = motionEvent->getAction(); 3065 size_t pointerCount = motionEvent->getPointerCount(); 3066 const PointerProperties* pointerProperties = motionEvent->getPointerProperties(); 3072 nsecs_t eventTime = motionEvent->getEventTime(); 3077 const nsecs_t* sampleEventTimes = motionEvent->getSampleEventTimes(); 3078 const PointerCoords* samplePointerCoords = motionEvent->getSamplePointerCoords(); 3080 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags, 3081 action, motionEvent [all...] |
Completed in 145 milliseconds