Searched refs:estimator (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 198 VelocityTracker::Estimator estimator; in android_view_VelocityTracker_nativeGetEstimator() local 199 bool result = state->getEstimator(id, &estimator); in android_view_VelocityTracker_nativeGetEstimator() 207 estimator.xCoeff); in android_view_VelocityTracker_nativeGetEstimator() 209 estimator.yCoeff); in android_view_VelocityTracker_nativeGetEstimator() 210 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree); in android_view_VelocityTracker_nativeGetEstimator() 211 env->SetFloatField(outEstimatorObj, gEstimatorClassInfo.confidence, estimator.confidence); in android_view_VelocityTracker_nativeGetEstimator()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 259 Estimator estimator; in addMovement() local 260 getEstimator(id, &estimator); in addMovement() 264 int(estimator.degree), in addMovement() 265 vectorToString(estimator.xCoeff, estimator.degree + 1).c_str(), in addMovement() 266 vectorToString(estimator.yCoeff, estimator.degree + 1).c_str(), in addMovement() 267 estimator.confidence); in addMovement() 344 Estimator estimator; in getVelocity() local 345 if (getEstimator(id, &estimator) && estimator.degree >= 1) { in getVelocity() 346 *outVx = estimator.xCoeff[1]; in getVelocity() 347 *outVy = estimator.yCoeff[1]; in getVelocity()
|