Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java171 float velAbs = Math.abs(velocity); in getProperties() local
173 ? 1.0f : Math.min(velAbs / HIGH_VELOCITY_DP_PER_SECOND, 1.0f); in getProperties()
176 float durationSeconds = startGradient * diff / velAbs; in getProperties()
180 } else if (velAbs >= mMinVelocityPxPerSecond) { in getProperties()
185 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties()
268 float velAbs = Math.abs(velocity); in getDismissingProperties() local
269 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties()
273 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties()
276 } else if (velAbs >= mMinVelocityPxPerSecond) { in getDismissingProperties()
282 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties()