Class ShadowVelocityTracker


  • @Implements(android.view.VelocityTracker.class)
    public class ShadowVelocityTracker
    extends java.lang.Object
    • Constructor Detail

      • ShadowVelocityTracker

        public ShadowVelocityTracker()
    • Method Detail

      • clear

        @Implementation
        protected void clear()
      • addMovement

        @Implementation
        protected void addMovement​(android.view.MotionEvent event)
      • computeCurrentVelocity

        @Implementation
        protected void computeCurrentVelocity​(int units)
      • computeCurrentVelocity

        @Implementation
        protected void computeCurrentVelocity​(int units,
                                              float maxVelocity)
      • getXVelocity

        @Implementation
        protected float getXVelocity()
      • getYVelocity

        @Implementation
        protected float getYVelocity()
      • getXVelocity

        @Implementation
        protected float getXVelocity​(int id)
      • getYVelocity

        @Implementation
        protected float getYVelocity​(int id)