Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DCustomEvaluator.java59 public class XYHolder { class in CustomEvaluator
63 public XYHolder(float x, float y) { in XYHolder() method in CustomEvaluator.XYHolder
87 XYHolder startXY = (XYHolder) startValue; in evaluate()
88 XYHolder endXY = (XYHolder) endValue; in evaluate()
89 return new XYHolder(startXY.getX() + fraction * (endXY.getX() - startXY.getX()), in evaluate()
102 public void setXY(XYHolder xyHolder) { in setXY()
107 public XYHolder getXY() { in getXY()
108 return new XYHolder(mBall.getX(), mBall.getY()); in getXY()
127 XYHolder startXY = new XYHolder(0f, 0f); in createAnimation()
128 XYHolder endXY = new XYHolder(300f, 500f); in createAnimation()