Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureUtils.java272 float distanceSoFar = 0; in temporalSampling() local
297 if (distanceSoFar + distance >= increment) { in temporalSampling()
298 float ratio = (increment - distanceSoFar) / distance; in temporalSampling()
307 distanceSoFar = 0; in temporalSampling()
313 distanceSoFar += distance; in temporalSampling()