HomeSort by relevance Sort by last modified time
    Searched defs:Estimator (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/android/view/
VelocityTracker.java 47 private static native boolean nativeGetEstimator(int ptr, int id, Estimator outEstimator);
199 * Get an estimator for the movements of a pointer using past movements of the
206 * @param outEstimator The estimator to populate.
207 * @return True if an estimator was obtained, false if there is no information
212 public boolean getEstimator(int id, Estimator outEstimator) {
220 * An estimator for the movements of a pointer based on a polynomial model.
231 public static final class Estimator {
232 // Must match VelocityTracker::Estimator::MAX_DEGREE
  /frameworks/native/include/input/
VelocityTracker.h 37 struct Estimator {
40 // Estimator time base.
93 // Gets an estimator for the recent movements of the specified pointer id.
94 // Returns false and clears the estimator if there is no information available
96 bool getEstimator(uint32_t id, Estimator* outEstimator) const;
132 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const = 0;
156 // Degree must be no greater than Estimator::MAX_DEGREE.
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
    [all...]

Completed in 317 milliseconds