Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java259 int lastPointIndex = findPointByStrokeId( in prepareToContinueOldGesture() local
261 if (lastPointIndex < 0) { in prepareToContinueOldGesture()
267 if (mLastTouchPoints[lastPointIndex].mIsEndOfPath in prepareToContinueOldGesture()
268 || (mLastTouchPoints[lastPointIndex].mX != touchPoint.mX) in prepareToContinueOldGesture()
269 || (mLastTouchPoints[lastPointIndex].mY != touchPoint.mY)) { in prepareToContinueOldGesture()
271 + mLastTouchPoints[lastPointIndex] + " and " + touchPoint); in prepareToContinueOldGesture()
276 mLastTouchPoints[lastPointIndex].mStrokeId = touchPoint.mStrokeId; in prepareToContinueOldGesture()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java257 int lastPointIndex = (getNumberOfPoints(type) - 1) * 2; in getPointAtLength() local
268 point[0] = curve[2 + lastPointIndex]; in getPointAtLength()
269 point[1] = curve[2 + lastPointIndex + 1]; in getPointAtLength()