Searched refs:motionEvent (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 183 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/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 173 final MotionEvent motionEvent = (MotionEvent)event; 174 if (motionEvent.isTouchEvent()) { 175 onTouchEvent(motionEvent, nestingLevel); 176 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { 177 onTrackballEvent(motionEvent, nestingLevel); 179 onGenericMotionEvent(motionEvent, nestingLevel); 539 final MotionEvent motionEvent = (MotionEvent)event; 540 if (motionEvent.isTouchEvent()) { 542 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 480 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/input/ |
H A D | InputDispatcher.cpp | 2588 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...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 1148 const MotionEvent* motionEvent = android_view_MotionEvent_getNativePtr(env, inputEventObj); local 1149 if (!motionEvent) { 1155 motionEvent, injectorPid, injectorUid, syncMode, timeoutMillis,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 342 final MotionEvent motionEvent = (MotionEvent)event; 343 mView.addPointerEvent(motionEvent); 2272 final MotionEvent motionEvent = (MotionEvent)event; 2273 if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) {
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 678 final MotionEvent motionEvent = (MotionEvent)event; 680 final float newX = motionEvent.getRawX(); 681 final float newY = motionEvent.getRawY(); 683 switch (motionEvent.getAction()) {
|
Completed in 906 milliseconds