Lines Matching refs:duration
57 * The duration of the underlying Animator object. By default, we don't set the duration
58 * on the Animator and just use its default duration. If the duration is ever set on this
59 * Animator, then we use the duration that it was set to.
64 * A flag indicating whether the duration has been set on this object. If not, we don't set
65 * the duration on the underlying Animator, but instead just use its default duration.
107 * (duration, start delay, interpolator, etc.).
251 * Sets the duration for the underlying animator that animates the requested properties.
254 * @param duration The length of ensuing property animations, in milliseconds. The value
258 public ViewPropertyAnimator setDuration(long duration) {
259 if (duration < 0) {
260 throw new IllegalArgumentException("Animators cannot have negative duration: " +
261 duration);
264 mDuration = duration;
269 * Returns the current duration of property animations. If the duration was set on this
274 * @return The duration of animations, in milliseconds.
317 throw new IllegalArgumentException("Animators cannot have negative duration: " +
682 * {@link View#LAYER_TYPE_HARDWARE} for the duration of the next animation.