Searched refs:xCoeff (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 237 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/ |
D | android_view_VelocityTracker.cpp | 35 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/ |
D | VelocityTracker.java | 441 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/ |
D | VelocityTracker.h | 60 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member 74 xCoeff[i] = 0; in clear()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 231 checkCoefficient(estimator.xCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()
|