Home
last modified time | relevance | path

Searched refs:estimator (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp199 VelocityTracker::Estimator estimator; in android_view_VelocityTracker_nativeGetEstimator() local
200 bool result = state->getEstimator(id, &estimator); in android_view_VelocityTracker_nativeGetEstimator()
208 estimator.xCoeff); in android_view_VelocityTracker_nativeGetEstimator()
210 estimator.yCoeff); in android_view_VelocityTracker_nativeGetEstimator()
211 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree); in android_view_VelocityTracker_nativeGetEstimator()
212 env->SetFloatField(outEstimatorObj, gEstimatorClassInfo.confidence, estimator.confidence); in android_view_VelocityTracker_nativeGetEstimator()
/frameworks/base/core/java/com/android/internal/os/
DMemoryPowerCalculator.java54 UsageBasedPowerEstimator estimator = mPowerEstimators[(int) timers.keyAt(i)]; in calculatePower() local
56 estimator.calculateDuration(timers.valueAt(i), rawRealtimeUs, statsType); in calculatePower()
57 powerMah += estimator.calculatePower(usageDurationMs); in calculatePower()
DCpuPowerCalculator.java85 final UsageBasedPowerEstimator estimator = new UsageBasedPowerEstimator( in CpuPowerCalculator() local
87 mPerCpuFreqPowerEstimatorsByCluster[cluster][speed] = estimator; in CpuPowerCalculator()
88 mPerCpuFreqPowerEstimators[index++] = estimator; in CpuPowerCalculator()
/frameworks/native/libs/input/
DVelocityTracker.cpp251 Estimator estimator; in addMovement() local
252 getEstimator(id, &estimator); in addMovement()
255 id, positions[index].x, positions[index].y, int(estimator.degree), in addMovement()
256 vectorToString(estimator.xCoeff, estimator.degree + 1).c_str(), in addMovement()
257 vectorToString(estimator.yCoeff, estimator.degree + 1).c_str(), in addMovement()
258 estimator.confidence); in addMovement()
327 Estimator estimator; in getVelocity() local
328 if (getEstimator(id, &estimator) && estimator.degree >= 1) { in getVelocity()
329 *outVx = estimator.xCoeff[1]; in getVelocity()
330 *outVy = estimator.yCoeff[1]; in getVelocity()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp228 VelocityTracker::Estimator estimator; in computeAndCheckQuadraticEstimate() local
229 EXPECT_TRUE(vt.getEstimator(0, &estimator)); in computeAndCheckQuadraticEstimate()
231 checkCoefficient(estimator.xCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()
232 checkCoefficient(estimator.yCoeff[i], coefficients[i]); in computeAndCheckQuadraticEstimate()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto57 // Bandwidth estimator stats
2743 // Bandwidth estimator stats