Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java189 final float maxVelocity = mMaximumFlingVelocity; in onTouchEvent() local
190 mVelocityTracker.computeCurrentVelocity(UNIT_SECONDS, maxVelocity); in onTouchEvent()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1566 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1597 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()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1106 int maxVelocity = GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages() local
1116 vy = Math.min(vy, maxVelocity); in flingImages()