package o;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Gx, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0179Gx extends AnimatorListenerAdapter {
    public boolean a = false;
    public final /* synthetic */ C0205Hx b;

    public C0179Gx(C0205Hx c0205Hx) {
        this.b = c0205Hx;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationCancel(Animator animator) {
        this.a = true;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        if (this.a) {
            this.a = false;
            return;
        }
        C0205Hx c0205Hx = this.b;
        if (((Float) c0205Hx.z.getAnimatedValue()).floatValue() == 0.0f) {
            c0205Hx.A = 0;
            c0205Hx.f(0);
        } else {
            c0205Hx.A = 2;
            c0205Hx.s.invalidate();
        }
    }
}
