Example #1
0
public override global::System.Object scaled(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.animations.Timeline: 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._nExceptionAdapter _ex = null;
    _r3_o = this;
    _r4.i = n1;
    _r5.i = n2;
    _r0_o = new global::com.codename1.ui.animations.Timeline();
    ((global::com.codename1.ui.animations.Timeline) _r0_o).@this();
    _r1.i = ((global::com.codename1.ui.animations.Timeline) _r3_o)._fanimationDelay;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fanimationDelay = _r1.i;
    _r1_o = ((global::com.codename1.ui.animations.Timeline) _r3_o)._fanimations;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fanimations = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o;
    _r1.l = ((global::com.codename1.ui.animations.Timeline) _r3_o)._fcurrentTime;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fcurrentTime = _r1.l;
    _r1.i = ((global::com.codename1.ui.animations.Timeline) _r3_o)._fduration;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fduration = _r1.i;
    _r1_o = ((global::com.codename1.ui.animations.Timeline) _r3_o)._fsize;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fsize = (global::com.codename1.ui.geom.Dimension) _r1_o;
    _r1.i = ((global::com.codename1.ui.animations.Timeline) _r3_o)._ftime;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._ftime = _r1.i;
    _r1_o = new global::com.codename1.ui.geom.Dimension();
    ((global::com.codename1.ui.geom.Dimension) _r1_o).@this((int) _r4.i, (int) _r5.i);
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fscaledTo = (global::com.codename1.ui.geom.Dimension) _r1_o;
    return (global::com.codename1.ui.Image) _r0_o;
//XMLVM_END_WRAPPER[com.codename1.ui.animations.Timeline: com.codename1.ui.Image scaled(int, int)]
}
Example #2
0
public static global::System.Object createTimeline(int n1, global::org.xmlvm._nArrayAdapter<global::System.Object> n2, global::com.codename1.ui.geom.Dimension n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.animations.Timeline: com.codename1.ui.animations.Timeline createTimeline(int, com.codename1.ui.animations.AnimationObject[], com.codename1.ui.geom.Dimension)]
    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._nExceptionAdapter _ex = null;
    _r4.i = n1;
    _r5_o = n2;
    _r6_o = n3;
    if (_r4.i > 0) goto label27;
    _r1_o = new global::java.lang.IllegalArgumentException();
    _r2_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r2_o).@this();
    // Value=Illegal duration 
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 32))}));
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((global::java.lang.String) _r3_o);
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((int) _r4.i);
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).toString();
    ((global::java.lang.IllegalArgumentException) _r1_o).@this((global::java.lang.String) _r2_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r1_o);
    label27:;
    _r0_o = new global::com.codename1.ui.animations.Timeline();
    ((global::com.codename1.ui.animations.Timeline) _r0_o).@this();
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fduration = _r4.i;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fanimations = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o;
    ((global::com.codename1.ui.animations.Timeline) _r0_o)._fsize = (global::com.codename1.ui.geom.Dimension) _r6_o;
    return (global::com.codename1.ui.animations.Timeline) _r0_o;
//XMLVM_END_WRAPPER[com.codename1.ui.animations.Timeline: com.codename1.ui.animations.Timeline createTimeline(int, com.codename1.ui.animations.AnimationObject[], com.codename1.ui.geom.Dimension)]
}