package androidx.fragment.app;

import android.view.View;
import java.util.ArrayList;

/* JADX INFO: renamed from: androidx.fragment.app.e, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class RunnableC1045e implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f11578a = 1;

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

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

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

    public /* synthetic */ RunnableC1045e(C1058o c1058o, View view, C1053j c1053j) {
        this.f11579b = c1058o;
        this.f11580c = view;
        this.f11581d = c1053j;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f11578a) {
            case 0:
                ArrayList arrayList = (ArrayList) this.f11580c;
                D0 d02 = (D0) this.f11581d;
                kotlin.jvm.internal.o.h(this.f11579b, "this$0");
                if (arrayList.contains(d02)) {
                    arrayList.remove(d02);
                    View view = d02.f11512c.mView;
                    int i6 = d02.f11510a;
                    kotlin.jvm.internal.o.g(view, "view");
                    Z0.o.a(i6, view);
                }
                break;
            default:
                C1058o this$0 = this.f11579b;
                kotlin.jvm.internal.o.h(this$0, "this$0");
                C1053j animationInfo = (C1053j) this.f11581d;
                kotlin.jvm.internal.o.h(animationInfo, "$animationInfo");
                this$0.f11677a.endViewTransition((View) this.f11580c);
                animationInfo.a();
                break;
        }
    }

    public /* synthetic */ RunnableC1045e(ArrayList arrayList, D0 d02, C1058o c1058o) {
        this.f11580c = arrayList;
        this.f11581d = d02;
        this.f11579b = c1058o;
    }
}
