Home
last modified time | relevance | path

Searched refs:xVector (Results 1 - 1 of 1) sorted by relevance

/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_gesture_recognizer.cpp415 float xVector = 0; in GetPointerPath() local
424 xVector = xUnitVector / numSinceFirstSep; in GetPointerPath()
426 newSeparation.px_ = vectorLength * xVector + firstSeparation.px_; in GetPointerPath()
437 if ((xVector * xNextUnitVector + yVector * yNextUnitVector) < DEGREES_THRESHOLD) { in GetPointerPath()
445 xVector = nextPoint.px_ - firstSeparation.px_; in GetPointerPath()
447 vectorLength = hypot(xVector, yVector); in GetPointerPath()
450 xUnitVector += xVector / vectorLength; in GetPointerPath()

Completed in 1 milliseconds