package androidx.fragment.app;

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

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

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

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

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

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

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

    public C1056m(C1058o c1058o, View view, boolean z6, D0 d02, C1053j c1053j) {
        this.f11654a = c1058o;
        this.f11655b = view;
        this.f11656c = z6;
        this.f11657d = d02;
        this.f11658e = c1053j;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator anim) {
        kotlin.jvm.internal.o.h(anim, "anim");
        ViewGroup viewGroup = this.f11654a.f11677a;
        View viewToAnimate = this.f11655b;
        viewGroup.endViewTransition(viewToAnimate);
        D0 d02 = this.f11657d;
        if (this.f11656c) {
            int i6 = d02.f11510a;
            kotlin.jvm.internal.o.g(viewToAnimate, "viewToAnimate");
            Z0.o.a(i6, viewToAnimate);
        }
        this.f11658e.a();
        if (AbstractC1050g0.H(2)) {
            Log.v("FragmentManager", "Animator from operation " + d02 + " has ended.");
        }
    }
}
