package android.support.design.widget;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.support.design.widget.h.c;

class h$1 extends AnimatorListenerAdapter {
    private boolean mCancelled;
    final /* synthetic */ boolean qF = false;
    final /* synthetic */ c qG;
    final /* synthetic */ h qH;

    h$1(h hVar, c cVar) {
        this.qH = hVar;
        this.qG = cVar;
    }

    public final void onAnimationStart(Animator animator) {
        this.qH.qC.j(0, this.qF);
        this.mCancelled = false;
    }

    public final void onAnimationCancel(Animator animator) {
        this.mCancelled = true;
    }

    public final void onAnimationEnd(Animator animator) {
        this.qH.qs = 0;
        if (!this.mCancelled) {
            this.qH.qC.j(this.qF ? 8 : 4, this.qF);
        }
    }
}
