Searched refs:mEstimator (Results 1 – 2 of 2) sorted by relevance
35 private RateEstimator mEstimator; field in RateEstimatorTest40 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 …]
85 private VelocityTracker.Estimator mEstimator = new VelocityTracker.Estimator(); field in PointerLocationView.PointerState627 mVelocity.getEstimator(id, ps.mEstimator); in onPointerEvent()