Searched refs:xCoeff (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 267 vectorToString(estimator.xCoeff, estimator.degree + 1).c_str(), in addMovement() 348 *outVx = estimator.xCoeff[1]; in getVelocity() 669 std::optional<std::array<float, 3>> xCoeff = solveUnweightedLeastSquaresDeg2(time, x, m); in getEstimator() local 671 if (xCoeff && yCoeff) { in getEstimator() 676 outEstimator->xCoeff[i] = (*xCoeff)[i]; in getEstimator() 685 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet) in getEstimator() 693 vectorToString(outEstimator->xCoeff, n).c_str(), in getEstimator() 702 outEstimator->xCoeff[0] = x[0]; in getEstimator() 885 outEstimator->xCoeff[0] = state.xpos; in populateEstimator() 886 outEstimator->xCoeff[1] = state.xvel; in populateEstimator() [all …]
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 241 public final float[] xCoeff = new float[MAX_DEGREE + 1]; field in VelocityTracker.Estimator 267 return estimate(time, xCoeff); in estimateX() 285 return index <= degree ? xCoeff[index] : 0; in getXCoeff()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 37 jfieldID xCoeff; member 202 gEstimatorClassInfo.xCoeff)); in android_view_VelocityTracker_nativeGetEstimator() 207 estimator.xCoeff); in android_view_VelocityTracker_nativeGetEstimator() 252 gEstimatorClassInfo.xCoeff = GetFieldIDOrDie(env, clazz, "xCoeff", "[F"); in register_android_view_VelocityTracker()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 44 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member 58 xCoeff[i] = 0; in clear()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 226 checkCoefficient(estimator.xCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()
|