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 java.util.Objects;

/* JADX INFO: loaded from: classes.dex */
public final class h extends AnimatorListenerAdapter {

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

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

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

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

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

    public h(ViewGroup viewGroup, View view, boolean z10, f2 f2Var, i iVar) {
        this.f2465a = viewGroup;
        this.f2466b = view;
        this.f2467c = z10;
        this.f2468d = f2Var;
        this.f2469e = iVar;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        nb.g.i(animator, "anim");
        ViewGroup viewGroup = this.f2465a;
        View view = this.f2466b;
        viewGroup.endViewTransition(view);
        boolean z10 = this.f2467c;
        f2 f2Var = this.f2468d;
        if (z10) {
            SpecialEffectsController$Operation$State specialEffectsController$Operation$State = f2Var.f2440a;
            nb.g.h(view, "viewToAnimate");
            specialEffectsController$Operation$State.a(view, viewGroup);
        }
        i iVar = this.f2469e;
        ((f2) iVar.f2476c.f31277a).c(iVar);
        if (Log.isLoggable("FragmentManager", 2)) {
            Objects.toString(f2Var);
        }
    }
}
