Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1036 int vy = (int) (velocityY + 0.5f); in flingImages() local
1038 return mPositionController.flingPage(vx, vy); in flingImages()
1054 boolean fastEnough = (Math.abs(vy) > escapeVelocity) in flingImages()
1055 && (Math.abs(vy) > Math.abs(vx)) in flingImages()
1056 && ((vy > 0) == (centerY > getHeight() / 2)); in flingImages()
1058 vy = Math.min(vy, maxVelocity); in flingImages()
1059 int duration = mPositionController.flingFilmY(mTouchBoxIndex, vy); in flingImages()
1061 mPositionController.setPopFromTop(vy < 0); in flingImages()
/packages/experimental/DreamTheater/src/com/android/dreamtheater/
DBouncyDroid.java374 float x, float y, float vx, float vy, in drawVector() argument
376 final float mag = (float) Math.hypot(vx, vy); in drawVector()
380 mx.setSinCos(-vx/mag, vy/mag); in drawVector()