コード例 #1
0
        public static global::Com.Nineoldandroids.Animation.ObjectAnimator OfPropertyValuesHolder(global::Java.Lang.Object p0, params global:: Com.Nineoldandroids.Animation.PropertyValuesHolder[] p1)
        {
            if (id_ofPropertyValuesHolder_Ljava_lang_Object_arrayLcom_nineoldandroids_animation_PropertyValuesHolder_ == IntPtr.Zero)
            {
                id_ofPropertyValuesHolder_Ljava_lang_Object_arrayLcom_nineoldandroids_animation_PropertyValuesHolder_ = JNIEnv.GetStaticMethodID(class_ref, "ofPropertyValuesHolder", "(Ljava/lang/Object;[Lcom/nineoldandroids/animation/PropertyValuesHolder;)Lcom/nineoldandroids/animation/ObjectAnimator;");
            }
            IntPtr native_p1 = JNIEnv.NewArray(p1);

            global::Com.Nineoldandroids.Animation.ObjectAnimator __ret = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.ObjectAnimator> (JNIEnv.CallStaticObjectMethod(class_ref, id_ofPropertyValuesHolder_Ljava_lang_Object_arrayLcom_nineoldandroids_animation_PropertyValuesHolder_, new JValue(p0), new JValue(native_p1)), JniHandleOwnership.TransferLocalRef);
            if (p1 != null)
            {
                JNIEnv.CopyArray(native_p1, p1);
                JNIEnv.DeleteLocalRef(native_p1);
            }
            return(__ret);
        }
コード例 #2
0
        public static global::Com.Nineoldandroids.Animation.ObjectAnimator OfFloat(global::Java.Lang.Object p0, global::Com.Nineoldandroids.Util.Property p1, params float[] p2)
        {
            if (id_ofFloat_Ljava_lang_Object_Lcom_nineoldandroids_util_Property_arrayF == IntPtr.Zero)
            {
                id_ofFloat_Ljava_lang_Object_Lcom_nineoldandroids_util_Property_arrayF = JNIEnv.GetStaticMethodID(class_ref, "ofFloat", "(Ljava/lang/Object;Lcom/nineoldandroids/util/Property;[F)Lcom/nineoldandroids/animation/ObjectAnimator;");
            }
            IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0);
            IntPtr native_p2 = JNIEnv.NewArray(p2);

            global::Com.Nineoldandroids.Animation.ObjectAnimator __ret = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.ObjectAnimator> (JNIEnv.CallStaticObjectMethod(class_ref, id_ofFloat_Ljava_lang_Object_Lcom_nineoldandroids_util_Property_arrayF, new JValue(native_p0), new JValue(p1), new JValue(native_p2)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            if (p2 != null)
            {
                JNIEnv.CopyArray(native_p2, p2);
                JNIEnv.DeleteLocalRef(native_p2);
            }
            return(__ret);
        }
コード例 #3
0
        public static global::Com.Nineoldandroids.Animation.ObjectAnimator OfObject(global::Java.Lang.Object p0, string p1, global::Com.Nineoldandroids.Animation.ITypeEvaluator p2, params global:: Java.Lang.Object[] p3)
        {
            if (id_ofObject_Ljava_lang_Object_Ljava_lang_String_Lcom_nineoldandroids_animation_TypeEvaluator_arrayLjava_lang_Object_ == IntPtr.Zero)
            {
                id_ofObject_Ljava_lang_Object_Ljava_lang_String_Lcom_nineoldandroids_animation_TypeEvaluator_arrayLjava_lang_Object_ = JNIEnv.GetStaticMethodID(class_ref, "ofObject", "(Ljava/lang/Object;Ljava/lang/String;Lcom/nineoldandroids/animation/TypeEvaluator;[Ljava/lang/Object;)Lcom/nineoldandroids/animation/ObjectAnimator;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p3 = JNIEnv.NewArray(p3);

            global::Com.Nineoldandroids.Animation.ObjectAnimator __ret = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.ObjectAnimator> (JNIEnv.CallStaticObjectMethod(class_ref, id_ofObject_Ljava_lang_Object_Ljava_lang_String_Lcom_nineoldandroids_animation_TypeEvaluator_arrayLjava_lang_Object_, new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(native_p3)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p1);
            if (p3 != null)
            {
                JNIEnv.CopyArray(native_p3, p3);
                JNIEnv.DeleteLocalRef(native_p3);
            }
            return(__ret);
        }
コード例 #4
0
        public static global::Com.Nineoldandroids.Animation.ObjectAnimator OfInt(global::Java.Lang.Object p0, string p1, params int[] p2)
        {
            if (id_ofInt_Ljava_lang_Object_Ljava_lang_String_arrayI == IntPtr.Zero)
            {
                id_ofInt_Ljava_lang_Object_Ljava_lang_String_arrayI = JNIEnv.GetStaticMethodID(class_ref, "ofInt", "(Ljava/lang/Object;Ljava/lang/String;[I)Lcom/nineoldandroids/animation/ObjectAnimator;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewArray(p2);

            global::Com.Nineoldandroids.Animation.ObjectAnimator __ret = global::Java.Lang.Object.GetObject <global::Com.Nineoldandroids.Animation.ObjectAnimator> (JNIEnv.CallStaticObjectMethod(class_ref, id_ofInt_Ljava_lang_Object_Ljava_lang_String_arrayI, new JValue(p0), new JValue(native_p1), new JValue(native_p2)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p1);
            if (p2 != null)
            {
                JNIEnv.CopyArray(native_p2, p2);
                JNIEnv.DeleteLocalRef(native_p2);
            }
            return(__ret);
        }