Lines Matching defs:delay

33  * is used by {@link android.view.ViewGroup} to compute the delay by which each
34 * child's animation start must be offset. The delay is computed by using
37 * This standard implementation computes the delay by multiplying a fixed
41 * of computing the delay. For instance, a
43 * delay based on the column and row indices of the child in its parent view
46 * Information used to compute the animation delay of each child are stored
128 * Creates a new layout animation controller with a delay of 50%
138 * Creates a new layout animation controller with the specified delay
142 * @param delay the delay by which each child's animation must be offset
144 public LayoutAnimationController(Animation animation, float delay) {
145 mDelay = delay;
150 * Returns the order used to compute the delay of each child's animation.
162 * Sets the order used to compute the delay of each child's animation.
260 * Returns the delay by which the children's animation are offset. The
261 * delay is expressed as a fraction of the animation duration.
272 * Sets the delay, as a fraction of the animation duration, by which the
276 * child animation delay = child index * delay * animation duration
279 * @param delay a fraction of the animation duration
283 public void setDelay(float delay) {
284 mDelay = delay;
289 * overlap when the delay is lower than 100% (or 1.0).
323 final long delay = getDelayForView(view) + mAnimation.getStartOffset();
324 mMaxDelay = Math.max(mMaxDelay, delay);
328 animation.setStartOffset(delay);
337 * is considered done when the animation with the longest delay is done.
351 * This implementation returns <code>child animation delay</code>
355 * child animation delay = child index * delay
362 * @param view the view for which to obtain the animation's delay
363 * @return a delay in milliseconds
378 final float delay = mDelay * mAnimation.getDuration();
379 final long viewDelay = (long) (getTransformedIndex(params) * delay);
380 final float totalDelay = delay * params.count;