Searched refs:estimator (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 199 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/ |
D | MemoryPowerCalculator.java | 54 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()
|
D | CpuPowerCalculator.java | 85 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/ |
D | VelocityTracker.cpp | 251 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/ |
D | VelocityTracker_test.cpp | 228 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/ |
D | telephony.proto | 57 // Bandwidth estimator stats 2743 // Bandwidth estimator stats
|