FileDocCategorySizeDatePackage
PlayAnimationThread.javaAPI DocAndroid 5.1 API1593Thu Mar 12 22:22:44 GMT 2015com.android.layoutlib.bridge.impl

PlayAnimationThread

public class PlayAnimationThread extends android.animation.AnimationThread

Fields Summary
private final android.animation.Animator
mAnimator
Constructors Summary
public PlayAnimationThread(android.animation.Animator animator, RenderSessionImpl scene, String animName, com.android.ide.common.rendering.api.IAnimationListener listener)

        super(scene, animName, listener);
        mAnimator = animator;
    
Methods Summary
public voidpostAnimation()

        // nothing to be done.
    
public com.android.ide.common.rendering.api.ResultpreAnimation()

        // start the animation. This will send a message to the handler right away, so
        // the queue is filled when this method returns.
        mAnimator.start();

        return Status.SUCCESS.createResult();