package h0;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import d5.AbstractC0844a;

/* JADX INFO: renamed from: h0.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1008h extends AnimatorListenerAdapter {

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

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

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

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

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

    public C1008h(ViewGroup viewGroup, View view, boolean z8, b0 b0Var, C1009i c1009i) {
        this.f13204a = viewGroup;
        this.f13205b = view;
        this.f13206c = z8;
        this.f13207d = b0Var;
        this.f13208e = c1009i;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        P6.g.e(animator, "anim");
        ViewGroup viewGroup = this.f13204a;
        View view = this.f13205b;
        viewGroup.endViewTransition(view);
        boolean z8 = this.f13206c;
        b0 b0Var = this.f13207d;
        if (z8) {
            int i = b0Var.f13179a;
            P6.g.d(view, "viewToAnimate");
            AbstractC0844a.d(i, view, viewGroup);
        }
        C1009i c1009i = this.f13208e;
        ((b0) c1009i.f13209c.f5146q).c(c1009i);
        if (P.L(2)) {
            Log.v("FragmentManager", "Animator from operation " + b0Var + " has ended.");
        }
    }
}
