Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java401 float coeffY = velocity == 0 ? 1.0f : velocityY / velocity; in fling() local
416 mFinalY = startY + Math.round(totalDistance * coeffY); in fling()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java437 float coeffY = velocity == 0 ? 1.0f : velocityY / velocity; in fling() local
452 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()