package o;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.View;
import android.view.ViewGroup;
import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.yq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C3038yq extends AnimatorListenerAdapter {
    public final /* synthetic */ ViewGroup a;
    public final /* synthetic */ View b;
    public final /* synthetic */ boolean c;
    public final /* synthetic */ androidx.fragment.app.x d;
    public final /* synthetic */ androidx.fragment.app.d e;

    public C3038yq(ViewGroup viewGroup, View view, boolean z, androidx.fragment.app.x xVar, androidx.fragment.app.d dVar) {
        this.a = viewGroup;
        this.b = view;
        this.c = z;
        this.d = xVar;
        this.e = dVar;
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public final void onAnimationEnd(Animator animator) {
        ViewGroup viewGroup = this.a;
        View view = this.b;
        viewGroup.endViewTransition(view);
        boolean z = this.c;
        androidx.fragment.app.x xVar = this.d;
        if (z) {
            AbstractC0126Ew.a(view, xVar.a);
        }
        this.e.a();
        if (androidx.fragment.app.s.F(2)) {
            Objects.toString(xVar);
        }
    }
}
