Searched refs:yCoeff (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 238 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/ |
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 | 447 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/ |
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()
|