Searched refs:yCoeff (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 257 vectorToString(estimator.yCoeff, estimator.degree + 1).c_str(), in addMovement() 330 *outVy = estimator.yCoeff[1]; in getVelocity() 656 std::optional<std::array<float, 3>> yCoeff = solveUnweightedLeastSquaresDeg2(time, y); in getEstimator() local 657 if (xCoeff && yCoeff) { in getEstimator() 663 outEstimator->yCoeff[i] = (*yCoeff)[i]; in getEstimator() 672 solveLeastSquares(time, y, w, n, outEstimator->yCoeff, &ydet)) { in getEstimator() 679 vectorToString(outEstimator->yCoeff, n).c_str(), outEstimator->confidence); in getEstimator() 687 outEstimator->yCoeff[0] = y[0]; in getEstimator() 873 outEstimator->yCoeff[0] = state.ypos; in populateEstimator() 874 outEstimator->yCoeff[1] = state.yvel; in populateEstimator() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 36 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/ |
D | VelocityTracker.java | 446 public final float[] yCoeff = new float[MAX_DEGREE + 1]; field in VelocityTracker.Estimator 475 return estimate(time, yCoeff); in estimateY() 493 return index <= degree ? yCoeff[index] : 0; in getYCoeff()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 60 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member 75 yCoeff[i] = 0; in clear()
|
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 232 checkCoefficient(estimator.yCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()
|