Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java70 float newMomentumX = (x - lastX) / (mDensity * deltaT); in onMove() local
73 momentumX = 0.9f * momentumX + 0.1f * (newMomentumX * MOMENTUM_SCALE); in onMove()