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

  /external/chromium_org/ui/events/gesture_detection/
velocity_tracker.h 19 struct Estimator;
135 // Gets an estimator for the recent movements of the specified pointer id.
136 // Returns false and clears the estimator if there is no information available
138 bool GetEstimator(uint32_t id, Estimator* out_estimator) const;
velocity_tracker.cc 27 virtual bool GetEstimator(uint32_t id, Estimator* out_estimator) const = 0;
53 struct Estimator {
56 // Estimator time base.
119 // Degree must be no greater than Estimator::MAX_DEGREE.
130 Estimator* out_estimator) const OVERRIDE;
169 Estimator* out_estimator) const OVERRIDE;
193 void PopulateEstimator(const State& state, Estimator* out_estimator) const;
359 Estimator estimator; local
360 if (GetEstimator(id, &estimator) && estimator.degree >= 1)
    [all...]
  /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...]
  /frameworks/base/core/java/android/view/
VelocityTracker.java 47 private static native boolean nativeGetEstimator(long 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/base/core/jni/
android_view_VelocityTracker.cpp 53 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator);
134 bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) {
197 VelocityTracker::Estimator estimator; local
198 bool result = state->getEstimator(id, &estimator);
205 env->SetFloatArrayRegion(xCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1,
206 estimator.xCoeff);
207 env->SetFloatArrayRegion(yCoeffObj, 0, VelocityTracker::Estimator::MAX_DEGREE + 1,
208 estimator.yCoeff);
209 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
remote_bitrate_estimators_test.cc 23 enum Estimator { kAbsSendTime, kTransmissionOffset };
25 BweTestConfig::EstimatorConfig EstimatorConfigs(Estimator estimator,
31 switch (estimator) {
49 Estimator estimator) {
52 EstimatorConfigs(estimator, 0));
  /frameworks/native/libs/input/
VelocityTracker.cpp 251 Estimator estimator; local
252 getEstimator(id, &estimator);
254 "estimator (degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f)",
256 int(estimator.degree),
257 vectorToString(estimator.xCoeff, estimator.degree + 1).string(),
258 vectorToString(estimator.yCoeff, estimator.degree + 1).string(),
259 estimator.confidence)
336 Estimator estimator; local
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 74 // Position estimator.
75 private VelocityTracker.Estimator mEstimator = new VelocityTracker.Estimator();
76 private VelocityTracker.Estimator mAltEstimator = new VelocityTracker.Estimator();
    [all...]

Completed in 309 milliseconds