Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
DFlingAnimationUtils.java127 float velAbs = Math.abs(velocity); in getProperties() local
128 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs; in getProperties()
131 } else if (velAbs >= minVelocityPxPerSecond) { in getProperties()
136 new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties()
199 float velAbs = Math.abs(velocity); in getDismissingProperties() local
200 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties()
204 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties()
207 } else if (velAbs >= minVelocityPxPerSecond) { in getDismissingProperties()
213 new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties()