Home
last modified time | relevance | path

Searched refs:outEstimator (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/input/
DVelocityTracker.cpp349 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const { in getEstimator()
350 return mStrategy->getEstimator(id, outEstimator); in getEstimator()
561 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
562 outEstimator->clear(); in getEstimator()
603 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet) in getEstimator()
604 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) { in getEstimator()
605 outEstimator->time = newestMovement.eventTime; in getEstimator()
606 outEstimator->degree = degree; in getEstimator()
607 outEstimator->confidence = xdet * ydet; in getEstimator()
610 int(outEstimator->degree), in getEstimator()
[all …]
/frameworks/native/include/input/
DVelocityTracker.h96 bool getEstimator(uint32_t id, Estimator* outEstimator) const;
132 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const = 0;
164 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const;
207 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const;
225 void populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const;
241 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const;
/frameworks/base/core/java/android/view/
DVelocityTracker.java47 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); in nativeGetEstimator() argument
212 public boolean getEstimator(int id, Estimator outEstimator) { in getEstimator() argument
213 if (outEstimator == null) { in getEstimator()
216 return nativeGetEstimator(mPtr, id, outEstimator); in getEstimator()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp54 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator);
135 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) { in getEstimator() argument
136 return mVelocityTracker.getEstimator(id, outEstimator); in getEstimator()