Searched refs:maxVelocity (Results 1 – 3 of 3) sorted by relevance
189 final float maxVelocity = mMaximumFlingVelocity; in onTouchEvent() local190 mVelocityTracker.computeCurrentVelocity(UNIT_SECONDS, maxVelocity); in onTouchEvent()
1566 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument1597 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()1598 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()1599 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) in computeCurrentVelocity()1600 : Math.min(accumY, maxVelocity); in computeCurrentVelocity()
1106 int maxVelocity = GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages() local1116 vy = Math.min(vy, maxVelocity); in flingImages()