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.jq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1614jq extends AnimatorListenerAdapter {
    public final /* synthetic */ int a;
    public final /* synthetic */ C1709kq b;
    public final /* synthetic */ ViewPropertyAnimator c;
    public final /* synthetic */ View d;
    public final /* synthetic */ C1899mq e;

    public /* synthetic */ C1614jq(C1899mq c1899mq, C1709kq c1709kq, ViewPropertyAnimator viewPropertyAnimator, View view, int i) {
        this.a = i;
        this.e = c1899mq;
        this.b = c1709kq;
        this.c = viewPropertyAnimator;
        this.d = view;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        switch (this.a) {
            case 0:
                this.c.setListener(null);
                View view = this.d;
                view.setAlpha(1.0f);
                view.setTranslationX(0.0f);
                view.setTranslationY(0.0f);
                C1709kq c1709kq = this.b;
                AbstractC2488t10 abstractC2488t10 = c1709kq.a;
                C1899mq c1899mq = this.e;
                c1899mq.c(abstractC2488t10);
                c1899mq.r.remove(c1709kq.a);
                c1899mq.i();
                break;
            default:
                this.c.setListener(null);
                View view2 = this.d;
                view2.setAlpha(1.0f);
                view2.setTranslationX(0.0f);
                view2.setTranslationY(0.0f);
                C1709kq c1709kq2 = this.b;
                AbstractC2488t10 abstractC2488t102 = c1709kq2.b;
                C1899mq c1899mq2 = this.e;
                c1899mq2.c(abstractC2488t102);
                c1899mq2.r.remove(c1709kq2.b);
                c1899mq2.i();
                break;
        }
    }

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