/external/chromium_org/content/browser/download/ |
rate_estimator_unittest.cc | 15 RateEstimator estimator(TimeDelta::FromSeconds(1), 10u, now); 16 EXPECT_EQ(0u, estimator.GetCountPerSecond(now)); 18 estimator.Increment(50u, now); 19 EXPECT_EQ(50u, estimator.GetCountPerSecond(now)); 22 estimator.Increment(50, now); 23 EXPECT_EQ(100u, estimator.GetCountPerSecond(now)); 27 EXPECT_EQ(25u, estimator.GetCountPerSecond(now)); 28 estimator.Increment(60, now); 29 EXPECT_EQ(40u, estimator.GetCountPerSecond(now)); 33 EXPECT_EQ(20u, estimator.GetCountPerSecond(now)) [all...] |
/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...] |
/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...] |
/external/opencv/cv/src/ |
cvfundam.cpp | 616 CvHomographyEstimator estimator( MIN(count, 5) ); 620 result = estimator.runLMeDS( M, m, &_H, tempMask, confidence ); 622 result = estimator.runRANSAC( M, m, &_H, tempMask, ransacReprojThreshold, confidence ); 624 result = estimator.runKernel( M, m, &_H ) > 0; 631 estimator.refine( M, m, &_H, 10 ); 988 CvFMEstimator estimator( MIN(count, (method & 3) == CV_FM_7POINT ? 7 : 8) ); 990 result = estimator.run7Point(m1, m2, &_F9x3); 992 result = estimator.run8Point(m1, m2, &_F3x3); 1001 result = estimator.runRANSAC(m1, m2, &_F3x3, tempMask, param1, param2 ); 1003 result = estimator.runLMeDS(m1, m2, &_F3x3, tempMask, param2 ) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
compiler.jar | |