Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java137 private float mVelocityX; // Unit: pixel/ms. field in ModeListView
1054 mVelocityX = velocityX / 1000f * SCROLL_FACTOR;
1061 mVelocityX = 0;
1765 if (Math.abs(mVelocityX) > VELOCITY_THRESHOLD) {
1767 return mVelocityX < 0;
1785 if (mVelocityX > -VELOCITY_THRESHOLD * SCROLL_FACTOR) {
1788 return animateListToWidthAtVelocity(mVelocityX, 0);
1808 if (mVelocityX <= VELOCITY_THRESHOLD) { in snapToFullScreen()