Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp268 vectorToString(estimator.yCoeff, estimator.degree + 1).c_str(), in addMovement()
349 *outVy = estimator.yCoeff[1]; in getVelocity()
670 std::optional<std::array<float, 3>> yCoeff = solveUnweightedLeastSquaresDeg2(time, y, m); in getEstimator() local
671 if (xCoeff && yCoeff) { in getEstimator()
677 outEstimator->yCoeff[i] = (*yCoeff)[i]; in getEstimator()
686 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) { in getEstimator()
694 vectorToString(outEstimator->yCoeff, n).c_str(), in getEstimator()
703 outEstimator->yCoeff[0] = y[0]; in getEstimator()
888 outEstimator->yCoeff[0] = state.ypos; in populateEstimator()
889 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
[all …]
/frameworks/base/core/java/android/view/
DVelocityTracker.java247 public final float[] yCoeff = new float[MAX_DEGREE + 1]; field in VelocityTracker.Estimator
276 return estimate(time, yCoeff); in estimateY()
294 return index <= degree ? yCoeff[index] : 0; in getYCoeff()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp38 jfieldID yCoeff; member
204 gEstimatorClassInfo.yCoeff)); in android_view_VelocityTracker_nativeGetEstimator()
209 estimator.yCoeff); in android_view_VelocityTracker_nativeGetEstimator()
253 gEstimatorClassInfo.yCoeff = GetFieldIDOrDie(env, clazz, "yCoeff", "[F"); in register_android_view_VelocityTracker()
/frameworks/native/include/input/
DVelocityTracker.h44 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member
59 yCoeff[i] = 0; in clear()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp229 checkCoefficient(estimator.yCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()