package com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.view;

import X.C4826Bpm;
import android.view.View;
import android.view.ViewPropertyAnimator;
import android.view.animation.Animation;
import com.bytedance.covode.number.Covode;

public final class OrderSummaryPanel$3 implements Animation.AnimationListener {
    public final /* synthetic */ C4826Bpm LIZ;

    static {
        Covode.recordClassIndex(69038);
    }

    public final void onAnimationRepeat(Animation animation) {
    }

    public OrderSummaryPanel$3(C4826Bpm bpm) {
        this.LIZ = bpm;
    }

    public final void onAnimationEnd(Animation animation) {
        this.LIZ.setVisibility(8);
        this.LIZ.setClickable(false);
        View view = this.LIZ.LIZ;
        if (view != null) {
            view.setVisibility(8);
        }
        View view2 = this.LIZ.LIZIZ;
        if (view2 != null) {
            view2.setVisibility(8);
        }
    }

    public final void onAnimationStart(Animation animation) {
        ViewPropertyAnimator animate;
        ViewPropertyAnimator duration;
        ViewPropertyAnimator animate2;
        ViewPropertyAnimator duration2;
        View view = this.LIZ.LIZ;
        if (!(view == null || (animate2 = view.animate()) == null || (duration2 = animate2.setDuration(300)) == null)) {
            duration2.alpha(0.0f);
        }
        View view2 = this.LIZ.LIZIZ;
        if (view2 != null && (animate = view2.animate()) != null && (duration = animate.setDuration(300)) != null) {
            duration.alpha(0.0f);
        }
    }
}
