Searched refs:balls (Results 1 - 8 of 8) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DAnimationCloning.java63 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationCloning.MyAnimationView
80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y",
81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500);
83 anim2.setTarget(balls.get(1));
86 ShapeHolder ball2 = balls.get(2);
98 s2.setTarget(balls.get(3));
123 balls.add(shapeHolder);
129 for (int i = 0; i < balls.size(); ++i) {
130 ShapeHolder shapeHolder = balls.get(i);
H A DAnimationLoading.java72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationLoading.MyAnimationView
90 anim.setTarget(balls.get(0));
96 balls.get(1).setAlpha((Float) animation.getAnimatedValue());
103 seq.setTarget(balls.get(2));
107 colorizer.setTarget(balls.get(3));
132 balls.add(shapeHolder);
146 balls.add(shapeHolder);
151 for (ShapeHolder ball : balls) {
161 ShapeHolder ball = balls.get(0);
H A DMultiPropertyAnimation.java72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:MultiPropertyAnimation.MyAnimationView
88 ball = balls.get(0);
94 ball = balls.get(1);
105 ball = balls.get(2);
119 ball = balls.get(3);
160 balls.add(shapeHolder);
166 for (ShapeHolder ball : balls) {
H A DBouncingBalls.java60 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:BouncingBalls.MyAnimationView
68 // view, so that the animated color, and the bouncing balls, get redisplayed on
137 balls.remove(((ObjectAnimator)animation).getTarget());
169 balls.add(shapeHolder);
175 for (int i = 0; i < balls.size(); ++i) {
176 ShapeHolder shapeHolder = balls.get(i);
H A DAnimationSeeking.java97 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationSeeking.MyAnimationView
143 balls.add(shapeHolder);
163 balls.remove(((ObjectAnimator)animation).getTarget());
H A DCustomEvaluator.java114 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:CustomEvaluator.MyAnimationView
H A DReversingAnimation.java69 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:ReversingAnimation.MyAnimationView
H A DAnimatorEvents.java108 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimatorEvents.MyAnimationView

Completed in 50 milliseconds