Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DPathEvaluator.java28 public PathPoint evaluate(float t, PathPoint startValue, PathPoint endValue) { in evaluate() argument
32 x = oneMinusT * oneMinusT * oneMinusT * startValue.mX + in evaluate()
36 y = oneMinusT * oneMinusT * oneMinusT * startValue.mY + in evaluate()
41 x = startValue.mX + t * (endValue.mX - startValue.mX); in evaluate()
42 y = startValue.mY + t * (endValue.mY - startValue.mY); in evaluate()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java364 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
365 return new Rect(interpolate(startValue.left, endValue.left, fraction),
366 interpolate(startValue.top, endValue.top, fraction),
367 interpolate(startValue.right, endValue.right, fraction),
368 interpolate(startValue.bottom, endValue.bottom, fraction));
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java457 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
458 return new Rect(interpolate(startValue.left, endValue.left, fraction),
459 interpolate(startValue.top, endValue.top, fraction),
460 interpolate(startValue.right, endValue.right, fraction),
461 interpolate(startValue.bottom, endValue.bottom, fraction));
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DCustomEvaluator.java86 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
87 XYHolder startXY = (XYHolder) startValue; in evaluate()