Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureUtils.java503 float[] targetVector = computeOrientation(array); in computeOrientedBoundingBox() local
506 if (targetVector[0] == 0 && targetVector[1] == 0) { in computeOrientedBoundingBox()
509 angle = (float) Math.atan2(targetVector[1], targetVector[0]); in computeOrientedBoundingBox()
538 float[] targetVector = new float[2]; in computeOrientation() local
540 targetVector[0] = 1; in computeOrientation()
541 targetVector[1] = 0; in computeOrientation()
552 targetVector[0] = 0; in computeOrientation()
553 targetVector[1] = 0; in computeOrientation()
556 targetVector[0] = 1; in computeOrientation()
557 targetVector[1] = (lambda - covarianceMatrix[0][0]) / covarianceMatrix[0][1]; in computeOrientation()
[all …]