Beispiel #1
0
private void paintBorderBackground(global::com.codename1.ui.Graphics n1, int n2, int n3, int n4, int n5, global::com.codename1.ui.Component n6){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.plaf.Border: void paintBorderBackground(com.codename1.ui.Graphics, int, int, int, int, com.codename1.ui.Component)]
    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._nElement _r65;
    global::System.Object _r65_o = null;
    global::org.xmlvm._nElement _r66;
    global::System.Object _r66_o = null;
    global::org.xmlvm._nElement _r67;
    global::System.Object _r67_o = null;
    global::org.xmlvm._nElement _r68;
    global::System.Object _r68_o = null;
    global::org.xmlvm._nElement _r69;
    global::System.Object _r69_o = null;
    global::org.xmlvm._nElement _r70;
    global::System.Object _r70_o = null;
    global::org.xmlvm._nElement _r71;
    global::System.Object _r71_o = null;
    global::org.xmlvm._nElement _r72;
    global::System.Object _r72_o = null;
    global::org.xmlvm._nElement _r73;
    global::System.Object _r73_o = null;
    global::org.xmlvm._nElement _r74;
    global::System.Object _r74_o = null;
    global::org.xmlvm._nElement _r75;
    global::System.Object _r75_o = null;
    global::org.xmlvm._nElement _r76;
    global::System.Object _r76_o = null;
    global::org.xmlvm._nElement _r77;
    global::System.Object _r77_o = null;
    global::org.xmlvm._nElement _r78;
    global::System.Object _r78_o = null;
    global::org.xmlvm._nElement _r79;
    global::System.Object _r79_o = null;
    global::org.xmlvm._nElement _r80;
    global::System.Object _r80_o = null;
    global::org.xmlvm._nElement _r81;
    global::System.Object _r81_o = null;
    global::org.xmlvm._nElement _r82;
    global::System.Object _r82_o = null;
    global::org.xmlvm._nElement _r83;
    global::System.Object _r83_o = null;
    global::org.xmlvm._nElement _r84;
    global::System.Object _r84_o = null;
    global::org.xmlvm._nElement _r85;
    global::System.Object _r85_o = null;
    global::org.xmlvm._nElement _r86;
    global::System.Object _r86_o = null;
    global::org.xmlvm._nElement _r87;
    global::System.Object _r87_o = null;
    global::org.xmlvm._nElement _r88;
    global::System.Object _r88_o = null;
    global::org.xmlvm._nElement _r89;
    global::System.Object _r89_o = null;
    global::org.xmlvm._nElement _r90;
    global::System.Object _r90_o = null;
    global::org.xmlvm._nElement _r91;
    global::System.Object _r91_o = null;
    global::org.xmlvm._nElement _r92;
    global::System.Object _r92_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r86_o = this;
    _r87_o = n1;
    _r88.i = n2;
    _r89.i = n3;
    _r90.i = n4;
    _r91.i = n5;
    _r92_o = n6;
    _r75.i = ((global::com.codename1.ui.Graphics) _r87_o).getColor();
    _r15.i = _r88.i;
    _r12.i = _r89.i;
    _r8.i = _r90.i;
    _r9.i = _r91.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftype;
    _r6.i = _r0.i;
    switch (_r6.i) {
    case 2: goto label1546;
    case 3: goto label28;
    case 8: goto label530;
    case 10: goto label1358;
    case 11: goto label1468;
    case 19: goto label1033;
    }
    label20:;
    _r0_o = _r87_o;
    _r1.i = _r75.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setColor((int) _r1.i);
    label27:;
    return;
    label28:;
    _r15.i = _r15.i + 1;
    _r12.i = _r12.i + 1;
    _r8.i = _r8.i + -2;
    _r9.i = _r9.i + -2;
    _r85.i = _r15.i;
    label38:;
    _r79_o = ((global::com.codename1.ui.Component) _r92_o).getStyle();
    _r6_o = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgImage();
    if (_r6_o == null) goto label55;
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBackgroundType();
    _r7.i = 1;
    if (_r6.i == _r7.i) goto label62;
    label55:;
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBackgroundType();
    _r7.i = 1;
    if (_r6.i <= _r7.i) goto label262;
    label62:;
    _r0_o = _r79_o;
    _r0_o = ((global::com.codename1.ui.plaf.Style) _r0_o)._froundRectCache;
    _r84_o = _r0_o;
    _r71_o = null;
    if (_r84_o == null) goto label85;
    _r6_o = global::com.codename1.ui.Display.getInstance();
    _r0_o = _r6_o;
    _r1_o = _r84_o;
    _r71_o = ((global::com.codename1.ui.Display) _r0_o).extractHardRef((global::java.lang.Object) _r1_o);
    _r71_o = _r71_o;
    label85:;
    if (_r71_o == null) goto label112;
    _r6.i = ((global::com.codename1.ui.Image) _r71_o).getWidth();
    if (_r6.i != _r8.i) goto label112;
    _r6.i = ((global::com.codename1.ui.Image) _r71_o).getHeight();
    if (_r6.i != _r9.i) goto label112;
    _r0_o = _r87_o;
    _r1_o = _r71_o;
    _r2.i = _r85.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    label109:;
    _r15.i = _r85.i;
    goto label20;
    label112:;
    _r71_o = global::com.codename1.ui.Image.createImage((int) _r8.i, (int) _r9.i);
    _r5_o = ((global::com.codename1.ui.Image) _r71_o).getGraphics();
    _r6.i = 0;
    ((global::com.codename1.ui.Graphics) _r5_o).setColor((int) _r6.i);
    _r6.i = 0;
    _r7.i = 0;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcWidth;
    _r10.i = _r0.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcHeight;
    _r11.i = _r0.i;
    ((global::com.codename1.ui.Graphics) _r5_o).fillRoundRect((int) _r6.i, (int) _r7.i, (int) _r8.i, (int) _r9.i, (int) _r10.i, (int) _r11.i);
    _r78_o = ((global::com.codename1.ui.Image) _r71_o).getRGBCached();
    _r6.i = 0;
    _r83.i = ((global::org.xmlvm._nArrayAdapter<int>) _r78_o)[_r6.i];
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBackgroundType();
    _r7.i = 1;
    if (_r6.i != _r7.i) goto label189;
    _r6_o = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgImage();
    _r6_o = ((global::com.codename1.ui.Image) _r6_o).scaled((int) _r8.i, (int) _r9.i);
    _r72_o = ((global::com.codename1.ui.Image) _r6_o).getRGBCached();
    label165:;
    _r74.i = 0;
    label167:;
    _r0_o = _r78_o;
    _r0.i = ((global::org.xmlvm._nIArray) _r0_o).Length;
    _r6.i = _r0.i;
    _r0.i = _r74.i;
    _r1.i = _r6.i;
    if (_r0.i >= _r1.i) goto label226;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r78_o)[_r74.i];
    _r0.i = _r6.i;
    _r1.i = _r83.i;
    if (_r0.i != _r1.i) goto label186;
    _r6.i = 0;
    ((global::org.xmlvm._nArrayAdapter<int>) _r72_o)[_r74.i] = _r6.i;
    label186:;
    _r74.i = _r74.i + 1;
    goto label167;
    label189:;
    _r61_o = global::com.codename1.ui.Image.createImage((int) _r8.i, (int) _r9.i);
    _r76_o = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgPainter();
    if (_r76_o != null) goto label203;
    _r15.i = _r85.i;
    goto label27;
    label203:;
    _r6_o = ((global::com.codename1.ui.Image) _r61_o).getGraphics();
    _r7_o = new global::com.codename1.ui.geom.Rectangle();
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.geom.Rectangle) _r7_o).@this((int) _r10.i, (int) _r11.i, (int) _r8.i, (int) _r9.i);
    _r0_o = _r76_o;
    _r1_o = _r6_o;
    _r2_o = _r7_o;
    ((global::com.codename1.ui.Painter) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.geom.Rectangle) _r2_o);
    _r72_o = ((global::com.codename1.ui.Image) _r61_o).getRGB();
    goto label165;
    label226:;
    _r0_o = _r72_o;
    _r1.i = _r8.i;
    _r2.i = _r9.i;
    _r71_o = global::com.codename1.ui.Image.createImage((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r1.i, (int) _r2.i);
    _r6_o = global::com.codename1.ui.Display.getInstance();
    _r0_o = _r6_o;
    _r1_o = _r71_o;
    _r6_o = ((global::com.codename1.ui.Display) _r0_o).createSoftWeakRef((global::java.lang.Object) _r1_o);
    _r0_o = _r6_o;
    _r1_o = _r79_o;
    ((global::com.codename1.ui.plaf.Style) _r1_o)._froundRectCache = (global::java.lang.Object) _r0_o;
    _r0_o = _r87_o;
    _r1_o = _r71_o;
    _r2.i = _r85.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    goto label109;
    label262:;
    _r70.i = ((global::com.codename1.ui.Graphics) _r87_o).getColor();
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgColor();
    _r0_o = _r87_o;
    _r1.i = _r6.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setColor((int) _r1.i);
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgTransparency();
    _r7.i = -1;
    if (_r6.i != _r7.i) goto label314;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcWidth;
    _r15.i = _r0.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcHeight;
    _r16.i = _r0.i;
    _r10_o = _r87_o;
    _r11.i = _r85.i;
    _r13.i = _r8.i;
    _r14.i = _r9.i;
    ((global::com.codename1.ui.Graphics) _r10_o).fillRoundRect((int) _r11.i, (int) _r12.i, (int) _r13.i, (int) _r14.i, (int) _r15.i, (int) _r16.i);
    label303:;
    _r0_o = _r87_o;
    _r1.i = _r70.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setColor((int) _r1.i);
    _r15.i = _r85.i;
    goto label20;
    label314:;
    _r6.i = ((global::com.codename1.ui.Graphics) _r87_o).isAlphaSupported() ? 1 : 0;
    if (_r6.i == 0) goto label364;
    _r59.i = ((global::com.codename1.ui.Graphics) _r87_o).getAlpha();
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgTransparency();
    _r6.i = _r6.i & 255;
    _r0_o = _r87_o;
    _r1.i = _r6.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setAlpha((int) _r1.i);
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcWidth;
    _r15.i = _r0.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcHeight;
    _r16.i = _r0.i;
    _r10_o = _r87_o;
    _r11.i = _r85.i;
    _r13.i = _r8.i;
    _r14.i = _r9.i;
    ((global::com.codename1.ui.Graphics) _r10_o).fillRoundRect((int) _r11.i, (int) _r12.i, (int) _r13.i, (int) _r14.i, (int) _r15.i, (int) _r16.i);
    _r0_o = _r87_o;
    _r1.i = _r59.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setAlpha((int) _r1.i);
    goto label303;
    label364:;
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgTransparency();
    if (_r6.i == 0) goto label303;
    _r71_o = global::com.codename1.ui.Image.createImage((int) _r8.i, (int) _r9.i);
    _r6.i = ((global::com.codename1.ui.Graphics) _r87_o).getColor();
    _r7.i = 16777215;
    if (_r6.i == _r7.i) goto label451;
    _r5_o = ((global::com.codename1.ui.Image) _r71_o).getGraphics();
    _r6.i = ((global::com.codename1.ui.Graphics) _r87_o).getColor();
    ((global::com.codename1.ui.Graphics) _r5_o).setColor((int) _r6.i);
    _r6.i = 0;
    _r7.i = 0;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcWidth;
    _r10.i = _r0.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcHeight;
    _r11.i = _r0.i;
    ((global::com.codename1.ui.Graphics) _r5_o).fillRoundRect((int) _r6.i, (int) _r7.i, (int) _r8.i, (int) _r9.i, (int) _r10.i, (int) _r11.i);
    _r73_o = ((global::com.codename1.ui.Image) _r71_o).getRGBCached();
    label413:;
    _r6.i = 0;
    _r77.i = ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r6.i];
    _r80.i = _r8.i * _r9.i;
    _r6.i = ((global::com.codename1.ui.plaf.Style) _r79_o).getBgTransparency();
    _r6.i = _r6.i & 255;
    _r6.i = _r6.i << (0x1f & 24);
    _r7.i = -16777216;
    _r60.i = _r6.i & _r7.i;
    _r74.i = 0;
    label432:;
    _r0.i = _r74.i;
    _r1.i = _r80.i;
    if (_r0.i >= _r1.i) goto label509;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r74.i];
    _r0.i = _r77.i;
    _r1.i = _r6.i;
    if (_r0.i != _r1.i) goto label491;
    _r6.i = 0;
    ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r74.i] = _r6.i;
    label448:;
    _r74.i = _r74.i + 1;
    goto label432;
    label451:;
    _r5_o = ((global::com.codename1.ui.Image) _r71_o).getGraphics();
    _r6.i = 0;
    ((global::com.codename1.ui.Graphics) _r5_o).setColor((int) _r6.i);
    _r6.i = 0;
    _r7.i = 0;
    ((global::com.codename1.ui.Graphics) _r5_o).fillRect((int) _r6.i, (int) _r7.i, (int) _r8.i, (int) _r9.i);
    _r6.i = ((global::com.codename1.ui.Graphics) _r87_o).getColor();
    ((global::com.codename1.ui.Graphics) _r5_o).setColor((int) _r6.i);
    _r6.i = 0;
    _r7.i = 0;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcWidth;
    _r10.i = _r0.i;
    _r0_o = _r86_o;
    _r0.i = ((global::com.codename1.ui.plaf.Border) _r0_o)._farcHeight;
    _r11.i = _r0.i;
    ((global::com.codename1.ui.Graphics) _r5_o).fillRoundRect((int) _r6.i, (int) _r7.i, (int) _r8.i, (int) _r9.i, (int) _r10.i, (int) _r11.i);
    _r73_o = ((global::com.codename1.ui.Image) _r71_o).getRGBCached();
    goto label413;
    label491:;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r74.i];
    _r7.i = -16777216;
    _r6.i = _r6.i & _r7.i;
    if (_r6.i == 0) goto label448;
    _r6.i = ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r74.i];
    _r7.i = 16777215;
    _r6.i = _r6.i & _r7.i;
    _r6.i = _r6.i | _r60.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r73_o)[_r74.i] = _r6.i;
    goto label448;
    label509:;
    _r6_o = new global::com.codename1.ui.RGBImage();
    _r0_o = _r6_o;
    _r1_o = _r73_o;
    _r2.i = _r8.i;
    _r3.i = _r9.i;
    ((global::com.codename1.ui.RGBImage) _r0_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r2.i, (int) _r3.i);
    _r0_o = _r87_o;
    _r1_o = _r6_o;
    _r2.i = _r85.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    goto label303;
    label530:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 4;
    _r37_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 5;
    _r19_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 6;
    _r28_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 8;
    _r14_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getWidth();
    _r15.i = _r15.i + _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getHeight();
    _r12.i = _r12.i + _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getHeight();
    _r7.i = ((global::com.codename1.ui.Image) _r28_o).getHeight();
    _r6.i = _r6.i + _r7.i;
    _r9.i = _r9.i - _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getWidth();
    _r7.i = ((global::com.codename1.ui.Image) _r19_o).getWidth();
    _r6.i = _r6.i + _r7.i;
    _r8.i = _r8.i - _r6.i;
    if (_r14_o == null) goto label606;
    _r13_o = _r87_o;
    _r16.i = _r12.i;
    _r17.i = _r8.i;
    _r18.i = _r9.i;
    ((global::com.codename1.ui.Graphics) _r13_o).tileImage((global::com.codename1.ui.Image) _r14_o, (int) _r15.i, (int) _r16.i, (int) _r17.i, (int) _r18.i);
    label606:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 0;
    _r20_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 1;
    _r30_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 2;
    _r39_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 3;
    _r48_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 7;
    _r29_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r15.i = _r88.i;
    _r12.i = _r89.i;
    _r8.i = _r90.i;
    _r9.i = _r91.i;
    _r0_o = _r87_o;
    _r1_o = _r37_o;
    _r2.i = _r15.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r12.i + _r9.i;
    _r7.i = ((global::com.codename1.ui.Image) _r28_o).getHeight();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r28_o;
    _r2.i = _r15.i;
    _r3.i = _r6.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r19_o).getWidth();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r19_o;
    _r2.i = _r6.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r29_o).getWidth();
    _r6.i = _r6.i - _r7.i;
    _r7.i = _r12.i + _r9.i;
    _r10.i = ((global::com.codename1.ui.Image) _r29_o).getHeight();
    _r7.i = _r7.i - _r10.i;
    _r0_o = _r87_o;
    _r1_o = _r29_o;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r34_o = null;
    _r24_o = null;
    _r43_o = null;
    _r52_o = null;
    _r25.i = 0;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    if (_r6_o == null) goto label808;
    _r63.i = ((global::com.codename1.ui.Component) _r92_o).getAbsoluteY();
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r82.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getY();
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r81.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getX();
    _r62.i = ((global::com.codename1.ui.Component) _r92_o).getAbsoluteX();
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getHeight();
    _r6.i = _r6.i + _r82.i;
    _r0.i = _r63.i;
    _r1.i = _r6.i;
    if (_r0.i < _r1.i) goto label896;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fspecialTile;
    _r6_o = _r0_o;
    _r7.i = 0;
    _r24_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getWidth();
    _r6.i = _r6.i / 2;
    _r6.i = _r6.i + _r81.i;
    _r6.i = _r6.i - _r62.i;
    _r7.i = ((global::com.codename1.ui.Image) _r24_o).getWidth();
    _r7.i = _r7.i / 2;
    _r25.i = _r6.i - _r7.i;
    label808:;
    _r26.i = 0;
    _r16_o = _r86_o;
    _r17_o = _r87_o;
    _r18_o = _r37_o;
    _r21.i = _r15.i;
    _r22.i = _r12.i;
    _r23.i = _r8.i;
    ((global::com.codename1.ui.plaf.Border) _r16_o).drawImageBorderLine((global::com.codename1.ui.Graphics) _r17_o, (global::com.codename1.ui.Image) _r18_o, (global::com.codename1.ui.Image) _r19_o, (global::com.codename1.ui.Image) _r20_o, (int) _r21.i, (int) _r22.i, (int) _r23.i, (global::com.codename1.ui.Image) _r24_o, (int) _r25.i, 0!=_r26.i);
    _r6.i = _r12.i + _r9.i;
    _r7.i = ((global::com.codename1.ui.Image) _r30_o).getHeight();
    _r32.i = _r6.i - _r7.i;
    _r36.i = 1;
    _r26_o = _r86_o;
    _r27_o = _r87_o;
    _r31.i = _r15.i;
    _r33.i = _r8.i;
    _r35.i = _r25.i;
    ((global::com.codename1.ui.plaf.Border) _r26_o).drawImageBorderLine((global::com.codename1.ui.Graphics) _r27_o, (global::com.codename1.ui.Image) _r28_o, (global::com.codename1.ui.Image) _r29_o, (global::com.codename1.ui.Image) _r30_o, (int) _r31.i, (int) _r32.i, (int) _r33.i, (global::com.codename1.ui.Image) _r34_o, (int) _r35.i, 0!=_r36.i);
    _r45.i = 0;
    _r35_o = _r86_o;
    _r36_o = _r87_o;
    _r38_o = _r28_o;
    _r40.i = _r15.i;
    _r41.i = _r12.i;
    _r42.i = _r9.i;
    _r44.i = _r25.i;
    ((global::com.codename1.ui.plaf.Border) _r35_o).drawImageBorderColumn((global::com.codename1.ui.Graphics) _r36_o, (global::com.codename1.ui.Image) _r37_o, (global::com.codename1.ui.Image) _r38_o, (global::com.codename1.ui.Image) _r39_o, (int) _r40.i, (int) _r41.i, (int) _r42.i, (global::com.codename1.ui.Image) _r43_o, (int) _r44.i, 0!=_r45.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r48_o).getWidth();
    _r49.i = _r6.i - _r7.i;
    _r54.i = 1;
    _r44_o = _r86_o;
    _r45_o = _r87_o;
    _r46_o = _r19_o;
    _r47_o = _r29_o;
    _r50.i = _r12.i;
    _r51.i = _r9.i;
    _r53.i = _r25.i;
    ((global::com.codename1.ui.plaf.Border) _r44_o).drawImageBorderColumn((global::com.codename1.ui.Graphics) _r45_o, (global::com.codename1.ui.Image) _r46_o, (global::com.codename1.ui.Image) _r47_o, (global::com.codename1.ui.Image) _r48_o, (int) _r49.i, (int) _r50.i, (int) _r51.i, (global::com.codename1.ui.Image) _r52_o, (int) _r53.i, 0!=_r54.i);
    goto label20;
    label896:;
    _r6.i = ((global::com.codename1.ui.Component) _r92_o).getHeight();
    _r6.i = _r6.i + _r63.i;
    _r0.i = _r6.i;
    _r1.i = _r82.i;
    if (_r0.i > _r1.i) goto label940;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fspecialTile;
    _r6_o = _r0_o;
    _r7.i = 1;
    _r34_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getWidth();
    _r6.i = _r6.i / 2;
    _r6.i = _r6.i + _r81.i;
    _r6.i = _r6.i - _r62.i;
    _r7.i = ((global::com.codename1.ui.Image) _r34_o).getWidth();
    _r7.i = _r7.i / 2;
    _r25.i = _r6.i - _r7.i;
    goto label808;
    label940:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getWidth();
    _r6.i = _r6.i + _r81.i;
    _r0.i = _r62.i;
    _r1.i = _r6.i;
    if (_r0.i < _r1.i) goto label989;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fspecialTile;
    _r6_o = _r0_o;
    _r7.i = 2;
    _r43_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getHeight();
    _r6.i = _r6.i / 2;
    _r6.i = _r6.i + _r82.i;
    _r6.i = _r6.i - _r63.i;
    _r7.i = ((global::com.codename1.ui.Image) _r43_o).getHeight();
    _r7.i = _r7.i / 2;
    _r25.i = _r6.i - _r7.i;
    goto label808;
    label989:;
    _r6.i = ((global::com.codename1.ui.Component) _r92_o).getWidth();
    _r6.i = _r6.i + _r62.i;
    _r0.i = _r6.i;
    _r1.i = _r81.i;
    if (_r0.i > _r1.i) goto label808;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fspecialTile;
    _r6_o = _r0_o;
    _r7.i = 3;
    _r52_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._ftrackComponent;
    _r6_o = _r0_o;
    _r6.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getHeight();
    _r6.i = _r6.i / 2;
    _r6.i = _r6.i + _r82.i;
    _r6.i = _r6.i - _r63.i;
    _r7.i = ((global::com.codename1.ui.Image) _r52_o).getHeight();
    _r7.i = _r7.i / 2;
    _r25.i = _r6.i - _r7.i;
    goto label808;
    label1033:;
    _r68.i = ((global::com.codename1.ui.Graphics) _r87_o).getClipX();
    _r69.i = ((global::com.codename1.ui.Graphics) _r87_o).getClipY();
    _r67.i = ((global::com.codename1.ui.Graphics) _r87_o).getClipWidth();
    _r66.i = ((global::com.codename1.ui.Graphics) _r87_o).getClipHeight();
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 4;
    _r37_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 5;
    _r19_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 6;
    _r28_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 8;
    _r14_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getWidth();
    _r15.i = _r15.i + _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getHeight();
    _r12.i = _r12.i + _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getHeight();
    _r7.i = ((global::com.codename1.ui.Image) _r28_o).getHeight();
    _r6.i = _r6.i + _r7.i;
    _r9.i = _r9.i - _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r37_o).getWidth();
    _r7.i = ((global::com.codename1.ui.Image) _r19_o).getWidth();
    _r6.i = _r6.i + _r7.i;
    _r8.i = _r8.i - _r6.i;
    _r0_o = _r87_o;
    _r1.i = _r15.i;
    _r2.i = _r12.i;
    _r3.i = _r8.i;
    _r4.i = _r9.i;
    ((global::com.codename1.ui.Graphics) _r0_o).clipRect((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i);
    if (_r14_o == null) goto label1146;
    if (_r8.i <= 0) goto label1146;
    if (_r9.i <= 0) goto label1146;
    _r65.i = ((global::com.codename1.ui.Image) _r14_o).getWidth();
    _r64.i = ((global::com.codename1.ui.Image) _r14_o).getHeight();
    _r13_o = _r87_o;
    _r16.i = _r12.i;
    _r17.i = _r8.i;
    _r18.i = _r9.i;
    ((global::com.codename1.ui.Graphics) _r13_o).drawImage((global::com.codename1.ui.Image) _r14_o, (int) _r15.i, (int) _r16.i, (int) _r17.i, (int) _r18.i);
    label1146:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 0;
    _r20_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 1;
    _r30_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 2;
    _r39_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 3;
    _r48_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 7;
    _r29_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r87_o;
    _r1.i = _r68.i;
    _r2.i = _r69.i;
    _r3.i = _r67.i;
    _r4.i = _r66.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setClip((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i);
    _r15.i = _r88.i;
    _r12.i = _r89.i;
    _r8.i = _r90.i;
    _r9.i = _r91.i;
    _r0_o = _r87_o;
    _r1_o = _r37_o;
    _r2.i = _r15.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r12.i + _r9.i;
    _r7.i = ((global::com.codename1.ui.Image) _r28_o).getHeight();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r28_o;
    _r2.i = _r15.i;
    _r3.i = _r6.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r19_o).getWidth();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r19_o;
    _r2.i = _r6.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r29_o).getWidth();
    _r6.i = _r6.i - _r7.i;
    _r7.i = _r12.i + _r9.i;
    _r10.i = ((global::com.codename1.ui.Image) _r29_o).getHeight();
    _r7.i = _r7.i - _r10.i;
    _r0_o = _r87_o;
    _r1_o = _r29_o;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r16_o = _r86_o;
    _r17_o = _r87_o;
    _r18_o = _r37_o;
    _r21.i = _r15.i;
    _r22.i = _r12.i;
    _r23.i = _r8.i;
    ((global::com.codename1.ui.plaf.Border) _r16_o).drawImageBorderLineScale((global::com.codename1.ui.Graphics) _r17_o, (global::com.codename1.ui.Image) _r18_o, (global::com.codename1.ui.Image) _r19_o, (global::com.codename1.ui.Image) _r20_o, (int) _r21.i, (int) _r22.i, (int) _r23.i);
    _r6.i = _r12.i + _r9.i;
    _r7.i = ((global::com.codename1.ui.Image) _r30_o).getHeight();
    _r32.i = _r6.i - _r7.i;
    _r26_o = _r86_o;
    _r27_o = _r87_o;
    _r31.i = _r15.i;
    _r33.i = _r8.i;
    ((global::com.codename1.ui.plaf.Border) _r26_o).drawImageBorderLineScale((global::com.codename1.ui.Graphics) _r27_o, (global::com.codename1.ui.Image) _r28_o, (global::com.codename1.ui.Image) _r29_o, (global::com.codename1.ui.Image) _r30_o, (int) _r31.i, (int) _r32.i, (int) _r33.i);
    _r35_o = _r86_o;
    _r36_o = _r87_o;
    _r38_o = _r28_o;
    _r40.i = _r15.i;
    _r41.i = _r12.i;
    _r42.i = _r9.i;
    ((global::com.codename1.ui.plaf.Border) _r35_o).drawImageBorderColumnScale((global::com.codename1.ui.Graphics) _r36_o, (global::com.codename1.ui.Image) _r37_o, (global::com.codename1.ui.Image) _r38_o, (global::com.codename1.ui.Image) _r39_o, (int) _r40.i, (int) _r41.i, (int) _r42.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r48_o).getWidth();
    _r49.i = _r6.i - _r7.i;
    _r44_o = _r86_o;
    _r45_o = _r87_o;
    _r46_o = _r19_o;
    _r47_o = _r29_o;
    _r50.i = _r12.i;
    _r51.i = _r9.i;
    ((global::com.codename1.ui.plaf.Border) _r44_o).drawImageBorderColumnScale((global::com.codename1.ui.Graphics) _r45_o, (global::com.codename1.ui.Image) _r46_o, (global::com.codename1.ui.Image) _r47_o, (global::com.codename1.ui.Image) _r48_o, (int) _r49.i, (int) _r50.i, (int) _r51.i);
    _r0_o = _r87_o;
    _r1.i = _r68.i;
    _r2.i = _r69.i;
    _r3.i = _r67.i;
    _r4.i = _r66.i;
    ((global::com.codename1.ui.Graphics) _r0_o).setClip((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i);
    goto label20;
    label1358:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 0;
    _r39_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 1;
    _r48_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 2;
    _r14_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r6_o = ((global::com.codename1.ui.Component) _r92_o).getUIManager();
    // Value=centerAlignHBorderBool
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 72)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 108))}));
    _r10.i = 0;
    _r6.i = ((global::com.codename1.ui.plaf.UIManager) _r6_o).isThemeConstant((global::java.lang.String) _r7_o, 0!=_r10.i) ? 1 : 0;
    if (_r6.i == 0) goto label1410;
    _r6.i = 0;
    _r7.i = _r9.i / 2;
    _r10.i = ((global::com.codename1.ui.Image) _r14_o).getHeight();
    _r10.i = _r10.i / 2;
    _r7.i = _r7.i - _r10.i;
    _r6.i = global::java.lang.Math.max((int) _r6.i, (int) _r7.i);
    _r12.i = _r12.i + _r6.i;
    label1410:;
    _r0_o = _r87_o;
    _r1_o = _r39_o;
    _r2.i = _r15.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r15.i + _r8.i;
    _r7.i = ((global::com.codename1.ui.Image) _r48_o).getWidth();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r48_o;
    _r2.i = _r6.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = ((global::com.codename1.ui.Image) _r39_o).getWidth();
    _r55.i = _r15.i + _r6.i;
    _r6.i = ((global::com.codename1.ui.Image) _r39_o).getWidth();
    _r6.i = _r8.i - _r6.i;
    _r7.i = ((global::com.codename1.ui.Image) _r48_o).getWidth();
    _r57.i = _r6.i - _r7.i;
    _r58.i = ((global::com.codename1.ui.Image) _r14_o).getHeight();
    _r53_o = _r87_o;
    _r54_o = _r14_o;
    _r56.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r53_o).tileImage((global::com.codename1.ui.Image) _r54_o, (int) _r55.i, (int) _r56.i, (int) _r57.i, (int) _r58.i);
    goto label20;
    label1468:;
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 0;
    _r20_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 1;
    _r30_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r86_o;
    _r0_o = ((global::com.codename1.ui.plaf.Border) _r0_o)._fimages;
    _r6_o = _r0_o;
    _r7.i = 2;
    _r14_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r6_o)[_r7.i];
    _r0_o = _r87_o;
    _r1_o = _r20_o;
    _r2.i = _r15.i;
    _r3.i = _r12.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = _r12.i + _r9.i;
    _r7.i = ((global::com.codename1.ui.Image) _r30_o).getHeight();
    _r6.i = _r6.i - _r7.i;
    _r0_o = _r87_o;
    _r1_o = _r30_o;
    _r2.i = _r15.i;
    _r3.i = _r6.i;
    ((global::com.codename1.ui.Graphics) _r0_o).drawImage((global::com.codename1.ui.Image) _r1_o, (int) _r2.i, (int) _r3.i);
    _r6.i = ((global::com.codename1.ui.Image) _r20_o).getHeight();
    _r16.i = _r12.i + _r6.i;
    _r17.i = ((global::com.codename1.ui.Image) _r14_o).getWidth();
    _r6.i = ((global::com.codename1.ui.Image) _r20_o).getHeight();
    _r6.i = _r9.i - _r6.i;
    _r7.i = ((global::com.codename1.ui.Image) _r30_o).getHeight();
    _r18.i = _r6.i - _r7.i;
    _r13_o = _r87_o;
    ((global::com.codename1.ui.Graphics) _r13_o).tileImage((global::com.codename1.ui.Image) _r14_o, (int) _r15.i, (int) _r16.i, (int) _r17.i, (int) _r18.i);
    goto label20;
    label1546:;
    _r85.i = _r15.i;
    goto label38;
    label1550:;
//XMLVM_END_WRAPPER[com.codename1.ui.plaf.Border: void paintBorderBackground(com.codename1.ui.Graphics, int, int, int, int, com.codename1.ui.Component)]
}
Beispiel #2
0
public static global::System.Object reflectionImage(global::com.codename1.ui.Image n1, float n2, int n3, int n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.Effects: com.codename1.ui.Image reflectionImage(com.codename1.ui.Image, float, int, int)]
    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._nExceptionAdapter _ex = null;
    _r9_o = n1;
    _r10.f = n2;
    _r11.i = n3;
    _r12.i = n4;
    _r6.i = ((global::com.codename1.ui.Image) _r9_o).getWidth();
    _r7.i = ((global::com.codename1.ui.Image) _r9_o).getHeight();
    _r0.f = (float) _r7.i;
    _r0.f = _r0.f * _r10.f;
    _r0.i = (int) _r0.f;
    _r8.i = _r0.i * _r6.i;
    _r1_o = new global::com.codename1.ui.RGBImage();
    _r0.i = _r7.i + _r12.i;
    _r0.i = _r0.i * _r6.i;
    _r0.i = _r0.i + _r8.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r0.i]);
    _r2.f = (float) _r7.i;
    _r10.f = _r10.f * _r2.f;
    _r10.i = (int) _r10.f;
    _r10.i = _r10.i + _r12.i;
    _r10.i = _r10.i + _r7.i;
    ((global::com.codename1.ui.RGBImage) _r1_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r6.i, (int) _r10.i);
    _r2.i = 0;
    _r3.i = 0;
    _r4.i = 0;
    _r5.i = 0;
    _r0_o = _r9_o;
    ((global::com.codename1.ui.Image) _r0_o).toRGB((global::com.codename1.ui.RGBImage) _r1_o, (int) _r2.i, (int) _r3.i, (int) _r4.i, (int) _r5.i, (int) _r6.i, (int) _r7.i);
    _r10_o = ((global::com.codename1.ui.RGBImage) _r1_o).getRGB();
    _r9.i = 0;
    _r0.i = _r9.i;
    label43:;
    if (_r0.i >= _r8.i) goto label102;
    _r9.i = _r6.i * _r7.i;
    _r9.i = _r9.i - _r0.i;
    _r2.i = 1;
    _r3.i = _r9.i - _r2.i;
    _r9.i = _r0.i % _r6.i;
    _r2.i = _r6.i - _r9.i;
    _r2.i = _r2.i + _r0.i;
    _r9.i = _r2.i - _r9.i;
    _r2.i = ((global::org.xmlvm._nIArray) _r10_o).Length;
    _r9.i = _r8.i - _r9.i;
    _r9.i = _r2.i - _r9.i;
    _r2.i = _r12.i * _r6.i;
    _r2.i = _r2.i + _r9.i;
    _r9.i = ((global::org.xmlvm._nArrayAdapter<int>) _r10_o)[_r3.i];
    _r4.i = -16777216;
    _r9.i = _r9.i & _r4.i;
    if (_r9.i == 0) goto label98;
    _r9.i = ((global::org.xmlvm._nIArray) _r10_o).Length;
    if (_r2.i >= _r9.i) goto label98;
    _r9.f = (float) _r11.i;
    _r4.f = (float) _r8.i;
    _r5.f = (float) _r0.i;
    _r4.f = _r4.f - _r5.f;
    _r9.f = _r9.f * _r4.f;
    _r4.f = (float) _r8.i;
    _r9.f = _r9.f / _r4.f;
    _r9.i = (int) _r9.f;
    _r3.i = ((global::org.xmlvm._nArrayAdapter<int>) _r10_o)[_r3.i];
    _r4.i = 16777215;
    _r3.i = _r3.i & _r4.i;
    _r9.i = _r9.i << (0x1f & 24);
    _r4.i = -16777216;
    _r9.i = _r9.i & _r4.i;
    _r9.i = _r9.i | _r3.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r10_o)[_r2.i] = _r9.i;
    label98:;
    _r9.i = _r0.i + 1;
    _r0.i = _r9.i;
    goto label43;
    label102:;
    return (global::com.codename1.ui.Image) _r1_o;
//XMLVM_END_WRAPPER[com.codename1.ui.util.Effects: com.codename1.ui.Image reflectionImage(com.codename1.ui.Image, float, int, int)]
}
public override void initTransition(){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.animations.CommonTransitions: void initTransition()]
    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._nExceptionAdapter _ex = null;
    _r24_o = this;
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._ffirstFinished = 0!=_r0.i;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    if (_r5.i != 0) goto label14;
    label13:;
    return;
    label14:;
    _r7.l = global::java.lang.System.currentTimeMillis();
    _r0.l = _r7.l;
    _r2_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r2_o)._fstartTime = _r0.l;
    _r20_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r15_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fposition = _r0.i;
    _r23.i = ((global::com.codename1.ui.Component) _r20_o).getWidth();
    _r18.i = ((global::com.codename1.ui.Component) _r20_o).getHeight();
    if (_r23.i <= 0) goto label13;
    if (_r18.i <= 0) goto label13;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 5;
    if (_r5.i != _r6.i) goto label147;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r5.i == 0) goto label141;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r5.i == 0) goto label141;
    _r5.i = 100;
    _r6.i = 200;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fspeed;
    _r7.i = _r0.i;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r5.i = 0;
    _r6_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r6.i = ((global::com.codename1.ui.Component) _r6_o).getWidth();
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fspeed;
    _r7.i = _r0.i;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion2 = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion2;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    goto label13;
    label141:;
    _r5.i = 1;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._ftransitionType = _r0.i;
    label147:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 6;
    if (_r5.i != _r6.i) goto label429;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i == 0) goto label398;
    _r5.i = 600;
    _r6.i = 1100;
    _r7.i = 150;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    _r5.i = 100;
    _r6.i = 255;
    _r7.i = 225;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion2 = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion2;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fpulseState = (sbyte) _r0.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r0_o = _r24_o;
    _r1_o = _r5_o;
    _r12_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Component) _r12_o).getX();
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._foriginalX = _r0.i;
    _r5.i = ((global::com.codename1.ui.Component) _r12_o).getY();
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._foriginalY = _r0.i;
    _r5.i = ((global::com.codename1.ui.Component) _r12_o).getWidth();
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._foriginalWidth = _r0.i;
    _r5.i = ((global::com.codename1.ui.Component) _r12_o).getHeight();
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._foriginalHeight = _r0.i;
    _r13_o = global::com.codename1.ui.Display.getInstance();
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r17_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Display) _r13_o).getDisplayWidth();
    _r0_o = _r24_o;
    _r1_o = _r17_o;
    _r6_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r6.i = ((global::com.codename1.ui.Container) _r6_o).getWidth();
    _r5.i = global::java.lang.Math.min((int) _r5.i, (int) _r6.i);
    _r6.i = ((global::com.codename1.ui.Display) _r13_o).getDisplayHeight();
    _r7_o = ((global::com.codename1.ui.Dialog) _r17_o).getContentPane();
    _r7_o = ((global::com.codename1.ui.Container) _r7_o).getParent();
    _r7.i = ((global::com.codename1.ui.Container) _r7_o).getHeight();
    _r0_o = _r24_o;
    _r1_o = _r17_o;
    _r8.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogTitleHeight((global::com.codename1.ui.Dialog) _r1_o);
    _r7.i = _r7.i + _r8.i;
    _r6.i = global::java.lang.Math.min((int) _r6.i, (int) _r7.i);
    _r7.i = 0;
    _r5_o = global::com.codename1.ui.Image.createImage((int) _r5.i, (int) _r6.i, (int) _r7.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fbuffer = (global::com.codename1.ui.Image) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r6_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r5_o = ((global::com.codename1.ui.Dialog) _r17_o).getDialogComponent();
    _r22_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r11.i = ((global::com.codename1.ui.plaf.Style) _r22_o).getBgTransparency();
    _r5.i = 255;
    _r0_o = _r22_o;
    _r1.i = _r5.i;
    ((global::com.codename1.ui.plaf.Style) _r0_o).setBgTransparency((int) _r1.i);
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r0_o = _r24_o;
    _r1_o = _r5_o;
    _r2_o = _r17_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).drawDialogCmp((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Dialog) _r2_o);
    _r5.i = _r11.i & 255;
    _r6.i = 1;
    _r0_o = _r22_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    ((global::com.codename1.ui.plaf.Style) _r0_o).setBgTransparency((int) _r1.i, 0!=_r2.i);
    goto label13;
    label398:;
    _r5.i = 0;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._ftransitionType = _r0.i;
    _r5.i = 0;
    _r6.i = 0;
    _r7.i = 0;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r5.i = 3;
    _r0.i = _r5.i;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fpulseState = (sbyte) _r0.i;
    goto label13;
    label429:;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r5.i = ((global::com.codename1.ui.Display) _r5_o).areMutableImagesFast() ? 1 : 0;
    if (_r5.i != 0) goto label447;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 4;
    if (_r5.i != _r6.i) goto label469;
    label447:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    if (_r5_o != null) goto label677;
    _r0_o = _r24_o;
    _r1.i = _r23.i;
    _r2.i = _r18.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMutableImage((int) _r1.i, (int) _r2.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fbuffer = (global::com.codename1.ui.Image) _r0_o;
    label469:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 2;
    if (_r5.i != _r6.i) goto label734;
    _r5.i = 0;
    _r6.i = 256;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fspeed;
    _r7.i = _r0.i;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r3.i = _r7.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r5.i = ((global::com.codename1.ui.Display) _r5_o).areMutableImagesFast() ? 1 : 0;
    if (_r5.i == 0) goto label13;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r6_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r5.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r5.i = -_r5.i;
    _r7.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    _r7.i = -_r7.i;
    ((global::com.codename1.ui.Graphics) _r6_o).translate((int) _r5.i, (int) _r7.i);
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r5_o = ((global::com.codename1.ui.Component) _r5_o).getParent();
    if (_r5_o == null) goto label560;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r5_o = ((global::com.codename1.ui.Component) _r5_o).getComponentForm();
    ((global::com.codename1.ui.Form) _r5_o).paintComponent((global::com.codename1.ui.Graphics) _r6_o);
    label560:;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    ((global::com.codename1.ui.Component) _r5_o).paintBackgrounds((global::com.codename1.ui.Graphics) _r6_o);
    _r5.i = 0;
    _r7.i = 0;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r8_o = _r0_o;
    _r8.i = ((global::com.codename1.ui.Image) _r8_o).getWidth();
    _r9.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r8.i = _r8.i + _r9.i;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r9_o = _r0_o;
    _r9.i = ((global::com.codename1.ui.Image) _r9_o).getHeight();
    _r10.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    _r9.i = _r9.i + _r10.i;
    ((global::com.codename1.ui.Graphics) _r6_o).setClip((int) _r5.i, (int) _r7.i, (int) _r8.i, (int) _r9.i);
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r7.i = 0;
    _r8.i = 0;
    _r0_o = _r24_o;
    _r1_o = _r6_o;
    _r2_o = _r5_o;
    _r3.i = _r7.i;
    _r4.i = _r8.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    _r5_o = new global::com.codename1.ui.RGBImage();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r7_o = _r0_o;
    _r7_o = ((global::com.codename1.ui.Image) _r7_o).getRGBCached();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r8_o = _r0_o;
    _r8.i = ((global::com.codename1.ui.Image) _r8_o).getWidth();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r9_o = _r0_o;
    _r9.i = ((global::com.codename1.ui.Image) _r9_o).getHeight();
    ((global::com.codename1.ui.RGBImage) _r5_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r7_o, (int) _r8.i, (int) _r9.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._frgbBuffer = (global::com.codename1.ui.RGBImage) _r0_o;
    _r7_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r8.i = 0;
    _r9.i = 0;
    _r10.i = 1;
    _r5_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r5_o).paint((global::com.codename1.ui.Graphics) _r6_o, (global::com.codename1.ui.Component) _r7_o, (int) _r8.i, (int) _r9.i, 0!=_r10.i);
    _r5.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r7.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    ((global::com.codename1.ui.Graphics) _r6_o).translate((int) _r5.i, (int) _r7.i);
    goto label13;
    label677:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Image) _r5_o).getWidth();
    _r0.i = _r5.i;
    _r1.i = _r23.i;
    if (_r0.i != _r1.i) goto label705;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Image) _r5_o).getHeight();
    _r0.i = _r5.i;
    _r1.i = _r18.i;
    if (_r0.i == _r1.i) goto label469;
    label705:;
    _r0_o = _r24_o;
    _r1.i = _r23.i;
    _r2.i = _r18.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMutableImage((int) _r1.i, (int) _r2.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fbuffer = (global::com.codename1.ui.Image) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._frgbBuffer = (global::com.codename1.ui.RGBImage) _r0_o;
    _r5_o = null;
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    goto label469;
    label734:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 4;
    if (_r5.i != _r6.i) goto label939;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r6_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r5.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r5.i = -_r5.i;
    _r7.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    _r7.i = -_r7.i;
    ((global::com.codename1.ui.Graphics) _r6_o).translate((int) _r5.i, (int) _r7.i);
    _r5.i = 0;
    _r7.i = 0;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r8_o = _r0_o;
    _r8.i = ((global::com.codename1.ui.Image) _r8_o).getWidth();
    _r9.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r8.i = _r8.i + _r9.i;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r9_o = _r0_o;
    _r9.i = ((global::com.codename1.ui.Image) _r9_o).getHeight();
    _r10.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    _r9.i = _r9.i + _r10.i;
    ((global::com.codename1.ui.Graphics) _r6_o).setClip((int) _r5.i, (int) _r7.i, (int) _r8.i, (int) _r9.i);
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Image) _r5_o).getWidth();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r7_o = _r0_o;
    _r7.i = ((global::com.codename1.ui.Image) _r7_o).getWidth();
    if (_r5.i != _r7.i) goto label837;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Image) _r5_o).getHeight();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r7_o = _r0_o;
    _r7.i = ((global::com.codename1.ui.Image) _r7_o).getHeight();
    if (_r5.i == _r7.i) goto label869;
    label837:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r7_o = _r0_o;
    _r7.i = ((global::com.codename1.ui.Image) _r7_o).getWidth();
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r8_o = _r0_o;
    _r8.i = ((global::com.codename1.ui.Image) _r8_o).getHeight();
    _r5_o = ((global::com.codename1.ui.Image) _r5_o).scaled((int) _r7.i, (int) _r8.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._ftimeline = (global::com.codename1.ui.Image) _r0_o;
    label869:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.animations.Timeline)) ? 1 : 0;
    if (_r5.i == 0) goto label911;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5_o = _r5_o;
    _r7.i = 0;
    ((global::com.codename1.ui.animations.Timeline) _r5_o).setTime((int) _r7.i);
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5_o = _r5_o;
    _r7.i = 0;
    ((global::com.codename1.ui.animations.Timeline) _r5_o).setLoop(0!=_r7.i);
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftimeline;
    _r5_o = _r0_o;
    _r5_o = _r5_o;
    _r7.i = 0;
    ((global::com.codename1.ui.animations.Timeline) _r5_o).setAnimationDelay((int) _r7.i);
    label911:;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r7.i = 0;
    _r8.i = 0;
    _r0_o = _r24_o;
    _r1_o = _r6_o;
    _r2_o = _r5_o;
    _r3.i = _r7.i;
    _r4.i = _r8.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    _r5.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r7.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    ((global::com.codename1.ui.Graphics) _r6_o).translate((int) _r5.i, (int) _r7.i);
    goto label13;
    label939:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 1;
    if (_r5.i == _r6.i) goto label972;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 3;
    if (_r5.i == _r6.i) goto label972;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 7;
    if (_r5.i == _r6.i) goto label972;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 8;
    if (_r5.i != _r6.i) goto label13;
    label972:;
    _r21.i = 0;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fforward ? 1 : 0;
    _r16.i = _r0.i;
    _r5_o = ((global::com.codename1.ui.Component) _r20_o).getUIManager();
    _r5_o = ((global::com.codename1.ui.plaf.UIManager) _r5_o).getLookAndFeel();
    _r5.i = ((global::com.codename1.ui.plaf.LookAndFeel) _r5_o).isRTL() ? 1 : 0;
    if (_r5.i == 0) goto label999;
    if (_r16.i != 0) goto label1089;
    _r5.i = 1;
    _r16.i = _r5.i;
    label999:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fslideType;
    _r5.i = _r0.i;
    if (_r5.i != 0) goto label1184;
    _r14.i = _r23.i;
    _r5.i = ((_r15_o != null) && (_r15_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i == 0) goto label1116;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Container) _r5_o).getWidth();
    _r21.i = _r23.i - _r5.i;
    if (_r16.i == 0) goto label1093;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = ((global::com.codename1.ui.Component) _r15_o).isRTL() ? 1 : 0;
    _r7.i = 1;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r21.i = _r21.i - _r5.i;
    label1049:;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fspeed;
    _r5.i = _r0.i;
    _r0_o = _r24_o;
    _r1.i = _r21.i;
    _r2.i = _r14.i;
    _r3.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMotion((int) _r1.i, (int) _r2.i, (int) _r3.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fmotion = (global::com.codename1.ui.animations.Motion) _r0_o;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r5.i = ((global::com.codename1.ui.Display) _r5_o).areMutableImagesFast() ? 1 : 0;
    if (_r5.i != 0) goto label1455;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    goto label13;
    label1089:;
    _r5.i = 0;
    _r16.i = _r5.i;
    goto label999;
    label1093:;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = ((global::com.codename1.ui.Component) _r15_o).isRTL() ? 1 : 0;
    _r7.i = 3;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r21.i = _r21.i - _r5.i;
    goto label1049;
    label1116:;
    _r0_o = _r20_o;
    _r0.i = ((_r0_o != null) && (_r0_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    _r5.i = _r0.i;
    if (_r5.i == 0) goto label1049;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r14.i = ((global::com.codename1.ui.Container) _r5_o).getWidth();
    if (_r16.i == 0) goto label1160;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = ((global::com.codename1.ui.Component) _r20_o).isRTL() ? 1 : 0;
    _r7.i = 1;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r14.i = _r14.i + _r5.i;
    goto label1049;
    label1160:;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = ((global::com.codename1.ui.Component) _r20_o).isRTL() ? 1 : 0;
    _r7.i = 3;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r14.i = _r14.i + _r5.i;
    goto label1049;
    label1184:;
    _r14.i = _r18.i;
    _r5.i = ((_r15_o != null) && (_r15_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i == 0) goto label1322;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Container) _r5_o).getHeight();
    _r5.i = _r18.i - _r5.i;
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r17_o = _r0_o;
    _r0_o = _r24_o;
    _r1_o = _r17_o;
    _r6.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogTitleHeight((global::com.codename1.ui.Dialog) _r1_o);
    _r21.i = _r5.i - _r6.i;
    if (_r16.i == 0) goto label1241;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = 0;
    _r7.i = 2;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r21.i = _r21.i - _r5.i;
    goto label1049;
    label1241:;
    _r0_o = _r24_o;
    _r1_o = _r15_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = 0;
    _r7.i = 0;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r21.i = _r21.i - _r5.i;
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r16_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Dialog) _r16_o).getTitleStyle();
    _r6.i = 0;
    _r7.i = 0;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r21.i = _r21.i - _r5.i;
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fdrawDialogMenu ? 1 : 0;
    _r5.i = _r0.i;
    if (_r5.i != 0) goto label1049;
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r16_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Dialog) _r16_o).getCommandCount();
    if (_r5.i <= 0) goto label1049;
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r16_o = _r0_o;
    _r5.i = 0;
    _r0_o = _r16_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.Dialog) _r0_o).getSoftButton((int) _r1.i);
    _r19_o = ((global::com.codename1.ui.Button) _r5_o).getParent();
    if (_r19_o == null) goto label1049;
    _r5.i = ((global::com.codename1.ui.Container) _r19_o).getHeight();
    _r21.i = _r21.i - _r5.i;
    goto label1049;
    label1322:;
    _r0_o = _r20_o;
    _r0.i = ((_r0_o != null) && (_r0_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    _r5.i = _r0.i;
    if (_r5.i == 0) goto label1049;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Container) _r5_o).getHeight();
    _r0_o = _r20_o;
    _r0_o = _r0_o;
    _r22_o = _r0_o;
    _r0_o = _r24_o;
    _r1_o = _r22_o;
    _r6.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogTitleHeight((global::com.codename1.ui.Dialog) _r1_o);
    _r14.i = _r5.i + _r6.i;
    if (_r16.i == 0) goto label1380;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = 0;
    _r7.i = 2;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r14.i = _r14.i + _r5.i;
    goto label1049;
    label1380:;
    _r0_o = _r24_o;
    _r1_o = _r20_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle();
    _r6.i = 0;
    _r7.i = 0;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r14.i = _r14.i + _r5.i;
    _r0_o = _r20_o;
    _r0_o = _r0_o;
    _r22_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Dialog) _r22_o).getTitleStyle();
    _r6.i = 0;
    _r7.i = 0;
    _r5.i = ((global::com.codename1.ui.plaf.Style) _r5_o).getMargin(0!=_r6.i, (int) _r7.i);
    _r14.i = _r14.i + _r5.i;
    _r0_o = _r20_o;
    _r0_o = _r0_o;
    _r22_o = _r0_o;
    _r5.i = ((global::com.codename1.ui.Dialog) _r22_o).getCommandCount();
    if (_r5.i <= 0) goto label1049;
    _r0_o = _r20_o;
    _r0_o = _r0_o;
    _r22_o = _r0_o;
    _r5.i = 0;
    _r0_o = _r22_o;
    _r1.i = _r5.i;
    _r5_o = ((global::com.codename1.ui.Dialog) _r0_o).getSoftButton((int) _r1.i);
    _r19_o = ((global::com.codename1.ui.Button) _r5_o).getParent();
    if (_r19_o == null) goto label1049;
    _r5.i = ((global::com.codename1.ui.Container) _r19_o).getHeight();
    _r14.i = _r14.i + _r5.i;
    goto label1049;
    label1455:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fbuffer;
    _r5_o = _r0_o;
    _r6_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i == 0) goto label1573;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r7.i = 0;
    _r8.i = 0;
    _r0_o = _r24_o;
    _r1_o = _r6_o;
    _r2_o = _r5_o;
    _r3.i = _r7.i;
    _r4.i = _r8.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 3;
    if (_r5.i != _r6.i) goto label1563;
    _r5.i = ((_r15_o != null) && (_r15_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i != 0) goto label1563;
    _r0_o = _r20_o;
    _r0_o = _r0_o;
    _r13_o = _r0_o;
    _r0_o = _r24_o;
    _r1_o = _r13_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Container) _r5_o).getWidth();
    _r0_o = _r24_o;
    _r1_o = _r13_o;
    _r6_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r6.i = ((global::com.codename1.ui.Container) _r6_o).getHeight();
    _r0_o = _r24_o;
    _r1_o = _r13_o;
    _r7.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogTitleHeight((global::com.codename1.ui.Dialog) _r1_o);
    _r6.i = _r6.i + _r7.i;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMutableImage((int) _r1.i, (int) _r2.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fsecondaryBuffer = (global::com.codename1.ui.Image) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fsecondaryBuffer;
    _r5_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r0_o = _r24_o;
    _r1_o = _r5_o;
    _r2_o = _r13_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).drawDialogCmp((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Dialog) _r2_o);
    label1563:;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fmotion;
    _r5_o = _r0_o;
    ((global::com.codename1.ui.animations.Motion) _r5_o).start();
    goto label13;
    label1573:;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getDestination();
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r5.i == 0) goto label1676;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r24_o).getSource();
    _r7.i = 0;
    _r8.i = 0;
    _r0_o = _r24_o;
    _r1_o = _r6_o;
    _r2_o = _r5_o;
    _r3.i = _r7.i;
    _r4.i = _r8.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 3;
    if (_r5.i != _r6.i) goto label1563;
    _r0_o = _r20_o;
    _r0.i = ((_r0_o != null) && (_r0_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    _r5.i = _r0.i;
    if (_r5.i != 0) goto label1563;
    _r0_o = _r15_o;
    _r0_o = _r0_o;
    _r13_o = _r0_o;
    _r0_o = _r24_o;
    _r1_o = _r13_o;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogParent((global::com.codename1.ui.Component) _r1_o);
    _r5.i = ((global::com.codename1.ui.Container) _r5_o).getWidth();
    _r6_o = ((global::com.codename1.ui.Dialog) _r13_o).getContentPane();
    _r6_o = ((global::com.codename1.ui.Container) _r6_o).getParent();
    _r6.i = ((global::com.codename1.ui.Container) _r6_o).getHeight();
    _r0_o = _r24_o;
    _r1_o = _r13_o;
    _r7.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).getDialogTitleHeight((global::com.codename1.ui.Dialog) _r1_o);
    _r6.i = _r6.i + _r7.i;
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMutableImage((int) _r1.i, (int) _r2.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fsecondaryBuffer = (global::com.codename1.ui.Image) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fsecondaryBuffer;
    _r5_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r0_o = _r24_o;
    _r1_o = _r5_o;
    _r2_o = _r13_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).drawDialogCmp((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Dialog) _r2_o);
    goto label1563;
    label1676:;
    _r5.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteX();
    _r5.i = -_r5.i;
    _r7.i = ((global::com.codename1.ui.Component) _r20_o).getAbsoluteY();
    _r7.i = -_r7.i;
    _r0_o = _r24_o;
    _r1_o = _r6_o;
    _r2_o = _r20_o;
    _r3.i = _r5.i;
    _r4.i = _r7.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    _r0_o = _r24_o;
    _r0.i = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._ftransitionType;
    _r5.i = _r0.i;
    _r6.i = 3;
    if (_r5.i != _r6.i) goto label1563;
    _r5.i = ((global::com.codename1.ui.Component) _r15_o).getWidth();
    _r6.i = ((global::com.codename1.ui.Component) _r15_o).getHeight();
    _r0_o = _r24_o;
    _r1.i = _r5.i;
    _r2.i = _r6.i;
    _r5_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).createMutableImage((int) _r1.i, (int) _r2.i);
    _r0_o = _r5_o;
    _r1_o = _r24_o;
    ((global::com.codename1.ui.animations.CommonTransitions) _r1_o)._fsecondaryBuffer = (global::com.codename1.ui.Image) _r0_o;
    _r0_o = _r24_o;
    _r0_o = ((global::com.codename1.ui.animations.CommonTransitions) _r0_o)._fsecondaryBuffer;
    _r5_o = _r0_o;
    _r5_o = ((global::com.codename1.ui.Image) _r5_o).getGraphics();
    _r6.i = ((global::com.codename1.ui.Component) _r15_o).getAbsoluteX();
    _r6.i = -_r6.i;
    _r7.i = ((global::com.codename1.ui.Component) _r15_o).getAbsoluteY();
    _r7.i = -_r7.i;
    _r0_o = _r24_o;
    _r1_o = _r5_o;
    _r2_o = _r15_o;
    _r3.i = _r6.i;
    _r4.i = _r7.i;
    ((global::com.codename1.ui.animations.CommonTransitions) _r0_o).paint((global::com.codename1.ui.Graphics) _r1_o, (global::com.codename1.ui.Component) _r2_o, (int) _r3.i, (int) _r4.i);
    goto label1563;
//XMLVM_END_WRAPPER[com.codename1.ui.animations.CommonTransitions: void initTransition()]
}
Beispiel #4
0
public override global::System.Object subImage(int n1, int n2, int n3, int n4, bool n5){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image subImage(int, int, int, int, boolean)]
    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._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9.i = n1;
    _r10.i = n2;
    _r11.i = n3;
    _r12.i = n4;
    _r13.i = n5 ? 1 : 0;
    _r5.i = _r11.i * _r12.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r5.i]);
    _r3.i = 0;
    label5:;
    _r5.i = ((global::org.xmlvm._nIArray) _r0_o).Length;
    if (_r3.i >= _r5.i) goto label30;
    _r2.i = _r3.i / _r11.i;
    _r1.i = _r3.i % _r11.i;
    _r5.i = _r9.i + _r1.i;
    _r6.i = _r10.i + _r2.i;
    _r7.i = ((global::com.codename1.ui.RGBImage) _r8_o)._fwidth;
    _r6.i = _r6.i * _r7.i;
    _r4.i = _r5.i + _r6.i;
    _r5_o = ((global::com.codename1.ui.RGBImage) _r8_o)._frgb;
    _r5.i = ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r4.i];
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r3.i] = _r5.i;
    _r3.i = _r3.i + 1;
    goto label5;
    label30:;
    _r5_o = new global::com.codename1.ui.RGBImage();
    ((global::com.codename1.ui.RGBImage) _r5_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r0_o, (int) _r11.i, (int) _r12.i);
    return (global::com.codename1.ui.Image) _r5_o;
//XMLVM_END_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image subImage(int, int, int, int, boolean)]
}
Beispiel #5
0
public override global::System.Object modifyAlpha(sbyte n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image modifyAlpha(byte)]
    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._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r8.i = n1;
    _r6.i = 0;
    _r5.i = -16777216;
    _r3_o = ((global::com.codename1.ui.RGBImage) _r7_o)._frgb;
    _r3.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    _r1_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r3.i]);
    _r3_o = ((global::com.codename1.ui.RGBImage) _r7_o)._frgb;
    _r4_o = ((global::com.codename1.ui.RGBImage) _r7_o)._frgb;
    _r4.i = ((global::org.xmlvm._nIArray) _r4_o).Length;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r3_o, (int) _r6.i, (global::java.lang.Object) _r1_o, (int) _r6.i, (int) _r4.i);
    _r3.i = _r8.i << (0x1f & 24);
    _r0.i = _r3.i & _r5.i;
    _r2.i = 0;
    label21:;
    _r3_o = ((global::com.codename1.ui.RGBImage) _r7_o)._frgb;
    _r3.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    if (_r2.i >= _r3.i) goto label43;
    _r3.i = ((global::org.xmlvm._nArrayAdapter<int>) _r1_o)[_r2.i];
    _r3.i = _r3.i & _r5.i;
    if (_r3.i == 0) goto label40;
    _r3.i = ((global::org.xmlvm._nArrayAdapter<int>) _r1_o)[_r2.i];
    _r4.i = 16777215;
    _r3.i = _r3.i & _r4.i;
    _r3.i = _r3.i | _r0.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r1_o)[_r2.i] = _r3.i;
    label40:;
    _r2.i = _r2.i + 1;
    goto label21;
    label43:;
    _r3_o = new global::com.codename1.ui.RGBImage();
    _r4.i = ((global::com.codename1.ui.RGBImage) _r7_o)._fwidth;
    _r5.i = ((global::com.codename1.ui.RGBImage) _r7_o)._fheight;
    ((global::com.codename1.ui.RGBImage) _r3_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r1_o, (int) _r4.i, (int) _r5.i);
    return (global::com.codename1.ui.Image) _r3_o;
//XMLVM_END_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image modifyAlpha(byte)]
}
Beispiel #6
0
public override global::System.Object scaled(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image scaled(int, int)]
    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._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r8.i = n1;
    _r9.i = n2;
    _r1.i = ((global::com.codename1.ui.RGBImage) _r7_o).getWidth();
    _r2.i = ((global::com.codename1.ui.RGBImage) _r7_o).getHeight();
    if (_r1.i != _r8.i) goto label14;
    if (_r2.i != _r9.i) goto label14;
    _r0_o = _r7_o;
    label13:;
    return (global::com.codename1.ui.Image) _r0_o;
    label14:;
    _r5_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r1.i]);
    _r0.i = _r8.i * _r9.i;
    _r6_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r0.i]);
    _r0_o = _r7_o;
    _r3.i = _r9.i;
    _r4.i = _r8.i;
    ((global::com.codename1.ui.RGBImage) _r0_o).scaleArray((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i, (global::org.xmlvm._nArrayAdapter<int>) _r5_o, (global::org.xmlvm._nArrayAdapter<int>) _r6_o);
    _r0_o = new global::com.codename1.ui.RGBImage();
    ((global::com.codename1.ui.RGBImage) _r0_o).@this((global::org.xmlvm._nArrayAdapter<int>) _r6_o, (int) _r8.i, (int) _r9.i);
    goto label13;
//XMLVM_END_WRAPPER[com.codename1.ui.RGBImage: com.codename1.ui.Image scaled(int, int)]
}