Home
last modified time | relevance | path

Searched refs:mEstimator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRateEstimatorTest.java35 private RateEstimator mEstimator; field in RateEstimatorTest
40 mEstimator = new RateEstimator(); in setUp()
52 final float rate = mEstimator.getRate(mTestStartTime - 1000L); in testRunningTimeBackwardDoesntExplodeGet()
67 final float rate = mEstimator.getRate(mTestStartTime); in testInstantaneousEventsDontExplodeGet()
77 final float rate = mEstimator.getRate(nextEventTime); in testInstantaneousBurstIsEstimatedUnderTwoPercent()
86 final float rate = mEstimator.getRate(nextEventTime); in testCompactBurstIsEstimatedUnderTwoPercent()
95 final float rate = mEstimator.getRate(nextEventTime); in testSustained1000HzBurstIsEstimatedOverNinetyPercent()
104 final float rate = mEstimator.getRate(nextEventTime); in testSustained100HzBurstIsEstimatedOverNinetyPercent()
114 final float rate = mEstimator.getRate(nextEventTime + 5000L); // two seconds later in testRecoverQuicklyAfterSustainedBurst()
123 final float rate = mEstimator.getRate(nextEventTime); in testEstimateShouldNotOvershoot()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java91 private VelocityTracker.Estimator mEstimator = new VelocityTracker.Estimator(); field in PointerLocationView.PointerState
649 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()