Home
last modified time | relevance | path

Searched refs:maxVelocity (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java1465 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1496 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()
1497 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()
1498 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) in computeCurrentVelocity()
1499 : Math.min(accumY, maxVelocity); in computeCurrentVelocity()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1049 int maxVelocity = (int) GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages() local
1058 vy = Math.min(vy, maxVelocity); in flingImages()