AllAppsCaretController.java 文件源码

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

项目:FlickLauncher 作者:
public AllAppsCaretController(CaretDrawable caret, Launcher launcher) {
    mLauncher = launcher;
    mCaretDrawable = caret;

    final long caretAnimationDuration = launcher.getResources().getInteger(
            R.integer.config_caretAnimationDuration);
    final Interpolator caretInterpolator = AnimationUtils.loadInterpolator(launcher,
            android.R.interpolator.fast_out_slow_in);

    // We will set values later
    mCaretAnimator = ObjectAnimator.ofFloat(mCaretDrawable, "caretProgress", 0);
    mCaretAnimator.setDuration(caretAnimationDuration);
    mCaretAnimator.setInterpolator(caretInterpolator);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号