Searched refs:maxVelocity (Results 1 - 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
H A DSwipeHelper.java427 float maxVelocity = MAX_DISMISS_VELOCITY * mDensityScale;
428 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java1465 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1496 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity)
1497 : Math.min(accumX, maxVelocity);
1498 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity)
1499 : Math.min(accumY, maxVelocity);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java1099 int maxVelocity = GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY);
1107 vy = Math.min(vy, maxVelocity);

Completed in 49 milliseconds