Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp237 vectorToString(estimator.xCoeff, estimator.degree + 1).c_str(), in addMovement()
310 *outVx = estimator.xCoeff[1]; in getVelocity()
637 std::optional<std::array<float, 3>> xCoeff = solveUnweightedLeastSquaresDeg2(time, x); in getEstimator() local
639 if (xCoeff && yCoeff) { in getEstimator()
644 outEstimator->xCoeff[i] = (*xCoeff)[i]; in getEstimator()
653 if (solveLeastSquares(time, x, w, n, outEstimator->xCoeff, &xdet) && in getEstimator()
661 vectorToString(outEstimator->xCoeff, n).c_str(), in getEstimator()
670 outEstimator->xCoeff[0] = x[0]; in getEstimator()
854 outEstimator->xCoeff[0] = state.xpos; in populateEstimator()
855 outEstimator->xCoeff[1] = state.xvel; in populateEstimator()
[all …]
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp35 jfieldID xCoeff; member
203 gEstimatorClassInfo.xCoeff)); in android_view_VelocityTracker_nativeGetEstimator()
208 estimator.xCoeff); in android_view_VelocityTracker_nativeGetEstimator()
239 gEstimatorClassInfo.xCoeff = GetFieldIDOrDie(env, clazz, "xCoeff", "[F"); in register_android_view_VelocityTracker()
/frameworks/base/core/java/android/view/
DVelocityTracker.java441 public final float[] xCoeff = new float[MAX_DEGREE + 1]; field in VelocityTracker.Estimator
467 return estimate(time, xCoeff); in estimateX()
485 return index <= degree ? xCoeff[index] : 0; in getXCoeff()
/frameworks/native/include/input/
DVelocityTracker.h60 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member
74 xCoeff[i] = 0; in clear()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp231 checkCoefficient(estimator.xCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()