package androidx.recyclerview.widget;

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

/* JADX INFO: loaded from: classes.dex */
public final class f0 extends k0 {

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

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final /* synthetic */ j2 f3698o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final /* synthetic */ n0 f3699p;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public f0(n0 n0Var, j2 j2Var, int i10, int i11, float f10, float f11, float f12, float f13, int i12, j2 j2Var2) {
        super(j2Var, i11, f10, f11, f12, f13);
        this.f3699p = n0Var;
        this.f3697n = i12;
        this.f3698o = j2Var2;
    }

    @Override // androidx.recyclerview.widget.k0, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        super.onAnimationEnd(animator);
        if (this.f3758k) {
            return;
        }
        int i10 = this.f3697n;
        j2 j2Var = this.f3698o;
        n0 n0Var = this.f3699p;
        if (i10 <= 0) {
            n0Var.f3802m.getClass();
            h0.a(j2Var);
        } else {
            n0Var.f3790a.add(j2Var.itemView);
            this.f3755h = true;
            if (i10 > 0) {
                n0Var.f3807r.post(new g0(n0Var, this, i10));
            }
        }
        View view = n0Var.f3812w;
        View view2 = j2Var.itemView;
        if (view == view2) {
            n0Var.n(view2);
        }
    }
}
