Searched refs:motionEvents (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 346 final List<MotionEvent> motionEvents = new ArrayList<>(); in getMotionEventsFromGestureDescription() local 365 appendMoveEventIfNeeded(motionEvents, lastTouchPoints, lastTouchPointSize, in getMotionEventsFromGestureDescription() 367 lastTouchPointSize = appendUpEvents(motionEvents, lastTouchPoints, in getMotionEventsFromGestureDescription() 370 lastTouchPointSize = appendDownEvents(motionEvents, lastTouchPoints, in getMotionEventsFromGestureDescription() 377 return motionEvents; in getMotionEventsFromGestureDescription() 420 private static void appendMoveEventIfNeeded(List<MotionEvent> motionEvents, in appendMoveEventIfNeeded() argument 436 long downTime = motionEvents.get(motionEvents.size() - 1).getDownTime(); in appendMoveEventIfNeeded() 437 motionEvents.add(obtainMotionEvent(downTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded() 442 private static int appendUpEvents(List<MotionEvent> motionEvents, in appendUpEvents() argument 453 long downTime = motionEvents.get(motionEvents.size() - 1).getDownTime(); in appendUpEvents() [all …]
|