package p037.p091.p092;

import android.R;
import android.animation.AnimatorSet;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.text.TextUtils;
import android.transition.Fade;
import android.util.Log;
import android.util.Pair;
import android.util.TypedValue;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import androidx.leanback.app.GuidedStepRootLayout;
import androidx.leanback.transition.FadeAndShortSlide;
import androidx.leanback.widget.NonOverlappingLinearLayout;
import androidx.leanback.widget.VerticalGridView;
import java.util.ArrayList;
import java.util.List;
import p037.p041.p042.LayoutInflaterFactory2C1494;
import p037.p089.p090.AbstractC2014;
import p037.p089.p090.ActivityC1999;
import p037.p089.p090.C1988;
import p037.p091.C2072;
import p037.p091.C2077;
import p037.p091.C2079;
import p037.p091.p095.C2136;
import p037.p091.p095.C2138;
import p037.p091.p095.C2141;
import p037.p091.p095.C2151;
import p037.p091.p095.C2155;
import p037.p091.p095.C2163;
import p037.p091.p095.C2164;
import p138.p139.p143.p144.C2803;

/* JADX INFO: renamed from: މ.މ.ފ.֏, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C2084 extends Fragment implements C2141.InterfaceC2150 {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public ContextThemeWrapper f6808;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public C2136 f6809;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public C2155 f6810;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public C2155 f6811;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public C2141 f6812;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public C2141 f6813;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public C2141 f6814;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public C2151 f6815;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public List<C2138> f6816 = new ArrayList();

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public List<C2138> f6817 = new ArrayList();

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public int f6818 = 0;

    /* JADX INFO: renamed from: މ.މ.ފ.֏$֏, reason: contains not printable characters */
    public class C2085 implements C2141.InterfaceC2149 {
        public C2085() {
        }
    }

    /* JADX INFO: renamed from: މ.މ.ފ.֏$ؠ, reason: contains not printable characters */
    public class C2086 implements C2141.InterfaceC2148 {
        public C2086() {
        }

        @Override // p037.p091.p095.C2141.InterfaceC2148
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo4066(C2138 c2138) {
            int iIndexOf;
            C2084.this.mo2033(c2138);
            if (C2084.this.f6810.f7039 != null) {
                C2155 c2155 = C2084.this.f6810;
                if (c2155 == null || c2155.f7022 == null) {
                    return;
                }
                c2155.m4216(true);
                return;
            }
            if (c2138.m4176() || c2138.m4174()) {
                C2155 c21552 = C2084.this.f6810;
                if (c21552.m4217() || c21552.f7039 != null || (iIndexOf = ((C2141) c21552.f7022.getAdapter()).f7000.indexOf(c2138)) < 0) {
                    return;
                }
                c21552.f7022.m4076(iIndexOf, new C2164(c21552));
            }
        }
    }

    /* JADX INFO: renamed from: މ.މ.ފ.֏$ހ, reason: contains not printable characters */
    public class C2087 implements C2141.InterfaceC2148 {
        public C2087() {
        }

        @Override // p037.p091.p095.C2141.InterfaceC2148
        /* JADX INFO: renamed from: ֏ */
        public void mo4066(C2138 c2138) {
            C2084.this.mo2033(c2138);
        }
    }

    /* JADX INFO: renamed from: މ.މ.ފ.֏$ށ, reason: contains not printable characters */
    public class C2088 implements C2141.InterfaceC2148 {
        public C2088() {
        }

        @Override // p037.p091.p095.C2141.InterfaceC2148
        /* JADX INFO: renamed from: ֏ */
        public void mo4066(C2138 c2138) {
            if (C2084.this.f6810.m4217()) {
                return;
            }
            C2084 c2084 = C2084.this;
            if (c2084 == null) {
                throw null;
            }
            C2155 c2155 = c2084.f6810;
            if (c2155 == null || c2155.f7022 == null) {
                return;
            }
            c2155.m4216(true);
        }
    }

    public C2084() {
        m4065();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static int m4052(ActivityC1999 activityC1999, C2084 c2084, int i) {
        activityC1999.getWindow().getDecorView();
        AbstractC2014 supportFragmentManager = activityC1999.getSupportFragmentManager();
        if (supportFragmentManager.m3925("leanBackGuidedStepSupportFragment") != null) {
            Log.w("GuidedStepF", "Fragment is already exists, likely calling addAsRoot() when savedInstanceState is not null in Activity.onCreate().");
            return -1;
        }
        C1988 c1988 = new C1988(supportFragmentManager);
        c2084.m4060(2);
        c1988.m4005(i, c2084, "leanBackGuidedStepSupportFragment");
        return c1988.mo3861();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static int m4053(AbstractC2014 abstractC2014, C2084 c2084) {
        Fragment fragmentM3925 = abstractC2014.m3925("leanBackGuidedStepSupportFragment");
        C2084 c20842 = fragmentM3925 instanceof C2084 ? (C2084) fragmentM3925 : null;
        int i = c20842 != null ? 1 : 0;
        C1988 c1988 = new C1988(abstractC2014);
        c2084.m4060(i ^ 1);
        int iM4064 = c2084.m4064();
        Class<?> cls = c2084.getClass();
        c1988.m4006(iM4064 != 0 ? iM4064 != 1 ? "" : C2803.m4868(cls, C2803.m4889("GuidedStepEntrance")) : C2803.m4868(cls, C2803.m4889("GuidedStepDefault")));
        if (c20842 != null) {
            View view = c20842.mView;
            view.findViewById(C2077.action_fragment_root);
            view.findViewById(C2077.action_fragment_background);
            view.findViewById(C2077.action_fragment);
            view.findViewById(C2077.guidedactions_root);
            view.findViewById(C2077.guidedactions_content);
            view.findViewById(C2077.guidedactions_list_background);
            view.findViewById(C2077.guidedactions_root2);
            view.findViewById(C2077.guidedactions_content2);
            view.findViewById(C2077.guidedactions_list_background2);
        }
        c1988.m4005(R.id.content, c2084, "leanBackGuidedStepSupportFragment");
        return c1988.mo3861();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static boolean m4054(Context context) {
        int i = C2072.guidedStepThemeFlag;
        TypedValue typedValue = new TypedValue();
        return context.getTheme().resolveAttribute(i, typedValue, true) && typedValue.type == 18 && typedValue.data != 0;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public static boolean m4055(C2138 c2138) {
        return ((c2138.f6972 & 64) == 64) && c2138.f6867 != -1;
    }

    @Override // androidx.fragment.app.Fragment
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        this.f6809 = new C2136();
        this.f6810 = mo2036();
        C2155 c2155 = new C2155();
        if (c2155.f7021 != null) {
            throw new IllegalStateException("setAsButtonActions() must be called before creating views");
        }
        c2155.f7026 = true;
        this.f6811 = c2155;
        m4065();
        ArrayList arrayList = new ArrayList();
        mo2074(arrayList, bundle);
        if (bundle != null) {
            int size = arrayList.size();
            for (int i = 0; i < size; i++) {
                C2138 c2138 = (C2138) arrayList.get(i);
                if (m4055(c2138)) {
                    StringBuilder sbM4889 = C2803.m4889("action_");
                    sbM4889.append(c2138.f6867);
                    c2138.mo4172(bundle, sbM4889.toString());
                }
            }
        }
        this.f6816 = arrayList;
        C2141 c2141 = this.f6812;
        if (c2141 != null) {
            c2141.m4195(arrayList);
        }
        ArrayList arrayList2 = new ArrayList();
        mo2065(arrayList2, bundle);
        if (bundle != null) {
            int size2 = arrayList2.size();
            for (int i2 = 0; i2 < size2; i2++) {
                C2138 c21382 = (C2138) arrayList2.get(i2);
                if (m4055(c21382)) {
                    StringBuilder sbM48892 = C2803.m4889("buttonaction_");
                    sbM48892.append(c21382.f6867);
                    c21382.mo4172(bundle, sbM48892.toString());
                }
            }
        }
        this.f6817 = arrayList2;
        C2141 c21412 = this.f6814;
        if (c21412 != null) {
            c21412.m4195(arrayList2);
        }
    }

    /* JADX WARN: Type inference fix 'apply assigned field type' failed
    java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$UnknownArg
    	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
    	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
    	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
     */
    @Override // androidx.fragment.app.Fragment
    public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        Context context = getContext();
        if (!m4054(context)) {
            int i = C2072.guidedStepTheme;
            TypedValue typedValue = new TypedValue();
            boolean zResolveAttribute = context.getTheme().resolveAttribute(i, typedValue, true);
            if (zResolveAttribute) {
                ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(context, typedValue.resourceId);
                if (m4054(contextThemeWrapper)) {
                    this.f6808 = contextThemeWrapper;
                } else {
                    this.f6808 = null;
                    zResolveAttribute = false;
                }
            }
            if (!zResolveAttribute) {
                Log.e("GuidedStepF", "GuidedStepSupportFragment does not have an appropriate theme set.");
            }
        }
        ContextThemeWrapper contextThemeWrapper2 = this.f6808;
        LayoutInflater layoutInflaterCloneInContext = contextThemeWrapper2 == null ? layoutInflater : layoutInflater.cloneInContext(contextThemeWrapper2);
        GuidedStepRootLayout guidedStepRootLayout = (GuidedStepRootLayout) layoutInflaterCloneInContext.inflate(C2079.lb_guidedstep_fragment, viewGroup, false);
        guidedStepRootLayout.f660 = false;
        guidedStepRootLayout.f661 = false;
        ViewGroup viewGroup2 = (ViewGroup) guidedStepRootLayout.findViewById(C2077.content_fragment);
        ViewGroup viewGroup3 = (ViewGroup) guidedStepRootLayout.findViewById(C2077.action_fragment);
        ((NonOverlappingLinearLayout) viewGroup3).setFocusableViewAvailableFixEnabled(true);
        C2136.C2137 c2137Mo2061 = mo2061(bundle);
        C2136 c2136 = this.f6809;
        if (c2136 == null) {
            throw null;
        }
        View viewInflate = layoutInflaterCloneInContext.inflate(C2079.lb_guidance, viewGroup2, false);
        c2136.f6963 = (TextView) viewInflate.findViewById(C2077.guidance_title);
        c2136.f6965 = (TextView) viewInflate.findViewById(C2077.guidance_breadcrumb);
        c2136.f6964 = (TextView) viewInflate.findViewById(C2077.guidance_description);
        c2136.f6966 = (ImageView) viewInflate.findViewById(C2077.guidance_icon);
        c2136.f6967 = viewInflate.findViewById(C2077.guidance_container);
        TextView textView = c2136.f6963;
        if (textView != null) {
            textView.setText(c2137Mo2061.f6968);
        }
        TextView textView2 = c2136.f6965;
        if (textView2 != null) {
            textView2.setText(c2137Mo2061.f6970);
        }
        TextView textView3 = c2136.f6964;
        if (textView3 != null) {
            textView3.setText(c2137Mo2061.f6969);
        }
        ImageView imageView = c2136.f6966;
        if (imageView != null) {
            Drawable drawable = c2137Mo2061.f6971;
            if (drawable != null) {
                imageView.setImageDrawable(drawable);
            } else {
                imageView.setVisibility(8);
            }
        }
        View view = c2136.f6967;
        if (view != null && TextUtils.isEmpty(view.getContentDescription())) {
            StringBuilder sb = new StringBuilder();
            if (!TextUtils.isEmpty(c2137Mo2061.f6970)) {
                sb.append(c2137Mo2061.f6970);
                sb.append('\n');
            }
            if (!TextUtils.isEmpty(c2137Mo2061.f6968)) {
                sb.append(c2137Mo2061.f6968);
                sb.append('\n');
            }
            if (!TextUtils.isEmpty(c2137Mo2061.f6969)) {
                sb.append(c2137Mo2061.f6969);
                sb.append('\n');
            }
            c2136.f6967.setContentDescription(sb);
        }
        viewGroup2.addView(viewInflate);
        viewGroup3.addView(this.f6810.m4211(layoutInflaterCloneInContext, viewGroup3));
        View viewM4211 = this.f6811.m4211(layoutInflaterCloneInContext, viewGroup3);
        viewGroup3.addView(viewM4211);
        C2085 c2085 = new C2085();
        this.f6812 = new C2141(this.f6816, new C2086(), this, this.f6810, false);
        this.f6814 = new C2141(this.f6817, new C2087(), this, this.f6811, false);
        this.f6813 = new C2141(null, new C2088(), this, this.f6810, true);
        C2151 c2151 = new C2151();
        this.f6815 = c2151;
        C2141 c2141 = this.f6812;
        C2141 c21412 = this.f6814;
        c2151.f7016.add(new Pair<>(c2141, c21412));
        if (c2141 != null) {
            c2141.f7003 = c2151;
        }
        if (c21412 != null) {
            c21412.f7003 = c2151;
        }
        C2151 c21512 = this.f6815;
        C2141 c21413 = this.f6813;
        c21512.f7016.add(new Pair<>(c21413, null));
        if (c21413 != null) {
            c21413.f7003 = c21512;
        }
        this.f6815.f7018 = c2085;
        C2155 c2155 = this.f6810;
        c2155.f7038 = c2085;
        c2155.f7022.setAdapter(this.f6812);
        VerticalGridView verticalGridView = this.f6810.f7023;
        if (verticalGridView != null) {
            verticalGridView.setAdapter(this.f6813);
        }
        this.f6811.f7022.setAdapter(this.f6814);
        if (this.f6817.size() == 0) {
            LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) viewM4211.getLayoutParams();
            layoutParams.weight = 0.0f;
            viewM4211.setLayoutParams(layoutParams);
        } else {
            Context context2 = this.f6808;
            if (context2 == null) {
                context2 = getContext();
            }
            TypedValue typedValue2 = new TypedValue();
            if (context2.getTheme().resolveAttribute(C2072.guidedActionContentWidthWeightTwoPanels, typedValue2, true)) {
                View viewFindViewById = guidedStepRootLayout.findViewById(C2077.action_fragment_root);
                float f = typedValue2.getFloat();
                LinearLayout.LayoutParams layoutParams2 = (LinearLayout.LayoutParams) viewFindViewById.getLayoutParams();
                layoutParams2.weight = f;
                viewFindViewById.setLayoutParams(layoutParams2);
            }
        }
        View viewInflate2 = layoutInflaterCloneInContext.inflate(C2079.lb_guidedstep_background, (ViewGroup) guidedStepRootLayout, false);
        if (viewInflate2 != null) {
            ((FrameLayout) guidedStepRootLayout.findViewById(C2077.guidedstep_background_view_root)).addView(viewInflate2, 0);
        }
        return guidedStepRootLayout;
    }

    @Override // androidx.fragment.app.Fragment
    public void onDestroyView() {
        C2136 c2136 = this.f6809;
        c2136.f6965 = null;
        c2136.f6964 = null;
        c2136.f6966 = null;
        c2136.f6963 = null;
        C2155 c2155 = this.f6810;
        c2155.f7039 = null;
        c2155.f7040 = null;
        c2155.f7022 = null;
        c2155.f7023 = null;
        c2155.f7024 = null;
        c2155.f7025 = null;
        c2155.f7021 = null;
        C2155 c21552 = this.f6811;
        c21552.f7039 = null;
        c21552.f7040 = null;
        c21552.f7022 = null;
        c21552.f7023 = null;
        c21552.f7024 = null;
        c21552.f7025 = null;
        c21552.f7021 = null;
        this.f6812 = null;
        this.f6813 = null;
        this.f6814 = null;
        this.f6815 = null;
        this.mCalled = true;
    }

    @Override // androidx.fragment.app.Fragment
    public void onResume() {
        this.mCalled = true;
        this.mView.findViewById(C2077.action_fragment).requestFocus();
    }

    @Override // androidx.fragment.app.Fragment
    public void onSaveInstanceState(Bundle bundle) {
        List<C2138> list = this.f6816;
        int size = list.size();
        for (int i = 0; i < size; i++) {
            C2138 c2138 = list.get(i);
            if (m4055(c2138)) {
                StringBuilder sbM4889 = C2803.m4889("action_");
                sbM4889.append(c2138.f6867);
                c2138.mo4175(bundle, sbM4889.toString());
            }
        }
        List<C2138> list2 = this.f6817;
        int size2 = list2.size();
        for (int i2 = 0; i2 < size2; i2++) {
            C2138 c21382 = list2.get(i2);
            if (m4055(c21382)) {
                StringBuilder sbM48892 = C2803.m4889("buttonaction_");
                sbM48892.append(c21382.f6867);
                c21382.mo4175(bundle, sbM48892.toString());
            }
        }
    }

    /* JADX INFO: renamed from: ֏ */
    public C2136.C2137 mo2061(Bundle bundle) {
        return new C2136.C2137("", "", "", null);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public C2138 m4056(long j) {
        int iM4059 = m4059(j);
        if (iM4059 >= 0) {
            return this.f6816.get(iM4059);
        }
        return null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m4057(int i) {
        C2141 c2141 = this.f6812;
        if (c2141 != null) {
            c2141.f1232.m601(i, 1, null);
        }
    }

    /* JADX INFO: renamed from: ֏ */
    public void mo2074(List<C2138> list, Bundle bundle) {
    }

    @Override // p037.p091.p095.C2141.InterfaceC2150
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo4058(C2138 c2138) {
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public int m4059(long j) {
        if (this.f6816 == null) {
            return -1;
        }
        for (int i = 0; i < this.f6816.size(); i++) {
            if (this.f6816.get(i).f6867 == j) {
                return i;
            }
        }
        return -1;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m4060(int i) {
        int iM4064 = m4064();
        Bundle bundle = this.mArguments;
        boolean z = false;
        if (bundle == null) {
            bundle = new Bundle();
            z = true;
        }
        bundle.putInt("uiStyle", i);
        if (z) {
            setArguments(bundle);
        }
        if (i != iM4064) {
            m4065();
        }
    }

    /* JADX INFO: renamed from: ؠ */
    public void mo2065(List<C2138> list, Bundle bundle) {
    }

    /* JADX INFO: renamed from: ؠ */
    public void mo2033(C2138 c2138) {
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m4061(boolean z) {
        ArrayList arrayList = new ArrayList();
        if (z) {
            if (this.f6809 == null || this.f6810 == null || this.f6811 == null) {
                throw null;
            }
        } else if (this.f6809 == null || this.f6810 == null || this.f6811 == null) {
            throw null;
        }
        AnimatorSet animatorSet = new AnimatorSet();
        animatorSet.playTogether(arrayList);
        animatorSet.start();
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public int m4062(long j) {
        if (this.f6817 == null) {
            return -1;
        }
        for (int i = 0; i < this.f6817.size(); i++) {
            if (this.f6817.get(i).f6867 == j) {
                return i;
            }
        }
        return -1;
    }

    /* JADX INFO: renamed from: ހ */
    public long mo2034(C2138 c2138) {
        return -2L;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public void m4063(C2138 c2138) {
        C2155 c2155 = this.f6810;
        C2141 c2141 = (C2141) c2155.f7022.getAdapter();
        if (c2141 == null) {
            throw null;
        }
        int iIndexOf = new ArrayList(c2141.f7000).indexOf(c2138);
        if (iIndexOf < 0 || !c2138.m4179()) {
            return;
        }
        c2155.f7022.m4076(iIndexOf, new C2163(c2155, c2141));
    }

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public int m4064() {
        Bundle bundle = this.mArguments;
        if (bundle == null) {
            return 1;
        }
        return bundle.getInt("uiStyle", 1);
    }

    /* JADX INFO: renamed from: މ */
    public C2155 mo2036() {
        return new C2155();
    }

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public void m4065() {
        int iM4064 = m4064();
        if (iM4064 == 0) {
            FadeAndShortSlide fadeAndShortSlide = new FadeAndShortSlide(8388613);
            fadeAndShortSlide.excludeTarget(C2077.guidedstep_background, true);
            fadeAndShortSlide.excludeTarget(C2077.guidedactions_sub_list_background, true);
            ensureAnimationInfo().f644 = fadeAndShortSlide;
            Fade fade = new Fade(3);
            fade.addTarget(C2077.guidedactions_sub_list_background);
            Object objM2910 = LayoutInflaterFactory2C1494.C1505.m2910(false);
            Object objM2975 = LayoutInflaterFactory2C1494.C1505.m2975(false);
            LayoutInflaterFactory2C1494.C1505.m2951(objM2975, fade);
            LayoutInflaterFactory2C1494.C1505.m2951(objM2975, objM2910);
            ensureAnimationInfo().f648 = objM2975;
        } else if (iM4064 == 1) {
            if (this.f6818 == 0) {
                Fade fade2 = new Fade(3);
                fade2.addTarget(C2077.guidedstep_background);
                FadeAndShortSlide fadeAndShortSlide2 = new FadeAndShortSlide(8388615);
                fadeAndShortSlide2.addTarget(C2077.content_fragment);
                fadeAndShortSlide2.addTarget(C2077.action_fragment_root);
                Object objM29752 = LayoutInflaterFactory2C1494.C1505.m2975(false);
                LayoutInflaterFactory2C1494.C1505.m2951(objM29752, fade2);
                LayoutInflaterFactory2C1494.C1505.m2951(objM29752, fadeAndShortSlide2);
                ensureAnimationInfo().f644 = objM29752;
            } else {
                FadeAndShortSlide fadeAndShortSlide3 = new FadeAndShortSlide(80);
                fadeAndShortSlide3.addTarget(C2077.guidedstep_background_view_root);
                Object objM29753 = LayoutInflaterFactory2C1494.C1505.m2975(false);
                LayoutInflaterFactory2C1494.C1505.m2951(objM29753, fadeAndShortSlide3);
                ensureAnimationInfo().f644 = objM29753;
            }
            setSharedElementEnterTransition(null);
        } else if (iM4064 == 2) {
            setEnterTransition(null);
            setSharedElementEnterTransition(null);
        }
        FadeAndShortSlide fadeAndShortSlide4 = new FadeAndShortSlide(8388611);
        fadeAndShortSlide4.excludeTarget(C2077.guidedstep_background, true);
        fadeAndShortSlide4.excludeTarget(C2077.guidedactions_sub_list_background, true);
        ensureAnimationInfo().f646 = fadeAndShortSlide4;
    }
}
