Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java353 final TouchPoint[] lastTouchPoints = in getMotionEventsFromGestureDescription() local
365 appendMoveEventIfNeeded(motionEvents, lastTouchPoints, lastTouchPointSize, in getMotionEventsFromGestureDescription()
367 lastTouchPointSize = appendUpEvents(motionEvents, lastTouchPoints, in getMotionEventsFromGestureDescription()
370 lastTouchPointSize = appendDownEvents(motionEvents, lastTouchPoints, in getMotionEventsFromGestureDescription()
421 TouchPoint[] lastTouchPoints, int lastTouchPointsSize, in appendMoveEventIfNeeded() argument
426 int lastPointsIndex = findPointByPathIndex(lastTouchPoints, lastTouchPointsSize, in appendMoveEventIfNeeded()
429 moveFound |= (lastTouchPoints[lastPointsIndex].mX != currentTouchPoints[i].mX) in appendMoveEventIfNeeded()
430 || (lastTouchPoints[lastPointsIndex].mY != currentTouchPoints[i].mY); in appendMoveEventIfNeeded()
431 lastTouchPoints[lastPointsIndex].copyFrom(currentTouchPoints[i]); in appendMoveEventIfNeeded()
438 lastTouchPoints, lastTouchPointsSize)); in appendMoveEventIfNeeded()
[all …]