Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java67 final long deltaT = eventTime - lastEventTime; in onMove() local
69 if (deltaT != 0) { in onMove()
70 float newMomentumX = (x - lastX) / (mDensity * deltaT); in onMove()
71 float newMomentumY = (y - lastY) / (mDensity * deltaT); in onMove()