Package icyllis.modernui.view
Interface VelocityTracker.Strategy
- All Known Implementing Classes:
VelocityTracker.ImpulseStrategy,VelocityTracker.LeastSquaresStrategy
- Enclosing class:
VelocityTracker
public static interface VelocityTracker.Strategy
Implements a particular velocity tracker algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMovement(long eventTime, float x, float y) voidclear()booleangetEstimator(VelocityTracker.Estimator outEstimator)
-
Method Details
-
clear
void clear() -
addMovement
void addMovement(long eventTime, float x, float y) -
getEstimator
-