Searched refs:estimator (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 197 VelocityTracker::Estimator estimator; in android_view_VelocityTracker_nativeGetEstimator() local 198 bool result = state->getEstimator(id, &estimator); in android_view_VelocityTracker_nativeGetEstimator() 206 estimator.xCoeff); in android_view_VelocityTracker_nativeGetEstimator() 208 estimator.yCoeff); in android_view_VelocityTracker_nativeGetEstimator() 209 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree); in android_view_VelocityTracker_nativeGetEstimator() 210 env->SetFloatField(outEstimatorObj, gEstimatorClassInfo.confidence, estimator.confidence); in android_view_VelocityTracker_nativeGetEstimator()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 251 Estimator estimator; in addMovement() local 252 getEstimator(id, &estimator); in addMovement() 256 int(estimator.degree), in addMovement() 257 vectorToString(estimator.xCoeff, estimator.degree + 1).string(), in addMovement() 258 vectorToString(estimator.yCoeff, estimator.degree + 1).string(), in addMovement() 259 estimator.confidence); in addMovement() 336 Estimator estimator; in getVelocity() local 337 if (getEstimator(id, &estimator) && estimator.degree >= 1) { in getVelocity() 338 *outVx = estimator.xCoeff[1]; in getVelocity() 339 *outVy = estimator.yCoeff[1]; in getVelocity()
|