package androidx.fragment.app;

import android.content.Context;
import android.content.res.Configuration;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import androidx.lifecycle.InterfaceC0423h0;
import p020g0.C0737f;

/* renamed from: androidx.fragment.app.h */
/* loaded from: classes.dex */
public class C0313h {

    /* renamed from: a */
    public final AbstractC0317j<?> f1325a;

    public C0313h(AbstractC0317j<?> abstractC0317j) {
        this.f1325a = abstractC0317j;
    }

    /* renamed from: b */
    public static C0313h m4106b(AbstractC0317j<?> abstractC0317j) {
        return new C0313h((AbstractC0317j) C0737f.m3032g(abstractC0317j, "callbacks == null"));
    }

    /* renamed from: a */
    public void m4107a(Fragment fragment) {
        AbstractC0317j<?> abstractC0317j = this.f1325a;
        abstractC0317j.f1331h.m3976i(abstractC0317j, abstractC0317j, fragment);
    }

    /* renamed from: c */
    public void m4105c() {
        this.f1325a.f1331h.m3948w();
    }

    /* renamed from: d */
    public void m4104d(Configuration configuration) {
        this.f1325a.f1331h.m3944y(configuration);
    }

    /* renamed from: e */
    public boolean m4103e(MenuItem menuItem) {
        return this.f1325a.f1331h.m3942z(menuItem);
    }

    /* renamed from: f */
    public void m4102f() {
        this.f1325a.f1331h.m4052A();
    }

    /* renamed from: g */
    public boolean m4101g(Menu menu, MenuInflater menuInflater) {
        return this.f1325a.f1331h.m4050B(menu, menuInflater);
    }

    /* renamed from: h */
    public void m4100h() {
        this.f1325a.f1331h.m4048C();
    }

    /* renamed from: i */
    public void m4099i() {
        this.f1325a.f1331h.m4044E();
    }

    /* renamed from: j */
    public void m4098j(boolean z) {
        this.f1325a.f1331h.m4042F(z);
    }

    /* renamed from: k */
    public boolean m4097k(MenuItem menuItem) {
        return this.f1325a.f1331h.m4038H(menuItem);
    }

    /* renamed from: l */
    public void m4096l(Menu menu) {
        this.f1325a.f1331h.m4036I(menu);
    }

    /* renamed from: m */
    public void m4095m() {
        this.f1325a.f1331h.m4032K();
    }

    /* renamed from: n */
    public void m4094n(boolean z) {
        this.f1325a.f1331h.m4030L(z);
    }

    /* renamed from: o */
    public boolean m4093o(Menu menu) {
        return this.f1325a.f1331h.m4028M(menu);
    }

    /* renamed from: p */
    public void m4092p() {
        this.f1325a.f1331h.m4024O();
    }

    /* renamed from: q */
    public void m4091q() {
        this.f1325a.f1331h.m4022P();
    }

    /* renamed from: r */
    public void m4090r() {
        this.f1325a.f1331h.m4018R();
    }

    /* renamed from: s */
    public boolean m4089s() {
        return this.f1325a.f1331h.m4006X(true);
    }

    /* renamed from: t */
    public AbstractC0330m m4088t() {
        return this.f1325a.f1331h;
    }

    /* renamed from: u */
    public void m4087u() {
        this.f1325a.f1331h.m4027M0();
    }

    /* renamed from: v */
    public View m4086v(View view, String str, Context context, AttributeSet attributeSet) {
        return this.f1325a.f1331h.m3959q0().onCreateView(view, str, context, attributeSet);
    }

    /* renamed from: w */
    public void m4085w(Parcelable parcelable) {
        AbstractC0317j<?> abstractC0317j = this.f1325a;
        if (!(abstractC0317j instanceof InterfaceC0423h0)) {
            throw new IllegalStateException("Your FragmentHostCallback must implement ViewModelStoreOwner to call restoreSaveState(). Call restoreAllState()  if you're still using retainNestedNonConfig().");
        }
        abstractC0317j.f1331h.m4005X0(parcelable);
    }

    /* renamed from: x */
    public Parcelable m4084x() {
        return this.f1325a.f1331h.m4001Z0();
    }
}