예제 #1
0
public void @this(global::com.codename1.ui.layouts.mig.ContainerWrapper n1, global::com.codename1.ui.layouts.mig.LC n2, global::com.codename1.ui.layouts.mig.AC n3, global::com.codename1.ui.layouts.mig.AC n4, global::java.util.Map n5, global::java.util.ArrayList n6){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.layouts.mig.Grid: void <init>(com.codename1.ui.layouts.mig.ContainerWrapper, com.codename1.ui.layouts.mig.LC, com.codename1.ui.layouts.mig.AC, com.codename1.ui.layouts.mig.AC, java.util.Map, java.util.ArrayList)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nElement _r16;
    global::System.Object _r16_o = null;
    global::org.xmlvm._nElement _r17;
    global::System.Object _r17_o = null;
    global::org.xmlvm._nElement _r18;
    global::System.Object _r18_o = null;
    global::org.xmlvm._nElement _r19;
    global::System.Object _r19_o = null;
    global::org.xmlvm._nElement _r20;
    global::System.Object _r20_o = null;
    global::org.xmlvm._nElement _r21;
    global::System.Object _r21_o = null;
    global::org.xmlvm._nElement _r22;
    global::System.Object _r22_o = null;
    global::org.xmlvm._nElement _r23;
    global::System.Object _r23_o = null;
    global::org.xmlvm._nElement _r24;
    global::System.Object _r24_o = null;
    global::org.xmlvm._nElement _r25;
    global::System.Object _r25_o = null;
    global::org.xmlvm._nElement _r26;
    global::System.Object _r26_o = null;
    global::org.xmlvm._nElement _r27;
    global::System.Object _r27_o = null;
    global::org.xmlvm._nElement _r28;
    global::System.Object _r28_o = null;
    global::org.xmlvm._nElement _r29;
    global::System.Object _r29_o = null;
    global::org.xmlvm._nElement _r30;
    global::System.Object _r30_o = null;
    global::org.xmlvm._nElement _r31;
    global::System.Object _r31_o = null;
    global::org.xmlvm._nElement _r32;
    global::System.Object _r32_o = null;
    global::org.xmlvm._nElement _r33;
    global::System.Object _r33_o = null;
    global::org.xmlvm._nElement _r34;
    global::System.Object _r34_o = null;
    global::org.xmlvm._nElement _r35;
    global::System.Object _r35_o = null;
    global::org.xmlvm._nElement _r36;
    global::System.Object _r36_o = null;
    global::org.xmlvm._nElement _r37;
    global::System.Object _r37_o = null;
    global::org.xmlvm._nElement _r38;
    global::System.Object _r38_o = null;
    global::org.xmlvm._nElement _r39;
    global::System.Object _r39_o = null;
    global::org.xmlvm._nElement _r40;
    global::System.Object _r40_o = null;
    global::org.xmlvm._nElement _r41;
    global::System.Object _r41_o = null;
    global::org.xmlvm._nElement _r42;
    global::System.Object _r42_o = null;
    global::org.xmlvm._nElement _r43;
    global::System.Object _r43_o = null;
    global::org.xmlvm._nElement _r44;
    global::System.Object _r44_o = null;
    global::org.xmlvm._nElement _r45;
    global::System.Object _r45_o = null;
    global::org.xmlvm._nElement _r46;
    global::System.Object _r46_o = null;
    global::org.xmlvm._nElement _r47;
    global::System.Object _r47_o = null;
    global::org.xmlvm._nElement _r48;
    global::System.Object _r48_o = null;
    global::org.xmlvm._nElement _r49;
    global::System.Object _r49_o = null;
    global::org.xmlvm._nElement _r50;
    global::System.Object _r50_o = null;
    global::org.xmlvm._nElement _r51;
    global::System.Object _r51_o = null;
    global::org.xmlvm._nElement _r52;
    global::System.Object _r52_o = null;
    global::org.xmlvm._nElement _r53;
    global::System.Object _r53_o = null;
    global::org.xmlvm._nElement _r54;
    global::System.Object _r54_o = null;
    global::org.xmlvm._nElement _r55;
    global::System.Object _r55_o = null;
    global::org.xmlvm._nElement _r56;
    global::System.Object _r56_o = null;
    global::org.xmlvm._nElement _r57;
    global::System.Object _r57_o = null;
    global::org.xmlvm._nElement _r58;
    global::System.Object _r58_o = null;
    global::org.xmlvm._nElement _r59;
    global::System.Object _r59_o = null;
    global::org.xmlvm._nElement _r60;
    global::System.Object _r60_o = null;
    global::org.xmlvm._nElement _r61;
    global::System.Object _r61_o = null;
    global::org.xmlvm._nElement _r62;
    global::System.Object _r62_o = null;
    global::org.xmlvm._nElement _r63;
    global::System.Object _r63_o = null;
    global::org.xmlvm._nElement _r64;
    global::System.Object _r64_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r58_o = this;
    _r59_o = n1;
    _r60_o = n2;
    _r61_o = n3;
    _r62_o = n4;
    _r63_o = n5;
    _r64_o = n6;
    ((global::java.lang.Object) _r58_o).@this();
    _r5_o = new global::java.util.LinkedHashMap();
    ((global::java.util.LinkedHashMap) _r5_o).@this();
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fgrid = (global::java.util.LinkedHashMap) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fwrapGapMap = (global::java.util.HashMap) _r0_o;
    _r5_o = new global::java.util.TreeSet();
    ((global::java.util.TreeSet) _r5_o).@this();
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._frowIndexes = (global::java.util.TreeSet) _r0_o;
    _r5_o = new global::java.util.TreeSet();
    ((global::java.util.TreeSet) _r5_o).@this();
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcolIndexes = (global::java.util.TreeSet) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcolFlowSpecs = (global::com.codename1.ui.layouts.mig.Grid_2FlowSizeSpec) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._frowFlowSpecs = (global::com.codename1.ui.layouts.mig.Grid_2FlowSizeSpec) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fwidth = (global::org.xmlvm._nArrayAdapter<int>) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fheight = (global::org.xmlvm._nArrayAdapter<int>) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fdebugRects = (global::java.util.ArrayList) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._flinkTargetIDs = (global::java.util.HashMap) _r0_o;
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._flastRefWidth = _r0.i;
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._flastRefHeight = _r0.i;
    _r0_o = _r60_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._flc = (global::com.codename1.ui.layouts.mig.LC) _r0_o;
    _r0_o = _r61_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._frowConstr = (global::com.codename1.ui.layouts.mig.AC) _r0_o;
    _r0_o = _r62_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcolConstr = (global::com.codename1.ui.layouts.mig.AC) _r0_o;
    _r0_o = _r59_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcontainer = (global::com.codename1.ui.layouts.mig.ContainerWrapper) _r0_o;
    _r0_o = _r64_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcallbackList = (global::java.util.ArrayList) _r0_o;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).getWrapAfter();
    if (_r5.i == 0) goto label250;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).getWrapAfter();
    _r56.i = _r5.i;
    label129:;
    _r13.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isVisualPadding() ? 1 : 0;
    _r25_o = ((global::com.codename1.ui.layouts.mig.ContainerWrapper) _r59_o).getComponents();
    _r32.i = 0;
    _r30.i = 0;
    _r31.i = 0;
    _r33.i = 0;
    _r5.i = 2;
    _r0.i = _r5.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r0.i]);
    _r24_o = _r0_o;
    _r49_o = new global::java.util.ArrayList();
    _r5.i = 2;
    _r0_o = _r49_o;
    _r1.i = _r5.i;
    ((global::java.util.ArrayList) _r0_o).@this((int) _r1.i);
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label270;
    _r5_o = _r61_o;
    label168:;
    _r52_o = ((global::com.codename1.ui.layouts.mig.AC) _r5_o).getConstaints();
    _r44.i = 0;
    _r45.i = 0;
    _r29_o = null;
    _r5_o = ((global::com.codename1.ui.layouts.mig.ContainerWrapper) _r59_o).getLayout();
    global::com.codename1.ui.layouts.mig.LinkHandler.clearTemporaryBounds((global::java.lang.Object) _r5_o);
    _r34.i = 0;
    label187:;
    _r0_o = _r25_o;
    _r0.i = ((global::org.xmlvm._nIArray) _r0_o).Length;
    _r5.i = _r0.i;
    _r0.i = _r34.i;
    _r1.i = _r5.i;
    if (_r0.i >= _r1.i) goto label1213;
    _r6_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r25_o)[_r34.i];
    _r0_o = _r6_o;
    _r1_o = _r63_o;
    _r7_o = global::com.codename1.ui.layouts.mig.Grid.getCC((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.Map) _r1_o);
    _r0_o = _r58_o;
    _r1_o = _r7_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).addLinkIDs((global::com.codename1.ui.layouts.mig.CC) _r1_o);
    _r5.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).isVisible() ? 1 : 0;
    if (_r5.i == 0) goto label273;
    _r5.i = -1;
    _r12.i = _r5.i;
    label219:;
    _r5.i = 3;
    if (_r12.i != _r5.i) goto label292;
    _r8.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getX();
    _r9.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getY();
    _r10.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getWidth();
    _r11.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getHeight();
    _r12.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isExternal() ? 1 : 0;
    _r5_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r5_o).setLinkedBounds((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o, (global::com.codename1.ui.layouts.mig.CC) _r7_o, (int) _r8.i, (int) _r9.i, (int) _r10.i, (int) _r11.i, 0!=_r12.i);
    _r34.i = _r34.i + 1;
    goto label187;
    label250:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label267;
    _r5_o = _r62_o;
    label258:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.AC) _r5_o).getConstaints();
    _r5.i = ((global::org.xmlvm._nIArray) _r5_o).Length;
    _r56.i = _r5.i;
    goto label129;
    label267:;
    _r5_o = _r61_o;
    goto label258;
    label270:;
    _r5_o = _r62_o;
    goto label168;
    label273:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getHideMode();
    _r8.i = -1;
    if (_r5.i == _r8.i) goto label286;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getHideMode();
    _r12.i = _r5.i;
    goto label219;
    label286:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).getHideMode();
    _r12.i = _r5.i;
    goto label219;
    label292:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getHorizontal();
    _r5_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r5_o).getSizeGroup();
    if (_r5_o == null) goto label304;
    _r44.i = _r44.i + 1;
    label304:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getVertical();
    _r5_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r5_o).getSizeGroup();
    if (_r5_o == null) goto label316;
    _r45.i = _r45.i + 1;
    label316:;
    _r0_o = _r58_o;
    _r1_o = _r6_o;
    _r2_o = _r7_o;
    _r5_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).getPos((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r1_o, (global::com.codename1.ui.layouts.mig.CC) _r2_o);
    if (_r5_o != null) goto label332;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isExternal() ? 1 : 0;
    if (_r5.i == 0) goto label423;
    label332:;
    _r8_o = new global::com.codename1.ui.layouts.mig.Grid_2CompWrap();
    _r14_o = null;
    _r9_o = _r58_o;
    _r10_o = _r6_o;
    _r11_o = _r7_o;
    ((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o).@this((global::com.codename1.ui.layouts.mig.Grid) _r9_o, (global::com.codename1.ui.layouts.mig.ComponentWrapper) _r10_o, (global::com.codename1.ui.layouts.mig.CC) _r11_o, (int) _r12.i, 0!=_r13.i, (global::com.codename1.ui.layouts.mig.Grid_21) _r14_o);
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r9_o = null;
    _r22_o = ((global::java.util.LinkedHashMap) _r5_o).get((global::java.lang.Object) _r9_o);
    _r22_o = _r22_o;
    if (_r22_o != null) goto label415;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r9_o = null;
    _r10_o = new global::com.codename1.ui.layouts.mig.Grid_2Cell();
    _r11_o = null;
    ((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r10_o).@this((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o, (global::com.codename1.ui.layouts.mig.Grid_21) _r11_o);
    ((global::java.util.LinkedHashMap) _r5_o).put((global::java.lang.Object) _r9_o, (global::java.lang.Object) _r10_o);
    label371:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isBoundsInGrid() ? 1 : 0;
    if (_r5.i == 0) goto label383;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isExternal() ? 1 : 0;
    if (_r5.i == 0) goto label423;
    label383:;
    _r17.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getX();
    _r18.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getY();
    _r19.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getWidth();
    _r20.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r6_o).getHeight();
    _r21.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isExternal() ? 1 : 0;
    _r14_o = _r58_o;
    _r15_o = _r6_o;
    _r16_o = _r7_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r14_o).setLinkedBounds((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r15_o, (global::com.codename1.ui.layouts.mig.CC) _r16_o, (int) _r17.i, (int) _r18.i, (int) _r19.i, (int) _r20.i, 0!=_r21.i);
    _r34.i = _r34.i + 1;
    goto label187;
    label415:;
    _r5_o = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2200((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    ((global::java.util.ArrayList) _r5_o).add((global::java.lang.Object) _r8_o);
    goto label371;
    label423:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getDockSide();
    _r8.i = -1;
    if (_r5.i == _r8.i) goto label475;
    if (_r29_o != null) goto label441;
    _r5.i = 4;
    _r0.i = _r5.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r0.i]);
    _r29_o = _r0_o;
    _r29_o = new global::org.xmlvm._nArrayAdapter<int>(new int[]{-32767, -32767, 32767, 32767});
    label441:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getDockSide();
    _r14_o = new global::com.codename1.ui.layouts.mig.Grid_2CompWrap();
    _r20_o = null;
    _r15_o = _r58_o;
    _r16_o = _r6_o;
    _r17_o = _r7_o;
    _r18.i = _r12.i;
    _r19.i = _r13.i;
    ((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r14_o).@this((global::com.codename1.ui.layouts.mig.Grid) _r15_o, (global::com.codename1.ui.layouts.mig.ComponentWrapper) _r16_o, (global::com.codename1.ui.layouts.mig.CC) _r17_o, (int) _r18.i, 0!=_r19.i, (global::com.codename1.ui.layouts.mig.Grid_21) _r20_o);
    _r0_o = _r58_o;
    _r1_o = _r29_o;
    _r2.i = _r5.i;
    _r3_o = _r14_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).addDockingCell((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r2.i, (global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r3_o);
    _r34.i = _r34.i + 1;
    goto label187;
    label475:;
    _r23_o = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getFlowX();
    _r22_o = null;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).isNewline() ? 1 : 0;
    if (_r5.i == 0) goto label601;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getNewlineGapSize();
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2_o = _r5_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).wrap((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (global::com.codename1.ui.layouts.mig.BoundSize) _r2_o);
    label499:;
    _r33.i = 0;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isNoGrid() ? 1 : 0;
    if (_r5.i != 0) goto label531;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label613;
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    label516:;
    _r0_o = _r52_o;
    _r1.i = _r5.i;
    _r64_o = global::com.codename1.ui.layouts.mig.LayoutUtil.getIndexSafe((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o, (int) _r1.i);
    _r64_o = _r64_o;
    _r5.i = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r64_o).isNoGrid() ? 1 : 0;
    if (_r5.i == 0) goto label617;
    label531:;
    _r5.i = 1;
    _r37.i = _r5.i;
    label534:;
    _r27.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getCellX();
    _r28.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getCellY();
    if (_r27.i < 0) goto label546;
    if (_r28.i >= 0) goto label621;
    label546:;
    if (_r37.i != 0) goto label621;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSkip();
    if (_r5.i != 0) goto label621;
    label554:;
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    _r6.i = 0;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r6.i];
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3_o = _r49_o;
    _r5.i = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).isCellFree((int) _r1.i, (int) _r2.i, (global::java.util.ArrayList) _r3_o) ? 1 : 0;
    if (_r5.i != 0) goto label647;
    _r5.i = 1;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2.i = _r5.i;
    _r5.i = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).increase((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r2.i);
    _r5.i = global::java.lang.Math.abs((int) _r5.i);
    _r0.i = _r5.i;
    _r1.i = _r56.i;
    if (_r0.i < _r1.i) goto label554;
    _r5_o = null;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2_o = _r5_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).wrap((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (global::com.codename1.ui.layouts.mig.BoundSize) _r2_o);
    goto label554;
    label601:;
    if (_r33.i == 0) goto label499;
    _r5_o = null;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2_o = _r5_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).wrap((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (global::com.codename1.ui.layouts.mig.BoundSize) _r2_o);
    goto label499;
    label613:;
    _r5.i = 0;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    goto label516;
    label617:;
    _r5.i = 0;
    _r37.i = _r5.i;
    goto label534;
    label621:;
    if (_r27.i < 0) goto label633;
    if (_r28.i < 0) goto label633;
    if (_r28.i < 0) goto label708;
    _r5.i = 0;
    ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i] = _r27.i;
    _r5.i = 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i] = _r28.i;
    label633:;
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    _r6.i = 0;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r6.i];
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r22_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).getCell((int) _r1.i, (int) _r2.i);
    label647:;
    _r38.i = 0;
    _r46.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSkip();
    label653:;
    _r0.i = _r38.i;
    _r1.i = _r46.i;
    if (_r0.i >= _r1.i) goto label722;
    label659:;
    _r5.i = 1;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2.i = _r5.i;
    _r5.i = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).increase((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r2.i);
    _r5.i = global::java.lang.Math.abs((int) _r5.i);
    _r0.i = _r5.i;
    _r1.i = _r56.i;
    if (_r0.i < _r1.i) goto label687;
    _r5_o = null;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2_o = _r5_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).wrap((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (global::com.codename1.ui.layouts.mig.BoundSize) _r2_o);
    label687:;
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    _r6.i = 0;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r6.i];
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3_o = _r49_o;
    _r5.i = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).isCellFree((int) _r1.i, (int) _r2.i, (global::java.util.ArrayList) _r3_o) ? 1 : 0;
    if (_r5.i == 0) goto label659;
    _r38.i = _r38.i + 1;
    goto label653;
    label708:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label718;
    _r5.i = 0;
    ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i] = _r27.i;
    goto label633;
    label718:;
    _r5.i = 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i] = _r27.i;
    goto label633;
    label722:;
    if (_r22_o != null) goto label840;
    if (_r37.i == 0) goto label919;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label919;
    _r5.i = 2097051;
    label735:;
    _r6.i = 30000;
    _r8.i = 0;
    _r8.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r8.i];
    _r6.i = _r6.i - _r8.i;
    _r50.i = global::java.lang.Math.min((int) _r5.i, (int) _r6.i);
    if (_r37.i == 0) goto label925;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i != 0) goto label925;
    _r5.i = 2097051;
    label756:;
    _r6.i = 30000;
    _r8.i = 1;
    _r8.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r8.i];
    _r6.i = _r6.i - _r8.i;
    _r51.i = global::java.lang.Math.min((int) _r5.i, (int) _r6.i);
    _r22_o = new global::com.codename1.ui.layouts.mig.Grid_2Cell();
    if (_r23_o == null) goto label931;
    _r5.i = ((global::java.lang.Boolean) _r23_o).booleanValue() ? 1 : 0;
    label774:;
    _r6_o = null;
    _r0_o = _r22_o;
    _r1.i = _r50.i;
    _r2.i = _r51.i;
    _r3.i = _r5.i;
    _r4_o = _r6_o;
    ((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r0_o).@this((int) _r1.i, (int) _r2.i, 0!=_r3.i, (global::com.codename1.ui.layouts.mig.Grid_21) _r4_o);
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    _r6.i = 0;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r6.i];
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3_o = _r22_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).setCell((int) _r1.i, (int) _r2.i, (global::com.codename1.ui.layouts.mig.Grid_2Cell) _r3_o);
    _r5.i = 1;
    _r0.i = _r50.i;
    _r1.i = _r5.i;
    if (_r0.i > _r1.i) goto label813;
    _r5.i = 1;
    _r0.i = _r51.i;
    _r1.i = _r5.i;
    if (_r0.i <= _r1.i) goto label840;
    label813:;
    _r5.i = 4;
    _r5_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r5.i]);
    _r6.i = 0;
    _r8.i = 0;
    _r8.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r8.i];
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r6.i] = _r8.i;
    _r6.i = 1;
    _r8.i = 1;
    _r8.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r8.i];
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r6.i] = _r8.i;
    _r6.i = 2;
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r6.i] = _r50.i;
    _r6.i = 3;
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r6.i] = _r51.i;
    _r0_o = _r49_o;
    _r1_o = _r5_o;
    ((global::java.util.ArrayList) _r0_o).add((global::java.lang.Object) _r1_o);
    label840:;
    _r57.i = 0;
    if (_r37.i == 0) goto label937;
    _r5.i = 2097051;
    _r54.i = _r5.i;
    label849:;
    _r53.i = 0;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label946;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSpanX();
    label861:;
    _r6.i = 2097051;
    if (_r5.i != _r6.i) goto label951;
    _r5.i = 1;
    _r48.i = _r5.i;
    label869:;
    if (_r54.i < 0) goto label1023;
    _r0_o = _r25_o;
    _r0.i = ((global::org.xmlvm._nIArray) _r0_o).Length;
    _r5.i = _r0.i;
    _r0.i = _r34.i;
    _r1.i = _r5.i;
    if (_r0.i >= _r1.i) goto label1023;
    _r10_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r25_o)[_r34.i];
    _r0_o = _r10_o;
    _r1_o = _r63_o;
    _r11_o = global::com.codename1.ui.layouts.mig.Grid.getCC((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.Map) _r1_o);
    _r0_o = _r58_o;
    _r1_o = _r11_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).addLinkIDs((global::com.codename1.ui.layouts.mig.CC) _r1_o);
    _r55.i = ((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r10_o).isVisible() ? 1 : 0;
    if (_r55.i == 0) goto label955;
    _r5.i = -1;
    _r12.i = _r5.i;
    label903:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).isExternal() ? 1 : 0;
    if (_r5.i != 0) goto label912;
    _r5.i = 3;
    if (_r12.i != _r5.i) goto label974;
    label912:;
    _r34.i = _r34.i + 1;
    _r54.i = _r54.i + 1;
    label916:;
    _r54.i = _r54.i + -1;
    goto label869;
    label919:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSpanX();
    goto label735;
    label925:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSpanY();
    goto label756;
    label931:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    goto label774;
    label937:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSplit();
    _r6.i = 1;
    _r5.i = _r5.i - _r6.i;
    _r54.i = _r5.i;
    goto label849;
    label946:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r7_o).getSpanY();
    goto label861;
    label951:;
    _r5.i = 0;
    _r48.i = _r5.i;
    goto label869;
    label955:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getHideMode();
    _r6.i = -1;
    if (_r5.i == _r6.i) goto label968;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getHideMode();
    _r12.i = _r5.i;
    goto label903;
    label968:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).getHideMode();
    _r12.i = _r5.i;
    goto label903;
    label974:;
    if (_r55.i != 0) goto label979;
    _r5.i = 1;
    if (_r12.i <= _r5.i) goto label1063;
    label979:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getPushX();
    if (_r5_o == null) goto label1063;
    _r5.i = 1;
    label986:;
    _r30.i = _r30.i | _r5.i;
    if (_r55.i != 0) goto label993;
    _r5.i = 1;
    if (_r12.i <= _r5.i) goto label1065;
    label993:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getPushY();
    if (_r5_o == null) goto label1065;
    _r5.i = 1;
    label1000:;
    _r31.i = _r31.i | _r5.i;
    if (_r11_o == _r7_o) goto label1078;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).isNewline() ? 1 : 0;
    if (_r5.i != 0) goto label1023;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).isBoundsInGrid() ? 1 : 0;
    if (_r5.i == 0) goto label1023;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getDockSide();
    _r6.i = -1;
    if (_r5.i == _r6.i) goto label1067;
    label1023:;
    if (_r57.i != 0) goto label187;
    if (_r37.i != 0) goto label187;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label1182;
    _r5.i = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2500((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    _r47.i = _r5.i;
    label1039:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFlowX() ? 1 : 0;
    if (_r5.i == 0) goto label1190;
    _r5.i = 0;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    label1048:;
    _r5.i = global::java.lang.Math.abs((int) _r5.i);
    _r5.i = _r5.i + _r47.i;
    _r0.i = _r5.i;
    _r1.i = _r56.i;
    if (_r0.i < _r1.i) goto label1195;
    _r33.i = 1;
    goto label187;
    label1063:;
    _r5.i = 0;
    goto label986;
    label1065:;
    _r5.i = 0;
    goto label1000;
    label1067:;
    if (_r54.i <= 0) goto label1078;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getSkip();
    if (_r5.i <= 0) goto label1078;
    _r53.i = 1;
    goto label1023;
    label1078:;
    _r8_o = new global::com.codename1.ui.layouts.mig.Grid_2CompWrap();
    _r14_o = null;
    _r9_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o).@this((global::com.codename1.ui.layouts.mig.Grid) _r9_o, (global::com.codename1.ui.layouts.mig.ComponentWrapper) _r10_o, (global::com.codename1.ui.layouts.mig.CC) _r11_o, (int) _r12.i, 0!=_r13.i, (global::com.codename1.ui.layouts.mig.Grid_21) _r14_o);
    _r5_o = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2200((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    ((global::java.util.ArrayList) _r5_o).add((global::java.lang.Object) _r8_o);
    _r5.i = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2400((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o) ? 1 : 0;
    _r6_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getTag();
    if (_r6_o == null) goto label1177;
    _r6.i = 1;
    label1104:;
    _r5.i = _r5.i | _r6.i;
    _r0_o = _r22_o;
    _r1.i = _r5.i;
    global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2402((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r0_o, 0!=_r1.i);
    _r5.i = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2400((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o) ? 1 : 0;
    _r32.i = _r32.i | _r5.i;
    if (_r11_o == _r7_o) goto label1143;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getHorizontal();
    _r5_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r5_o).getSizeGroup();
    if (_r5_o == null) goto label1131;
    _r44.i = _r44.i + 1;
    label1131:;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getVertical();
    _r5_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r5_o).getSizeGroup();
    if (_r5_o == null) goto label1143;
    _r45.i = _r45.i + 1;
    label1143:;
    _r34.i = _r34.i + 1;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).isWrap() ? 1 : 0;
    if (_r5.i != 0) goto label1155;
    if (_r48.i == 0) goto label916;
    if (_r54.i != 0) goto label916;
    label1155:;
    _r5.i = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).isWrap() ? 1 : 0;
    if (_r5.i == 0) goto label1179;
    _r5_o = ((global::com.codename1.ui.layouts.mig.CC) _r11_o).getWrapGapSize();
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2_o = _r5_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).wrap((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (global::com.codename1.ui.layouts.mig.BoundSize) _r2_o);
    label1173:;
    _r57.i = 1;
    goto label1023;
    label1177:;
    _r6.i = 0;
    goto label1104;
    label1179:;
    _r33.i = 1;
    goto label1173;
    label1182:;
    _r5.i = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2600((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    _r47.i = _r5.i;
    goto label1039;
    label1190:;
    _r5.i = 1;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r24_o)[_r5.i];
    goto label1048;
    label1195:;
    if (_r53.i == 0) goto label1210;
    _r5.i = 1;
    _r5.i = _r47.i - _r5.i;
    label1200:;
    _r0_o = _r58_o;
    _r1_o = _r24_o;
    _r2.i = _r5.i;
    ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).increase((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r2.i);
    goto label187;
    label1210:;
    _r5.i = _r47.i;
    goto label1200;
    label1213:;
    if (_r44.i > 0) goto label1217;
    if (_r45.i <= 0) goto label1466;
    label1217:;
    if (_r44.i <= 0) goto label1377;
    _r5_o = new global::java.util.HashMap();
    _r0_o = _r5_o;
    _r1.i = _r44.i;
    ((global::java.util.HashMap) _r0_o).@this((int) _r1.i);
    _r42_o = _r5_o;
    label1229:;
    if (_r45.i <= 0) goto label1382;
    _r5_o = new global::java.util.HashMap();
    _r0_o = _r5_o;
    _r1.i = _r45.i;
    ((global::java.util.HashMap) _r0_o).@this((int) _r1.i);
    _r43_o = _r5_o;
    label1241:;
    _r41_o = new global::java.util.ArrayList();
    _r5.i = global::java.lang.Math.max((int) _r44.i, (int) _r45.i);
    _r0_o = _r41_o;
    _r1.i = _r5.i;
    ((global::java.util.ArrayList) _r0_o).@this((int) _r1.i);
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r5_o = ((global::java.util.LinkedHashMap) _r5_o).values();
    _r5_o = ((global::java.util.Collection) _r5_o).iterator();
    label1266:;
    _r6.i = ((global::java.util.Iterator) _r5_o).hasNext() ? 1 : 0;
    if (_r6.i == 0) goto label1387;
    _r22_o = ((global::java.util.Iterator) _r5_o).next();
    _r22_o = _r22_o;
    _r34.i = 0;
    label1280:;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2200((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    _r6.i = ((global::java.util.ArrayList) _r6_o).size();
    _r0.i = _r34.i;
    _r1.i = _r6.i;
    if (_r0.i >= _r1.i) goto label1266;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2200((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    _r0_o = _r6_o;
    _r1.i = _r34.i;
    _r8_o = ((global::java.util.ArrayList) _r0_o).get((int) _r1.i);
    _r8_o = _r8_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2700((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o);
    _r6_o = ((global::com.codename1.ui.layouts.mig.CC) _r6_o).getHorizontal();
    _r39_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r6_o).getSizeGroup();
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2700((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o);
    _r6_o = ((global::com.codename1.ui.layouts.mig.CC) _r6_o).getVertical();
    _r40_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r6_o).getSizeGroup();
    if (_r39_o != null) goto label1334;
    if (_r40_o == null) goto label1374;
    label1334:;
    if (_r39_o == null) goto label1351;
    if (_r42_o == null) goto label1351;
    _r6.i = 1;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2800((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o, 0!=_r6.i);
    _r0_o = _r42_o;
    _r1_o = _r39_o;
    _r2_o = _r6_o;
    global::com.codename1.ui.layouts.mig.Grid.addToSizeGroup((global::java.util.HashMap) _r0_o, (global::java.lang.String) _r1_o, (global::org.xmlvm._nArrayAdapter<int>) _r2_o);
    label1351:;
    if (_r40_o == null) goto label1368;
    if (_r43_o == null) goto label1368;
    _r6.i = 0;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2800((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o, 0!=_r6.i);
    _r0_o = _r43_o;
    _r1_o = _r40_o;
    _r2_o = _r6_o;
    global::com.codename1.ui.layouts.mig.Grid.addToSizeGroup((global::java.util.HashMap) _r0_o, (global::java.lang.String) _r1_o, (global::org.xmlvm._nArrayAdapter<int>) _r2_o);
    label1368:;
    _r0_o = _r41_o;
    _r1_o = _r8_o;
    ((global::java.util.ArrayList) _r0_o).add((global::java.lang.Object) _r1_o);
    label1374:;
    _r34.i = _r34.i + 1;
    goto label1280;
    label1377:;
    _r5_o = null;
    _r42_o = _r5_o;
    goto label1229;
    label1382:;
    _r5_o = null;
    _r43_o = _r5_o;
    goto label1241;
    label1387:;
    _r5_o = ((global::java.util.ArrayList) _r41_o).iterator();
    label1391:;
    _r6.i = ((global::java.util.Iterator) _r5_o).hasNext() ? 1 : 0;
    if (_r6.i == 0) goto label1466;
    _r8_o = ((global::java.util.Iterator) _r5_o).next();
    _r8_o = _r8_o;
    if (_r42_o == null) goto label1434;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2700((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o);
    _r6_o = ((global::com.codename1.ui.layouts.mig.CC) _r6_o).getHorizontal();
    _r6_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r6_o).getSizeGroup();
    _r0_o = _r42_o;
    _r1_o = _r6_o;
    _r64_o = ((global::java.util.HashMap) _r0_o).get((global::java.lang.Object) _r1_o);
    _r64_o = _r64_o;
    _r6.i = 1;
    _r0_o = _r8_o;
    _r1_o = _r64_o;
    _r2.i = _r6.i;
    global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2900((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r0_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o, 0!=_r2.i);
    label1434:;
    if (_r43_o == null) goto label1391;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2700((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o);
    _r6_o = ((global::com.codename1.ui.layouts.mig.CC) _r6_o).getVertical();
    _r6_o = ((global::com.codename1.ui.layouts.mig.DimConstraint) _r6_o).getSizeGroup();
    _r0_o = _r43_o;
    _r1_o = _r6_o;
    _r64_o = ((global::java.util.HashMap) _r0_o).get((global::java.lang.Object) _r1_o);
    _r64_o = _r64_o;
    _r6.i = 0;
    _r0_o = _r8_o;
    _r1_o = _r64_o;
    _r2.i = _r6.i;
    global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_2900((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r0_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o, 0!=_r2.i);
    goto label1391;
    label1466:;
    if (_r32.i == 0) goto label1483;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r5_o = ((global::java.util.LinkedHashMap) _r5_o).values();
    _r0_o = _r5_o;
    _r1_o = _r59_o;
    global::com.codename1.ui.layouts.mig.Grid.sortCellsByPlatform((global::java.util.Collection) _r0_o, (global::com.codename1.ui.layouts.mig.ContainerWrapper) _r1_o);
    label1483:;
    _r0_o = _r60_o;
    _r1_o = _r59_o;
    _r21.i = global::com.codename1.ui.layouts.mig.LayoutUtil.isLeftToRight((global::com.codename1.ui.layouts.mig.LC) _r0_o, (global::com.codename1.ui.layouts.mig.ContainerWrapper) _r1_o) ? 1 : 0;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r5_o = ((global::java.util.LinkedHashMap) _r5_o).values();
    _r5_o = ((global::java.util.Collection) _r5_o).iterator();
    label1504:;
    _r6.i = ((global::java.util.Iterator) _r5_o).hasNext() ? 1 : 0;
    if (_r6.i == 0) goto label1651;
    _r22_o = ((global::java.util.Iterator) _r5_o).next();
    _r22_o = _r22_o;
    _r26_o = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_2200((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o);
    _r34.i = 0;
    _r6.i = ((global::java.util.ArrayList) _r26_o).size();
    _r7.i = 1;
    _r36.i = _r6.i - _r7.i;
    label1529:;
    _r0.i = _r34.i;
    _r1.i = _r36.i;
    if (_r0.i > _r1.i) goto label1504;
    _r0_o = _r26_o;
    _r1.i = _r34.i;
    _r8_o = ((global::java.util.ArrayList) _r0_o).get((int) _r1.i);
    _r8_o = _r8_o;
    if (_r34.i <= 0) goto label1636;
    _r6.i = 1;
    _r6.i = _r34.i - _r6.i;
    _r0_o = _r26_o;
    _r1.i = _r6.i;
    _r64_o = ((global::java.util.ArrayList) _r0_o).get((int) _r1.i);
    _r64_o = _r64_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_21000((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r64_o);
    _r15_o = _r6_o;
    label1564:;
    _r0.i = _r34.i;
    _r1.i = _r36.i;
    if (_r0.i >= _r1.i) goto label1639;
    _r6.i = _r34.i + 1;
    _r0_o = _r26_o;
    _r1.i = _r6.i;
    _r64_o = ((global::java.util.ArrayList) _r0_o).get((int) _r1.i);
    _r64_o = _r64_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_21000((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r64_o);
    _r17_o = _r6_o;
    label1587:;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_21000((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r8_o);
    _r0_o = _r6_o;
    _r1_o = _r63_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid.getCC((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.Map) _r1_o);
    _r19_o = ((global::com.codename1.ui.layouts.mig.CC) _r6_o).getTag();
    if (_r15_o == null) goto label1643;
    _r0_o = _r15_o;
    _r1_o = _r63_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid.getCC((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.Map) _r1_o);
    _r16_o = _r6_o;
    label1613:;
    if (_r17_o == null) goto label1647;
    _r0_o = _r17_o;
    _r1_o = _r63_o;
    _r6_o = global::com.codename1.ui.layouts.mig.Grid.getCC((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.Map) _r1_o);
    _r18_o = _r6_o;
    label1625:;
    _r20.i = global::com.codename1.ui.layouts.mig.Grid_2Cell.access_21100((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r22_o) ? 1 : 0;
    _r14_o = _r8_o;
    global::com.codename1.ui.layouts.mig.Grid_2CompWrap.access_21200((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r14_o, (global::com.codename1.ui.layouts.mig.ComponentWrapper) _r15_o, (global::com.codename1.ui.layouts.mig.CC) _r16_o, (global::com.codename1.ui.layouts.mig.ComponentWrapper) _r17_o, (global::com.codename1.ui.layouts.mig.CC) _r18_o, (global::java.lang.String) _r19_o, 0!=_r20.i, 0!=_r21.i);
    _r34.i = _r34.i + 1;
    goto label1529;
    label1636:;
    _r6_o = null;
    _r15_o = _r6_o;
    goto label1564;
    label1639:;
    _r6_o = null;
    _r17_o = _r6_o;
    goto label1587;
    label1643:;
    _r6_o = null;
    _r16_o = _r6_o;
    goto label1613;
    label1647:;
    _r6_o = null;
    _r18_o = _r6_o;
    goto label1625;
    label1651:;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fcolIndexes;
    _r5_o = _r0_o;
    _r5.i = global::com.codename1.ui.layouts.mig.Grid.getDockInsets((global::java.util.TreeSet) _r5_o);
    _r0.i = _r5.i;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fdockOffX = _r0.i;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._frowIndexes;
    _r5_o = _r0_o;
    _r5.i = global::com.codename1.ui.layouts.mig.Grid.getDockInsets((global::java.util.TreeSet) _r5_o);
    _r0.i = _r5.i;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fdockOffY = _r0.i;
    _r34.i = 0;
    _r35.i = ((global::com.codename1.ui.layouts.mig.AC) _r61_o).getCount();
    label1685:;
    _r0.i = _r34.i;
    _r1.i = _r35.i;
    if (_r0.i >= _r1.i) goto label1710;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._frowIndexes;
    _r5_o = _r0_o;
    _r6_o = new global::java.lang.Integer();
    _r0_o = _r6_o;
    _r1.i = _r34.i;
    ((global::java.lang.Integer) _r0_o).@this((int) _r1.i);
    ((global::java.util.TreeSet) _r5_o).add((global::java.lang.Object) _r6_o);
    _r34.i = _r34.i + 1;
    goto label1685;
    label1710:;
    _r34.i = 0;
    _r35.i = ((global::com.codename1.ui.layouts.mig.AC) _r62_o).getCount();
    label1716:;
    _r0.i = _r34.i;
    _r1.i = _r35.i;
    if (_r0.i >= _r1.i) goto label1741;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fcolIndexes;
    _r5_o = _r0_o;
    _r6_o = new global::java.lang.Integer();
    _r0_o = _r6_o;
    _r1.i = _r34.i;
    ((global::java.lang.Integer) _r0_o).@this((int) _r1.i);
    ((global::java.util.TreeSet) _r5_o).add((global::java.lang.Object) _r6_o);
    _r34.i = _r34.i + 1;
    goto label1716;
    label1741:;
    _r5.i = 0;
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).divideIntoLinkedGroups(0!=_r1.i);
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fcolGroupLists = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r5.i = 1;
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).divideIntoLinkedGroups(0!=_r1.i);
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._frowGroupLists = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    if (_r30.i != 0) goto label1775;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFillX() ? 1 : 0;
    if (_r5.i == 0) goto label1827;
    label1775:;
    _r5.i = 0;
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).getDefaultPushWeights(0!=_r1.i);
    label1783:;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fpushXs = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    if (_r31.i != 0) goto label1796;
    _r5.i = ((global::com.codename1.ui.layouts.mig.LC) _r60_o).isFillY() ? 1 : 0;
    if (_r5.i == 0) goto label1829;
    label1796:;
    _r5.i = 1;
    _r0_o = _r58_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o).getDefaultPushWeights(0!=_r1.i);
    label1804:;
    _r0_o = _r5_o;
    _r1_o = _r58_o;
    ((global::com.codename1.ui.layouts.mig.Grid) _r1_o)._fpushYs = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r5.i = global::com.codename1.ui.layouts.mig.LayoutUtil.isDesignTime((global::com.codename1.ui.layouts.mig.ContainerWrapper) _r59_o) ? 1 : 0;
    if (_r5.i == 0) goto label1826;
    _r0_o = _r58_o;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r0_o)._fgrid;
    _r5_o = _r0_o;
    _r0_o = _r59_o;
    _r1_o = _r5_o;
    global::com.codename1.ui.layouts.mig.Grid.saveGrid((global::com.codename1.ui.layouts.mig.ComponentWrapper) _r0_o, (global::java.util.LinkedHashMap) _r1_o);
    label1826:;
    return;
    label1827:;
    _r5_o = null;
    goto label1783;
    label1829:;
    _r5_o = null;
    goto label1804;
    label1832:;
//XMLVM_END_WRAPPER[com.codename1.ui.layouts.mig.Grid: void <init>(com.codename1.ui.layouts.mig.ContainerWrapper, com.codename1.ui.layouts.mig.LC, com.codename1.ui.layouts.mig.AC, com.codename1.ui.layouts.mig.AC, java.util.Map, java.util.ArrayList)]
}
예제 #2
0
private void addDockingCell(global::org.xmlvm._nArrayAdapter<int> n1, int n2, global::com.codename1.ui.layouts.mig.Grid_2CompWrap n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.layouts.mig.Grid: void addDockingCell(int[], int, com.codename1.ui.layouts.mig.Grid$CompWrap)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r11_o = this;
    _r12_o = n1;
    _r13.i = n2;
    _r14_o = n3;
    _r8.i = 3;
    _r4.i = 2;
    _r10.i = 0;
    _r5.i = 1;
    _r2.i = 1;
    _r3.i = 1;
    switch (_r13.i) {
    case 0: goto label17;
    case 1: goto label99;
    case 2: goto label17;
    case 3: goto label99;
    }
    _r0_o = new global::java.lang.IllegalArgumentException();
    // Value=Internal error 123.
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 51)), unchecked((char) unchecked((uint) 46))}));
    ((global::java.lang.IllegalArgumentException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label17:;
    if (_r13.i != 0) goto label91;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r10.i];
    _r1.i = _r0.i + 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r10.i] = _r1.i;
    _r7.i = _r0.i;
    label26:;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r5.i];
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r8.i];
    _r1.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r5.i];
    _r0.i = _r0.i - _r1.i;
    _r2.i = _r0.i + 1;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r11_o)._fcolIndexes;
    _r1_o = new global::java.lang.Integer();
    _r4.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r8.i];
    ((global::java.lang.Integer) _r1_o).@this((int) _r4.i);
    ((global::java.util.TreeSet) _r0_o).add((global::java.lang.Object) _r1_o);
    label47:;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r11_o)._frowIndexes;
    _r1_o = new global::java.lang.Integer();
    ((global::java.lang.Integer) _r1_o).@this((int) _r7.i);
    ((global::java.util.TreeSet) _r0_o).add((global::java.lang.Object) _r1_o);
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r11_o)._fcolIndexes;
    _r1_o = new global::java.lang.Integer();
    ((global::java.lang.Integer) _r1_o).@this((int) _r6.i);
    ((global::java.util.TreeSet) _r0_o).add((global::java.lang.Object) _r1_o);
    _r8_o = ((global::com.codename1.ui.layouts.mig.Grid) _r11_o)._fgrid;
    _r9_o = new global::java.lang.Integer();
    _r0.i = _r7.i << (0x1f & 16);
    _r0.i = _r0.i + _r6.i;
    ((global::java.lang.Integer) _r9_o).@this((int) _r0.i);
    _r0_o = new global::com.codename1.ui.layouts.mig.Grid_2Cell();
    if (_r2.i <= _r5.i) goto label138;
    _r4.i = _r5.i;
    label82:;
    _r5_o = null;
    _r1_o = _r14_o;
    ((global::com.codename1.ui.layouts.mig.Grid_2Cell) _r0_o).@this((global::com.codename1.ui.layouts.mig.Grid_2CompWrap) _r1_o, (int) _r2.i, (int) _r3.i, 0!=_r4.i, (global::com.codename1.ui.layouts.mig.Grid_21) _r5_o);
    ((global::java.util.LinkedHashMap) _r8_o).put((global::java.lang.Object) _r9_o, (global::java.lang.Object) _r0_o);
    return;
    label91:;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r4.i];
    _r1.i = _r0.i - _r5.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r4.i] = _r1.i;
    _r7.i = _r0.i;
    goto label26;
    label99:;
    if (_r13.i != _r5.i) goto label130;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r5.i];
    _r1.i = _r0.i + 1;
    ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r5.i] = _r1.i;
    _r6.i = _r0.i;
    label108:;
    _r7.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r10.i];
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r4.i];
    _r1.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r10.i];
    _r0.i = _r0.i - _r1.i;
    _r3.i = _r0.i + 1;
    _r0_o = ((global::com.codename1.ui.layouts.mig.Grid) _r11_o)._frowIndexes;
    _r1_o = new global::java.lang.Integer();
    _r4.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r4.i];
    ((global::java.lang.Integer) _r1_o).@this((int) _r4.i);
    ((global::java.util.TreeSet) _r0_o).add((global::java.lang.Object) _r1_o);
    goto label47;
    label130:;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r8.i];
    _r1.i = _r0.i - _r5.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r12_o)[_r8.i] = _r1.i;
    _r6.i = _r0.i;
    goto label108;
    label138:;
    _r4.i = _r10.i;
    goto label82;
    label140:;
//XMLVM_END_WRAPPER[com.codename1.ui.layouts.mig.Grid: void addDockingCell(int[], int, com.codename1.ui.layouts.mig.Grid$CompWrap)]
}