Example #1
0
#pragma warning restore 0649

        public void OnSpringUpdate(global::Com.Facebook.Rebound.Spring p0)
        {
            var __h = OnSpringUpdateHandler;

            if (__h != null)
            {
                __h(sender, new SpringUpdateEventArgs(p0));
            }
        }
Example #2
0
        public unsafe void OnSpringActivate(global::Com.Facebook.Rebound.Spring p0)
        {
            if (id_onSpringActivate_Lcom_facebook_rebound_Spring_ == IntPtr.Zero)
            {
                id_onSpringActivate_Lcom_facebook_rebound_Spring_ = JNIEnv.GetMethodID(class_ref, "onSpringActivate", "(Lcom/facebook/rebound/Spring;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSpringActivate_Lcom_facebook_rebound_Spring_, __args);
        }
Example #3
0
        public virtual unsafe void OnSpringUpdate(global::Com.Facebook.Rebound.Spring p0)
        {
            if (id_onSpringUpdate_Lcom_facebook_rebound_Spring_ == IntPtr.Zero)
            {
                id_onSpringUpdate_Lcom_facebook_rebound_Spring_ = JNIEnv.GetMethodID(class_ref, "onSpringUpdate", "(Lcom/facebook/rebound/Spring;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSpringUpdate_Lcom_facebook_rebound_Spring_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onSpringUpdate", "(Lcom/facebook/rebound/Spring;)V"), __args);
                }
            } finally {
            }
        }
Example #4
0
 static void n_OnSpringUpdate_Lcom_facebook_rebound_Spring_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.SpringChain __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.SpringChain> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.Spring      p0     = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.Spring> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSpringUpdate(p0);
 }
 static void n_OnSpringAtRest_Lcom_facebook_rebound_Spring_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.SimpleSpringListener __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.SimpleSpringListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.Spring p0 = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.Spring> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSpringAtRest(p0);
 }
Example #6
0
 public SpringUpdateEventArgs(global::Com.Facebook.Rebound.Spring p0)
 {
     this.p0 = p0;
 }
Example #7
0
 public SpringEndStateChangeEventArgs(global::Com.Facebook.Rebound.Spring p0)
 {
     this.p0 = p0;
 }