/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityInputFilter.java | 25 import android.view.MotionEvent; 40 * This is an interface for explorers that take a {@link MotionEvent} 45 * Handles a {@link MotionEvent}. 50 public void onMotionEvent(MotionEvent event, int policyFlags); 58 public void clear(MotionEvent event, int policyFlags); 99 MotionEvent motionEvent = (MotionEvent) event; 103 mTouchExplorer.clear(motionEvent, policyFlags); 106 mTouchExplorer.onMotionEvent(motionEvent, policyFlags) [all...] |
/frameworks/base/libs/ui/tests/ |
InputPublisherAndConsumer_test.cpp | 237 MotionEvent* motionEvent = static_cast<MotionEvent*>(event); 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()) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 32 import android.view.MotionEvent; 33 import android.view.MotionEvent.PointerCoords; 34 import android.view.MotionEvent.PointerProperties; 37 * Test {@link MotionEvent}. 39 @TestTargetClass(MotionEvent.class) 41 private MotionEvent mMotionEvent1; 42 private MotionEvent mMotionEvent2; 53 private static final int EDGE_FLAGS = MotionEvent.EDGE_TOP; 62 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, 63 MotionEvent.ACTION_MOVE, X_3F, Y_4F, META_STATE) [all...] |
/frameworks/base/core/java/android/view/ |
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); 255 public void onTrackballEvent(MotionEvent event, int nestingLevel) { 267 case MotionEvent.ACTION_DOWN [all...] |
ViewRootImpl.java | [all...] |
/external/quake/src/com/android/quake/ |
QuakeLib.java | 161 public native boolean motionEvent(long eventTime, int action,
|
QuakeView.java | 40 import android.view.MotionEvent; 117 public boolean onTrackballEvent(MotionEvent event) { 132 public boolean dispatchTouchEvent(MotionEvent ev) { 173 public void queueMotionEvent(final MotionEvent ev) { 177 mQuakeLib.motionEvent(ev.getEventTime(), 186 public void queueTrackballEvent(final MotionEvent ev) {
|
/frameworks/base/libs/ui/ |
InputTransport.cpp | 633 MotionEvent* motionEvent = factory->createMotionEvent(); 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/include/ui/ |
InputTransport.h | 333 void populateMotionEvent(MotionEvent* motionEvent) const;
|
/frameworks/base/services/input/ |
InputDispatcher.cpp | [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 49 import android.view.MotionEvent; 260 args = {MotionEvent.class} 264 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 269 MotionEvent motionEvent = mActivity.getMotionEvent(); 270 assertEquals(orig.getMetaState(), motionEvent.getMetaState()); 271 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); 272 assertEquals(orig.getDownTime(), motionEvent.getDownTime()) [all...] |
/frameworks/base/services/jni/ |
com_android_server_InputManager.cpp | 731 static_cast<const MotionEvent*>(inputEvent)); [all...] |