Searched refs:maxVelocity (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 1465 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/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 1565 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument 1596 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity() 1597 : Math.min(accumX, maxVelocity); in computeCurrentVelocity() 1598 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) in computeCurrentVelocity() 1599 : Math.min(accumY, maxVelocity); in computeCurrentVelocity()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 189 final float maxVelocity = mMaximumFlingVelocity; in onTouchEvent() local 190 mVelocityTracker.computeCurrentVelocity(UNIT_SECONDS, maxVelocity); in onTouchEvent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 403 float maxVelocity = MAX_DISMISS_VELOCITY * mDensityScale; in onTouchEvent() local 404 mVelocityTracker.computeCurrentVelocity(1000 /* px/sec */, maxVelocity); in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 1106 int maxVelocity = GalleryUtils.dpToPixel(MAX_DISMISS_VELOCITY); in flingImages() local 1116 vy = Math.min(vy, maxVelocity); in flingImages()
|