Home | History | Annotate | Download | only in view

Lines Matching refs:Animation

19 import android.animation.LayoutTransition;
42 import android.view.animation.Animation;
43 import android.view.animation.AnimationUtils;
44 import android.view.animation.LayoutAnimationController;
45 import android.view.animation.Transformation;
159 // Layout animation
161 private Animation.AnimationListener mAnimationListener;
228 // When set, dispatchDraw() will run the layout animation and unset the flag
231 // When set, there is either no layout animation on the ViewGroup or the layout
232 // animation is over
240 // When set, this ViewGroup caches its children in a Bitmap before starting a layout animation
245 // layout animation; this avoid clobbering the hierarchy
246 // Automatically set when the layout animation starts, depending on the animation's
255 // This flag is set when the layout animation is over (after FLAG_ANIMATION_DONE is set)
268 * {@link #getChildStaticTransformation(View, android.view.animation.Transformation)} to be
272 * {@link #getChildStaticTransformation(View, android.view.animation.Transformation)} should
362 * Used to indicate that the animation drawing cache should be kept in memory.
2662 // When this ViewGroup's animation starts, build the cache for the children
2686 // When this ViewGroup's animation ends, destroy the cache of the children
2912 // We will draw our child's animation, let's reset the flag
2965 // drawChild() after the animation is over
2983 * by an animation effect.
3077 * that the child's scrolled origin is at 0, 0, and applying any animation
3176 * {@link #getChildStaticTransformation(View, android.view.animation.Transformation)} to be
3180 * {@link #getChildStaticTransformation(View, android.view.animation.Transformation)} should
3185 * @see #getChildStaticTransformation(View, android.view.animation.Transformation)
3658 Animation a = mLayoutAnimationController.getAnimationForView(child);
3663 * Subclasses should override this method to set layout animation
3666 * @param child the child to associate with animation parameters
3667 * @param params the child's layout parameters which hold the animation
3993 * @param animate if true and the view has an animation, the view is placed in the
4175 // If the child is drawing an animation, we want to copy this flag onto
4336 * DRAWN flags and doesn't handle the Animation logic that the default invalidation methods
4587 * Runs the layout animation. Calling this method triggers a relayout of
4598 * Schedules the layout animation to be played after the next layout pass
4599 * of this view group. This can be used to restart the layout animation
4608 * Sets the layout animation controller used to animate the group's
4611 * @param controller the animation controller
4621 * Returns the layout animation controller used to animate the group's
4624 * @return the current animation controller
4632 * animation. By default, the drawing cache is enabled but this will prevent
4636 * @return true if the animation cache is enabled, false otherwise
4647 * Enables or disables the children's drawing cache during a layout animation.
4652 * @param enabled true to enable the animation cache, false otherwise
4665 * @return true if the animation cache is enabled, false otherwise
4777 @ViewDebug.IntToString(from = PERSISTENT_ANIMATION_CACHE, to = "ANIMATION"),
5115 * Add a view which is removed from mChildren but still needs animation
5130 * Cleanup a view when its animation is done. This may mean removing it from
5133 * @param view The view whose animation has finished
5134 * @param animation The animation, cannot be null
5136 void finishAnimatingView(final View view, Animation animation) {
5151 if (animation != null && !animation.getFillAfter()) {
5160 // Draw one more frame after the animation is done
5179 * {@link android.app.Fragment} and {@link android.animation.LayoutTransition} to animate
5181 * to {@link #endViewTransition(View)}, such as after an animation on the View has finished,
5326 * Returns the animation listener to which layout animation events are
5329 * @return an {@link android.view.animation.Animation.AnimationListener}
5331 public Animation.AnimationListener getLayoutAnimationListener() {
5433 * Specifies the animation listener to which layout animation events must
5435 * {@link android.view.animation.Animation.AnimationListener#onAnimationStart(Animation)}
5437 * {@link android.view.animation.Animation.AnimationListener#onAnimationEnd(Animation)}
5440 * @param animationListener the layout animation listener
5442 public void setLayoutAnimationListener(Animation.AnimationListener animationListener) {