package com.bytedance.ies.bullet.service.popup.anim;

import android.animation.Animator;
import com.bytedance.covode.number.Covode;

public class BottomSheetBehavior$2 implements Animator.AnimatorListener {
    public final /* synthetic */ int LIZ;
    public final /* synthetic */ BottomSheetBehavior LIZIZ;

    static {
        Covode.recordClassIndex(28894);
    }

    public final void onAnimationCancel(Animator animator) {
    }

    public final void onAnimationRepeat(Animator animator) {
    }

    public final void onAnimationStart(Animator animator) {
    }

    public final void onAnimationEnd(Animator animator) {
        this.LIZIZ.LJIIZILJ = null;
        int i = this.LIZ;
        if (i == 0) {
            this.LIZIZ.LIZJ(5);
            this.LIZIZ.LJIILJJIL = false;
        } else if (i == this.LIZIZ.LIZ) {
            this.LIZIZ.LIZJ(4);
            if (this.LIZIZ.LJIIIZ != null && !this.LIZIZ.LJIJ) {
                if (this.LIZIZ.LIZ == this.LIZIZ.LJIILIIL) {
                    this.LIZIZ.LJIIIZ.onEvent("enterFullScreen");
                } else {
                    this.LIZIZ.LJIIIZ.onEvent("enterHalfScreen");
                }
                this.LIZIZ.LJIJ = true;
            }
        } else {
            if (this.LIZ == this.LIZIZ.LJIILIIL && !this.LIZIZ.LJIILLIIL) {
                BottomSheetBehavior bottomSheetBehavior = this.LIZIZ;
                bottomSheetBehavior.LIZ = bottomSheetBehavior.LJIILIIL;
            }
            if (this.LIZIZ.LJIIIZ != null && !this.LIZIZ.LJIJ) {
                this.LIZIZ.LJIIIZ.onEvent("enterFullScreen");
                this.LIZIZ.LJIJ = true;
            }
        }
    }

    public BottomSheetBehavior$2(BottomSheetBehavior bottomSheetBehavior, int i) {
        this.LIZIZ = bottomSheetBehavior;
        this.LIZ = i;
    }
}
