Lines Matching defs:play

31  * can be set up to play together, in sequence, or after a specified delay.
36 * a set of animations all at once, or the {@link AnimatorSet#play(Animator)} can be
120 // relationship captures the order of animation (i.e. parent and child will play sequentially),
161 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
162 * This is equivalent to calling {@link #play(Animator)} with the first animator in the
173 Builder builder = play(items[0]);
181 * Sets up this AnimatorSet to play all of the supplied animations at the same time.
190 builder = play(anim);
199 * Sets up this AnimatorSet to play each of the supplied animations when the
207 play(items[0]);
211 play(items[i]).before(items[i + 1]);
218 * Sets up this AnimatorSet to play each of the supplied animations when the
226 play(items.get(0));
230 play(items.get(i)).before(items.get(i + 1));
311 * set up playing constraints. This initial <code>play()</code> method
314 * calling <code>play(a1).with(a2)</code> sets up the AnimatorSet to play
316 * <code>play(a1).before(a2)</code> sets up the AnimatorSet to play
318 * <code>play(a1).after(a2)</code> sets up the AnimatorSet to play
321 * <p>Note that <code>play()</code> is the only way to tell the
324 * will all refer to the initial parameter supplied in <code>play()</code>
326 * <code>play(a1).before(a2).before(a3)</code> will play both <code>a2</code>
334 * outlined in the calls to <code>play</code> and the other methods in the
337 public Builder play(Animator anim) {
667 // insert "play-after" delays
994 * meaning they will ever play.
1066 * TODO: For animatorSet defined in XML, we can use a flag to indicate what the play order
1069 * @return whether all the animators in the set are supposed to play together
1074 // All the child nodes are set out to play right after the delay animation
1123 * Nodes with animations that are defined to play simultaneously with the animation
1222 * AnimatorSet#play(Animator) play()} method of <code>AnimatorSet</code> is to make it possible
1229 * internally via a call to {@link AnimatorSet#play(Animator)}.</p>
1231 * <p>For example, this sets up a AnimatorSet to play anim1 and anim2 at the same time, anim3 to
1232 * play when anim2 finishes, and anim4 to play when anim3 finishes:</p>
1235 * s.play(anim1).with(anim2);
1236 * s.play(anim2).before(anim3);
1237 * s.play(anim4).after(anim3);
1247 * {@link AnimatorSet#play(Animator)} method that is the dependency in any of the successive
1253 * s.play(anim1).before(anim2).before(anim3);
1255 * If the desired result is to play anim1 then anim2 then anim3, this code expresses the
1259 * s.play(anim1).before(anim2);
1260 * s.play(anim2).before(anim3);
1264 * result in sensible results. For example, <code>play(anim1).after(anim1)</code> makes no
1273 * This tracks the current node being processed. It is supplied to the play() method
1280 * play() method is called.
1291 * Sets up the given animation to play at the same time as the animation supplied in the
1292 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object.
1294 * @param anim The animation that will play when the animation supplied to the
1295 * {@link AnimatorSet#play(Animator)} method starts.
1304 * Sets up the given animation to play when the animation supplied in the
1305 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1308 * @param anim The animation that will play when the animation supplied to the
1309 * {@link AnimatorSet#play(Animator)} method ends.
1319 * Sets up the given animation to play when the animation supplied in the
1320 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1324 * {@link AnimatorSet#play(Animator)} method to play.
1335 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1336 * to play when the given amount of time elapses.