Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp238 vectorToString(estimator.yCoeff, estimator.degree + 1).c_str(), in addMovement()
311 *outVy = estimator.yCoeff[1]; in getVelocity()
638 std::optional<std::array<float, 3>> yCoeff = solveUnweightedLeastSquaresDeg2(time, y); in getEstimator() local
639 if (xCoeff && yCoeff) { in getEstimator()
645 outEstimator->yCoeff[i] = (*yCoeff)[i]; in getEstimator()
654 solveLeastSquares(time, y, w, n, outEstimator->yCoeff, &ydet)) { in getEstimator()
662 vectorToString(outEstimator->yCoeff, n).c_str(), in getEstimator()
671 outEstimator->yCoeff[0] = y[0]; in getEstimator()
857 outEstimator->yCoeff[0] = state.ypos; in populateEstimator()
858 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
[all …]
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp36 jfieldID yCoeff; member
205 gEstimatorClassInfo.yCoeff)); in android_view_VelocityTracker_nativeGetEstimator()
210 estimator.yCoeff); in android_view_VelocityTracker_nativeGetEstimator()
240 gEstimatorClassInfo.yCoeff = GetFieldIDOrDie(env, clazz, "yCoeff", "[F"); in register_android_view_VelocityTracker()
/frameworks/base/core/java/android/view/
DVelocityTracker.java447 public final float[] yCoeff = new float[MAX_DEGREE + 1]; field in VelocityTracker.Estimator
476 return estimate(time, yCoeff); in estimateY()
494 return index <= degree ? yCoeff[index] : 0; in getYCoeff()
/frameworks/native/include/input/
DVelocityTracker.h60 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member
75 yCoeff[i] = 0; in clear()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp232 checkCoefficient(estimator.yCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()