Home | History | Annotate | Download | only in view

Lines Matching defs:animation

23 import android.animation.AnimatorInflater;
24 import android.animation.StateListAnimator;
103 import android.view.animation.Animation;
104 import android.view.animation.AnimationUtils;
105 import android.view.animation.Transformation;
652 * {@link android.animation.Animator Animator}-based animations, described more in the
653 * <a href="#Animation">Animation</a> section.
656 * <a name="Animation"></a>
657 * <h3>Animation</h3>
660 * {@link android.animation} package APIs. These {@link android.animation.Animator Animator}-based
663 * {@link android.view.animation.Animation Animation}-based classes, which instead animate only
668 * Alternatively, you can use the pre-3.0 animation classes to animate how Views are rendered.
669 * You can attach an {@link Animation} object to a view using
670 * {@link #setAnimation(Animation)} or
671 * {@link #startAnimation(Animation)}. The animation can alter the scale,
672 * rotation, translation and alpha of a view over time. If the animation is
673 * attached to a view that has children, the animation will affect the entire
674 * subtree rooted by that node. When an animation is started, the framework will
675 * take care of redrawing the appropriate views until the animation completes.
2161 * The animation currently associated with this view.
2164 protected Animation mCurrentAnimation = null;
2242 * When this flag is set, this view is running an animation on behalf of its
2268 * more) after its animation has completed.
2964 * Flag indicating that view has a transform animation set on it. This is used to track whether
2965 * an animation is cleared between successive frames, in order to tell the associated
2966 * DisplayList to clear its animation matrix.
2971 * Flag indicating that view has an alpha animation set on it. This is used to track whether an
2972 * animation is cleared between successive frames, in order to tell the associated
4534 * Object that handles automatic animation of view properties.
10306 * because the view is performing an animation, tracking user selection
10324 * because the view is performing an animation, tracking user selection
10529 * animation hinting.
11984 * and we need a transient value during an animation. When the animation completes,
14173 // to change animation states.
15018 * <p>For a view with a frequently changing alpha, such as during a fading animation, it is
15022 * of the animation. On versions {@link android.os.Build.VERSION_CODES#M} and below,
15636 * @see #setStateListAnimator(android.animation.StateListAnimator)
15648 * @see android.animation.StateListAnimator
15684 * circular reveal} animation take priority over Outline clipping, and
16143 * animation to fade the scrollbars out after a default delay. If a subclass
16145 * of the scrolling animation.</p>
16147 * <p>The animation starts only if at least one of the scrollbars is
16149 * {@link #isVerticalScrollBarEnabled()}. When the animation is started,
16150 * this method returns true, and false otherwise. If the animation is
16160 * @return true if the animation is played, false otherwise
16181 * @return true if the animation is played, false otherwise.
16191 * animation to fade the scrollbars out after a fixed delay. If a subclass
16193 * the scrolling animation.
16197 * The animation starts only if at least one of the scrollbars is enabled,
16199 * {@link #isVerticalScrollBarEnabled()}. When the animation is started,
16200 * this method returns true, and false otherwise. If the animation is
16210 * @param startDelay the delay, in milliseconds, after which the animation
16211 * should start; when the delay is 0, the animation starts
16213 * @return true if the animation is played, false otherwise
16229 * animation to fade the scrollbars out after a fixed delay. If a subclass
16231 * the scrolling animation.
16235 * The animation starts only if at least one of the scrollbars is enabled,
16237 * {@link #isVerticalScrollBarEnabled()}. When the animation is started,
16238 * this method returns true, and false otherwise. If the animation is
16249 * @param startDelay the delay, in milliseconds, after which the animation
16250 * should start; when the delay is 0, the animation starts
16255 * @return true if the animation is played, false otherwise
16311 * Do not invalidate views which are not visible and which are not running an animation. They
16717 * <p>Causes the Runnable to execute on the next animation time step.
16738 * <p>Causes the Runnable to execute on the next animation time step,
16882 * <p>Cause an invalidate to happen on the next animation time step, typically the
16900 * <p>Cause an invalidate of the specified area to happen on the next animation
17645 // scrollbars are drawn only when the animation is running
17666 // Stops the animation if we're done
18847 * starting an animation. If this view is complex, rendering into the layer
18848 * before starting the animation will avoid skipping frames.
19742 * case of an active Animation being run on the view.
19745 Animation a, boolean scalingRequired) {
19774 // The child need to draw an animation, potentially offscreen, so
19787 // The child need to draw an animation, potentially offscreen, so
19871 final Animation a = getAnimation();
19881 // No longer animating: clear out old animation matrix
19933 // Delay getting the display list until animation-driven alpha values are
23468 * Get the animation currently associated with this view.
23470 * @return The animation that is currently playing or
23473 public Animation getAnimation() {
23478 * Start the specified animation now.
23480 * @param animation the animation to start now
23482 public void startAnimation(Animation animation) {
23483 animation.setStartTime(Animation.START_ON_FIRST_FRAME);
23484 setAnimation(animation);
23501 * Sets the next animation to play for this view.
23502 * If you want the animation to play immediately, use
23503 * {@link #startAnimation(android.view.animation.Animation)} instead.
23506 * must make sure that 1) the animation has a start time set, and
23508 * will be invalidated when the animation is supposed to
23511 * @param animation The next animation, or null.
23513 public void setAnimation(Animation animation) {
23514 mCurrentAnimation = animation;
23516 if (animation != null) {
23517 // If the screen is off assume the animation start time is now instead of
23519 // would cause the animation to start when the screen turns back on
23521 && animation.getStartTime() == Animation.START_ON_FIRST_FRAME) {
23522 animation.setStartTime(AnimationUtils.currentAnimationTimeMillis());
23524 animation.reset();
23529 * Invoked by a parent ViewGroup to notify the start of the animation
23533 * @see #setAnimation(android.view.animation.Animation)
23542 * Invoked by a parent ViewGroup to notify the end of the animation
23546 * @see #setAnimation(android.view.animation.Animation)
26846 // the animation fades the scrollbars out by changing
26863 // Kick off the fade animation