package androidx.fragment.app;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import p0.AbstractC0928a;
import r4.AbstractC0983h;

/* JADX INFO: renamed from: androidx.fragment.app.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0276h extends AnimatorListenerAdapter {

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

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

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

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

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

    public C0276h(ViewGroup viewGroup, View view, boolean z5, E0 e02, C0277i c0277i) {
        this.f4258a = viewGroup;
        this.f4259b = view;
        this.f4260c = z5;
        this.f4261d = e02;
        this.f4262e = c0277i;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        AbstractC0983h.e("anim", animator);
        ViewGroup viewGroup = this.f4258a;
        View view = this.f4259b;
        viewGroup.endViewTransition(view);
        boolean z5 = this.f4260c;
        E0 e02 = this.f4261d;
        if (z5) {
            int i = e02.f4148a;
            AbstractC0983h.d("viewToAnimate", view);
            AbstractC0928a.a(i, view, viewGroup);
        }
        C0277i c0277i = this.f4262e;
        c0277i.f4298c.f4309a.c(c0277i);
        if (h0.J(2)) {
            Log.v("FragmentManager", "Animator from operation " + e02 + " has ended.");
        }
    }
}
