Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationLoading.java72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in AnimationLoading.MyAnimationView
94 anim.setTarget(balls.get(0)); in createAnimation()
100 balls.get(1).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
107 seq.setTarget(balls.get(2)); in createAnimation()
111 colorizer.setTarget(balls.get(3)); in createAnimation()
115 animPvh.setTarget(balls.get(4)); in createAnimation()
120 animPvhKf.setTarget(balls.get(5)); in createAnimation()
126 balls.get(6).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
138 animPvhKfInterpolated.setTarget(balls.get(7)); in createAnimation()
165 balls.add(shapeHolder); in addBall()
[all …]
DAnimationCloning.java63 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in AnimationCloning.MyAnimationView
80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y", in createAnimation()
81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); in createAnimation()
83 anim2.setTarget(balls.get(1)); in createAnimation()
86 ShapeHolder ball2 = balls.get(2); in createAnimation()
98 s2.setTarget(balls.get(3)); in createAnimation()
123 balls.add(shapeHolder); in addBall()
129 for (int i = 0; i < balls.size(); ++i) { in onDraw()
130 ShapeHolder shapeHolder = balls.get(i); in onDraw()
DMultiPropertyAnimation.java72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in MultiPropertyAnimation.MyAnimationView
88 ball = balls.get(0); in createAnimation()
94 ball = balls.get(1); in createAnimation()
105 ball = balls.get(2); in createAnimation()
119 ball = balls.get(3); in createAnimation()
160 balls.add(shapeHolder); in addBall()
166 for (ShapeHolder ball : balls) { in onDraw()
DBouncingBalls.java60 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in BouncingBalls.MyAnimationView
137 balls.remove(((ObjectAnimator)animation).getTarget()); in onTouchEvent()
169 balls.add(shapeHolder); in addBall()
175 for (int i = 0; i < balls.size(); ++i) { in onDraw()
176 ShapeHolder shapeHolder = balls.get(i); in onDraw()
DAnimationSeeking.java97 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in AnimationSeeking.MyAnimationView
143 balls.add(shapeHolder); in addBall()
163 balls.remove(((ObjectAnimator)animation).getTarget()); in onAnimationEnd()
DReversingAnimation.java69 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in ReversingAnimation.MyAnimationView
DCustomEvaluator.java114 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in CustomEvaluator.MyAnimationView
DAnimatorEvents.java108 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in AnimatorEvents.MyAnimationView