Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DPathEvaluator.java31 float oneMinusT = 1 - t; in evaluate() local
32 x = oneMinusT * oneMinusT * oneMinusT * startValue.mX + in evaluate()
33 3 * oneMinusT * oneMinusT * t * endValue.mControl0X + in evaluate()
34 3 * oneMinusT * t * t * endValue.mControl1X + in evaluate()
36 y = oneMinusT * oneMinusT * oneMinusT * startValue.mY + in evaluate()
37 3 * oneMinusT * oneMinusT * t * endValue.mControl0Y + in evaluate()
38 3 * oneMinusT * t * t * endValue.mControl1Y + in evaluate()