Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java91 private static final float VELOCITY_THRESHOLD = 2f; field in ModeListView
1765 if (Math.abs(mVelocityX) > VELOCITY_THRESHOLD) {
1785 if (mVelocityX > -VELOCITY_THRESHOLD * SCROLL_FACTOR) {
1808 if (mVelocityX <= VELOCITY_THRESHOLD) { in snapToFullScreen()
1813 animator = animateListToWidthAtVelocity(VELOCITY_THRESHOLD, fullWidth); in snapToFullScreen()
1923 position = VELOCITY_THRESHOLD * timeElapsed + lastVisibleWidth; in getMaxMovementBasedOnPosition()
1926 float velocity = (1 - percentageIntoSlowZone) * VELOCITY_THRESHOLD; in getMaxMovementBasedOnPosition()