Lines Matching defs:WITH
5 * you may not use this file except in compliance with the License.
32 * used in conjunction with methods in the {@link AnimatorSet.Builder Builder}
36 * <p>It is possible to set up a <code>AnimatorSet</code> with circular dependencies between
45 * <p>For more information about animating with {@code AnimatorSet}, read the
90 * is replayed with no changes, it does not have to re-sort the nodes again.
130 * This is equivalent to calling {@link #play(Animator)} with the first animator in the
131 * set and then {@link Builder#with(Animator)} with each of the other animators. Note that
132 * an Animator with a {@link Animator#setStartDelay(long) startDelay} will not actually
144 builder.with(items[i]);
162 builder.with(anim);
265 * calling <code>play(a1).with(a2)</code> sets up the AnimatorSet to play
618 * state, with fresh, empty data structures. Then we will build up the nodes list
693 // The Dependency rule (WITH or AFTER) that the listener should wait for on
730 if (mRule == Dependency.WITH) {
845 * - any nodes with no dependencies are added to the roots list
916 static final int WITH = 0; // dependent node must start with this dependency node
919 // The node that the other node with this Dependency is dependent upon
922 // The nature of the dependency (WITH or AFTER)
933 * any dependencies that are associated with that Animation. This includes
942 * nodes. For example, if this node's animation should begin with some
980 * Constructs the Node with the animation that it encapsulates. A Node has no
1025 * <code>AnimatorSet</code> along with the relationships between the various animations. The
1026 * intention of the <code>Builder</code> methods, along with the {@link
1040 * s.play(anim1).with(anim2);
1072 * that can boil down to a simple, one-way relationship of animations starting with, before, and
1106 public Builder with(Animator anim) {
1113 Dependency dependency = new Dependency(mCurrentNode, Dependency.WITH);