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.e, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1155e extends AnimatorListenerAdapter {

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

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

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

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

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

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

    public C1155e(C1159i c1159i, Z z6, int i6, View view, int i7, ViewPropertyAnimator viewPropertyAnimator) {
        this.f13051f = c1159i;
        this.f13046a = z6;
        this.f13047b = i6;
        this.f13048c = view;
        this.f13049d = i7;
        this.f13050e = viewPropertyAnimator;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationCancel(Animator animator) {
        int i6 = this.f13047b;
        View view = this.f13048c;
        if (i6 != 0) {
            view.setTranslationX(0.0f);
        }
        if (this.f13049d != 0) {
            view.setTranslationY(0.0f);
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        this.f13050e.setListener(null);
        C1159i c1159i = this.f13051f;
        Z z6 = this.f13046a;
        c1159i.c(z6);
        c1159i.f13101p.remove(z6);
        c1159i.i();
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationStart(Animator animator) {
        this.f13051f.getClass();
    }
}
