Animator.java 文件源码

java
阅读 39 收藏 0 点赞 0 评论 0

项目:TreebolicLib 作者:
@Override
public boolean run(final ActionListener thisListener, final int theseSteps, final int startDelay)
{
    // Log.d(Animator.TAG, "animate steps " + theseSteps);
    this.theLastStep = theseSteps - 1;
    this.theListener = thisListener;
    this.theAnimator = ValueAnimator.ofInt(0, this.theLastStep);
    this.theAnimator.setRepeatCount(0);
    this.theAnimator.setDuration(1000);
    this.theAnimator.setStartDelay(startDelay);
    this.theAnimator.setInterpolator(new LinearInterpolator());
    this.theAnimator.addUpdateListener(this);
    this.theAnimator.addListener(this);
    this.theAnimator.start();
    return true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号