package o;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.View;
import android.view.ViewPropertyAnimator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.hq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1424hq extends AnimatorListenerAdapter {
    public final /* synthetic */ int a = 1;
    public final /* synthetic */ AbstractC2488t10 b;
    public final /* synthetic */ View c;
    public final /* synthetic */ ViewPropertyAnimator d;
    public final /* synthetic */ C1899mq e;

    public C1424hq(C1899mq c1899mq, AbstractC2488t10 abstractC2488t10, ViewPropertyAnimator viewPropertyAnimator, View view) {
        this.e = c1899mq;
        this.b = abstractC2488t10;
        this.d = viewPropertyAnimator;
        this.c = view;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public void onAnimationCancel(Animator animator) {
        switch (this.a) {
            case 1:
                this.c.setAlpha(1.0f);
                break;
            default:
                super.onAnimationCancel(animator);
                break;
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        switch (this.a) {
            case 0:
                this.d.setListener(null);
                this.c.setAlpha(1.0f);
                C1899mq c1899mq = this.e;
                AbstractC2488t10 abstractC2488t10 = this.b;
                c1899mq.c(abstractC2488t10);
                c1899mq.q.remove(abstractC2488t10);
                c1899mq.i();
                break;
            default:
                this.d.setListener(null);
                C1899mq c1899mq2 = this.e;
                AbstractC2488t10 abstractC2488t102 = this.b;
                c1899mq2.c(abstractC2488t102);
                c1899mq2.f640o.remove(abstractC2488t102);
                c1899mq2.i();
                break;
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        switch (this.a) {
            case 0:
                this.e.getClass();
                break;
            default:
                this.e.getClass();
                break;
        }
    }

    public C1424hq(C1899mq c1899mq, AbstractC2488t10 abstractC2488t10, View view, ViewPropertyAnimator viewPropertyAnimator) {
        this.e = c1899mq;
        this.b = abstractC2488t10;
        this.c = view;
        this.d = viewPropertyAnimator;
    }
}
