package com.bytedance.android.livesdk.chatroom.ui.landscape;

import X.0CB;
import X.0CH;
import X.0hf;
import X.6Is;
import X.C2271GYu;
import X.C4003H3k;
import X.C4038H4t;
import X.C4049H5e;
import X.C4051H5g;
import X.GCN;
import X.GXG;
import X.H4J;
import X.H4O;
import X.H4Q;
import X.H5I;
import android.content.Context;
import android.view.ViewGroup;
import com.bytedance.android.livesdk.BaseLayeredElementManager;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.sdk.datachannel.DataChannel;
import com.bytedance.ies.sdk.widgets.LayeredElementContext;

public class LandscapeLayeredElementManager extends BaseLayeredElementManager<H4Q> implements 6Is {
    static {
        Covode.recordClassIndex(14296);
    }

    public void onStateChanged(0CH r1, 0CB r2) {
        super.onStateChanged(r1, r2);
    }

    public /* synthetic */ LayeredElementContext onCreateLayeredElementContext(Context context, ViewGroup viewGroup, DataChannel dataChannel) {
        return new H4Q(context, viewGroup, dataChannel, this);
    }

    public LandscapeLayeredElementManager(Context context, 0CH r11, C4049H5e h5e, DataChannel dataChannel) {
        super(context, r11, h5e, dataChannel);
        registerGroups(new H4J((H4Q) getLayeredElementContext()));
        registerLayer(new H5I((H4Q) getLayeredElementContext()));
        registerLayer(new H4O((H4Q) getLayeredElementContext()));
        registerLayer(new C4003H3k((H4Q) getLayeredElementContext()));
        registerLayer(new C4038H4t(getLayeredElementContext()));
        C4051H5g.fixReferencedIds(h5e, 2131367896, 0hf.LJIIL, GXG.LJ, GCN.LJ, GCN.LIZIZ, GCN.LIZJ, GCN.LIZLLL);
        C4051H5g.fixReferencedIds(h5e, 2131364678, 2131364681, GXG.LJFF, GXG.LJI, GXG.LJIILL, C2271GYu.LJIIIZ, GXG.LJIIJ);
        finishRegistration();
    }
}
