Package icyllis.modernui.view

# Class VelocityTracker.ImpulseStrategy

java.lang.Object
icyllis.modernui.view.VelocityTracker.ImpulseStrategy

All Implemented Interfaces:
  `VelocityTracker.Strategy`

Enclosing class:
  `VelocityTracker`

public static class VelocityTracker.ImpulseStrategy extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ImpulseStrategy()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addMovement(long eventTime, float x, float y)`
  `void`
  `clear()`
  `boolean`
  `getEstimator(VelocityTracker.Estimator outEstimator)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ImpulseStrategy

    public ImpulseStrategy()

- ## Method Details

  - ### getEstimator

    public boolean getEstimator(@NonNull VelocityTracker.Estimator outEstimator)

  - ### clear

    public void clear()
    Specified by:
      `clear` in interface `VelocityTracker.Strategy`

  - ### addMovement

    public void addMovement(long eventTime, float x, float y)
    Specified by:
      `addMovement` in interface `VelocityTracker.Strategy`