Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1915 public float getMaxMovementBasedOnPosition(int lastVisibleWidth, int maxWidth) { in getMaxMovementBasedOnPosition() argument
1922 if (lastVisibleWidth < (maxWidth - slowZone)) { in getMaxMovementBasedOnPosition()
1923 position = VELOCITY_THRESHOLD * timeElapsed + lastVisibleWidth; in getMaxMovementBasedOnPosition()
1925 float percentageIntoSlowZone = (lastVisibleWidth - (maxWidth - slowZone)) / slowZone; in getMaxMovementBasedOnPosition()
1927 position = velocity * timeElapsed + lastVisibleWidth; in getMaxMovementBasedOnPosition()