Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java400 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity; in fling() local
411 mFinalX = startX + Math.round(totalDistance * coeffX); in fling()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java436 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity; in fling() local
447 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()