Lines Matching defs:Builder

33  * used in conjunction with methods in the {@link AnimatorSet.Builder Builder}
132 * set and then {@link Builder#with(Animator)} with each of the other animators. Note that
143 Builder builder = play(items[0]);
158 Builder builder = null;
277 * This method creates a <code>Builder</code> object, which is used to
279 * tells the <code>Builder</code> the animation that is the dependency for
280 * the succeeding commands to the <code>Builder</code>. For example,
289 * <code>Builder</code> the animation upon which the dependency is created,
290 * so successive calls to the various functions in <code>Builder</code>
298 * methods in the returned <code>Builder</code> object. A null parameter will result
299 * in a null <code>Builder</code> return value.
300 * @return Builder The object that constructs the AnimatorSet based on the dependencies
302 * <code>Builder</code object.
304 public Builder play(Animator anim) {
307 return new Builder(anim);
1108 * The <code>Builder</code> object is a utility class to facilitate adding animations to a
1110 * intention of the <code>Builder</code> methods, along with the {@link
1117 * <p>The <code>Builder</code> object cannot be constructed directly, but is rather constructed
1129 * <p>Note in the example that both {@link Builder#before(Animator)} and {@link
1130 * Builder#after(Animator)} are used. These are just different ways of expressing the same
1134 * <p>It is possible to make several calls into the same <code>Builder</code> object to express
1137 * calls to the <code>Builder</code> object. For example, the following code starts both anim2
1159 public class Builder {
1163 * of AnimatorSet and passed into the constructor of Builder.
1172 * the other methods of this Builder object.
1174 Builder(Animator anim) {
1185 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object.
1190 public Builder with(Animator anim) {
1204 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1210 public Builder before(Animator anim) {
1225 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1231 public Builder after(Animator anim) {
1246 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
1252 public Builder after(long delay) {