Home
last modified time | relevance | path

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

/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A 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()
/aosp12/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java98 private static final double VELOCITY_THRESHOLD = 0.01; field in EdgeEffect
827 return displacement < 0 || (Math.abs(velocity) < VELOCITY_THRESHOLD in isAtEquilibrium()