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

/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java537 private static float[] computeOrientation(float[][] covarianceMatrix) { argument
539 if (covarianceMatrix[0][1] == 0 || covarianceMatrix[1][0] == 0) {
544 float a = -covarianceMatrix[0][0] - covarianceMatrix[1][1];
545 float b = covarianceMatrix[0][0] * covarianceMatrix[1][1] - covarianceMatrix[0][1]
546 * covarianceMatrix[1][0];
557 targetVector[1] = (lambda - covarianceMatrix[
[all...]

Completed in 105 milliseconds