package androidx.recyclerview.widget;

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

/* JADX INFO: renamed from: androidx.recyclerview.widget.f, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1156f extends AnimatorListenerAdapter {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f13056a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ C1157g f13057b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ ViewPropertyAnimator f13058c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ View f13059d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ C1159i f13060e;

    public /* synthetic */ C1156f(C1159i c1159i, C1157g c1157g, ViewPropertyAnimator viewPropertyAnimator, View view, int i6) {
        this.f13056a = i6;
        this.f13060e = c1159i;
        this.f13057b = c1157g;
        this.f13058c = viewPropertyAnimator;
        this.f13059d = view;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        switch (this.f13056a) {
            case 0:
                this.f13058c.setListener(null);
                View view = this.f13059d;
                view.setAlpha(1.0f);
                view.setTranslationX(0.0f);
                view.setTranslationY(0.0f);
                C1157g c1157g = this.f13057b;
                Z z6 = c1157g.f13070a;
                C1159i c1159i = this.f13060e;
                c1159i.c(z6);
                c1159i.f13103r.remove(c1157g.f13070a);
                c1159i.i();
                break;
            default:
                this.f13058c.setListener(null);
                View view2 = this.f13059d;
                view2.setAlpha(1.0f);
                view2.setTranslationX(0.0f);
                view2.setTranslationY(0.0f);
                C1157g c1157g2 = this.f13057b;
                Z z7 = c1157g2.f13071b;
                C1159i c1159i2 = this.f13060e;
                c1159i2.c(z7);
                c1159i2.f13103r.remove(c1157g2.f13071b);
                c1159i2.i();
                break;
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        switch (this.f13056a) {
            case 0:
                Z z6 = this.f13057b.f13070a;
                this.f13060e.getClass();
                break;
            default:
                Z z7 = this.f13057b.f13071b;
                this.f13060e.getClass();
                break;
        }
    }
}
