Home
last modified time | relevance | path

Searched refs:originalEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java130 public static MotionEvent movePointer(MotionEvent originalEvent, int pointerIndex, in movePointer() argument
132 if (originalEvent.getActionMasked() == ACTION_UP) { in movePointer()
136 if (originalEvent.getActionMasked() == ACTION_POINTER_UP) { in movePointer()
140 final int pointerCount = originalEvent.getPointerCount(); in movePointer()
149 originalEvent.getPointerProperties(i, pointerProperty); in movePointer()
156 originalEvent.getPointerCoords(i, pointerCoord); in movePointer()
162 /* downTime */ originalEvent.getDownTime(), in movePointer()
174 /* source */ originalEvent.getSource(), in movePointer()
175 /* flags */ originalEvent.getFlags()); in movePointer()
176 ev.setDisplayId(originalEvent.getDisplayId()); in movePointer()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp240 MotionEvent* originalEvent = android_view_MotionEvent_getNativePtr(env, eventObj); in nativeSendMotionEvent() local
241 if (!originalEvent) { in nativeSendMotionEvent()
246 event->copyFrom(originalEvent, true /* keepHistory */); in nativeSendMotionEvent()