Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/input/
H A DVelocityTracker.cpp310 *outVx = estimator.xCoeff[1]; in getVelocity()
639 if (xCoeff && yCoeff) { in getEstimator()
644 outEstimator->xCoeff[i] = (*xCoeff)[i]; 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()
856 outEstimator->xCoeff[2] = state.xaccel / 2; in populateEstimator()
966 outEstimator->xCoeff[0] = newestPosition.x; in getEstimator()
969 outEstimator->xCoeff[1] = accumVx; in getEstimator()
1163 outEstimator->xCoeff[0] = 0; in getEstimator()
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp35 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()
/aosp12/frameworks/base/core/java/android/view/
H A DVelocityTracker.java441 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()
/aosp12/frameworks/native/include/input/
H A DVelocityTracker.h60 float xCoeff[MAX_DEGREE + 1], yCoeff[MAX_DEGREE + 1]; member
74 xCoeff[i] = 0; in clear()
/aosp12/frameworks/native/libs/input/tests/
H A DVelocityTracker_test.cpp232 checkCoefficient(estimator.xCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()