Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp355 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const { in getEstimator()
356 return mStrategy->getEstimator(id, outEstimator); in getEstimator()
604 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
605 outEstimator->clear(); in getEstimator()
645 outEstimator->time = newestMovement.eventTime; in getEstimator()
646 outEstimator->degree = 2; in getEstimator()
647 outEstimator->confidence = 1; in getEstimator()
648 outEstimator->xCoeff[0] = 0; // only slope is calculated, set rest of coefficients = 0 in getEstimator()
649 outEstimator->yCoeff[0] = 0; in getEstimator()
650 outEstimator->xCoeff[1] = solveUnweightedLeastSquaresDeg2(time, x, m); 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;
276 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()