PaymentRequestUI.java 文件源码

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

项目:chromium-for-android-56-debug-video 作者:
@Override
public void onLayoutChange(View v, int left, int top, int right, int bottom,
        int oldLeft, int oldTop, int oldRight, int oldBottom) {
    mRequestView.removeOnLayoutChangeListener(this);

    Animator scrimFader = ObjectAnimator.ofInt(mFullContainer.getBackground(),
            AnimatorProperties.DRAWABLE_ALPHA_PROPERTY, 0, 127);
    Animator alphaAnimator = ObjectAnimator.ofFloat(mFullContainer, View.ALPHA, 0f, 1f);

    AnimatorSet alphaSet = new AnimatorSet();
    alphaSet.playTogether(scrimFader, alphaAnimator);
    alphaSet.setDuration(DIALOG_ENTER_ANIMATION_MS);
    alphaSet.setInterpolator(new LinearOutSlowInInterpolator());
    alphaSet.start();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号