Beispiel #1
0
 public RotateEventArgs(bool handled, global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0, float p1, float p2)
 {
     this.handled = handled;
     this.p0      = p0;
     this.p1      = p1;
     this.p2      = p2;
 }
Beispiel #2
0
 public RotateEndEventArgs(global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0, float p1, float p2, float p3)
 {
     this.p0 = p0;
     this.p1 = p1;
     this.p2 = p2;
     this.p3 = p3;
 }
Beispiel #3
0
            static bool n_OnRotate_Lcom_mapbox_android_gestures_RotateGestureDetector_FF(IntPtr jnienv, IntPtr native__this, IntPtr native_detector, float rotationDegreesSinceLast, float rotationDegreesSinceFirst)
            {
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector detector = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (native_detector, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.OnRotate(detector, rotationDegreesSinceLast, rotationDegreesSinceFirst);

                return(__ret);
            }
Beispiel #4
0
            static bool n_OnRotate_Lcom_mapbox_android_gestures_RotateGestureDetector_FF(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, float p1, float p2)
            {
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector.IOnRotateGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector.IOnRotateGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0 = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (native_p0, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.OnRotate(p0, p1, p2);

                return(__ret);
            }
Beispiel #5
0
            static bool n_OnRotateBegin_Lcom_mapbox_android_gestures_RotateGestureDetector_(IntPtr jnienv, IntPtr native__this, IntPtr native_detector)
            {
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Mapbox.Android.Gestures.RotateGestureDetector detector = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (native_detector, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.OnRotateBegin(detector);

                return(__ret);
            }
Beispiel #6
0
#pragma warning restore 0649

            public void OnRotateEnd(global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0, float p1, float p2, float p3)
            {
                var __h = OnRotateEndHandler;

                if (__h != null)
                {
                    __h(sender, new RotateEndEventArgs(p0, p1, p2, p3));
                }
            }
Beispiel #7
0
            public virtual unsafe bool OnRotateBegin(global::Com.Mapbox.Android.Gestures.RotateGestureDetector detector)
            {
                const string __id = "onRotateBegin.(Lcom/mapbox/android/gestures/RotateGestureDetector;)Z";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                    __args [0] = new JniArgumentValue((detector == null) ? IntPtr.Zero : ((global::Java.Lang.Object)detector).Handle);
                    var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                    return(__rm);
                } finally {
                }
            }
Beispiel #8
0
            public unsafe bool OnRotateBegin(global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0)
            {
                if (id_onRotateBegin_Lcom_mapbox_android_gestures_RotateGestureDetector_ == IntPtr.Zero)
                {
                    id_onRotateBegin_Lcom_mapbox_android_gestures_RotateGestureDetector_ = JNIEnv.GetMethodID(class_ref, "onRotateBegin", "(Lcom/mapbox/android/gestures/RotateGestureDetector;)Z");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_onRotateBegin_Lcom_mapbox_android_gestures_RotateGestureDetector_, __args);

                return(__ret);
            }
Beispiel #9
0
#pragma warning restore 0649

            public bool OnRotateBegin(global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0)
            {
                var __h = OnRotateBeginHandler;

                if (__h == null)
                {
                    return(false);
                }
                var __e = new RotateBeginEventArgs(true, p0);

                __h(sender, __e);
                return(__e.Handled);
            }
Beispiel #10
0
            public virtual unsafe void OnRotateEnd(global::Com.Mapbox.Android.Gestures.RotateGestureDetector detector, float velocityX, float velocityY, float angularVelocity)
            {
                const string __id = "onRotateEnd.(Lcom/mapbox/android/gestures/RotateGestureDetector;FFF)V";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [4];
                    __args [0] = new JniArgumentValue((detector == null) ? IntPtr.Zero : ((global::Java.Lang.Object)detector).Handle);
                    __args [1] = new JniArgumentValue(velocityX);
                    __args [2] = new JniArgumentValue(velocityY);
                    __args [3] = new JniArgumentValue(angularVelocity);
                    _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
                } finally {
                }
            }
Beispiel #11
0
            public unsafe void OnRotateEnd(global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0, float p1, float p2, float p3)
            {
                if (id_onRotateEnd_Lcom_mapbox_android_gestures_RotateGestureDetector_FFF == IntPtr.Zero)
                {
                    id_onRotateEnd_Lcom_mapbox_android_gestures_RotateGestureDetector_FFF = JNIEnv.GetMethodID(class_ref, "onRotateEnd", "(Lcom/mapbox/android/gestures/RotateGestureDetector;FFF)V");
                }
                JValue *__args = stackalloc JValue [4];

                __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onRotateEnd_Lcom_mapbox_android_gestures_RotateGestureDetector_FFF, __args);
            }
Beispiel #12
0
 static IntPtr n_ProvideHandledTypes(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(global::Android.Runtime.JavaSet <global::Java.Lang.Integer> .ToLocalJniHandle(__this.ProvideHandledTypes()));
 }
Beispiel #13
0
 static float n_GetDeltaSinceStart(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DeltaSinceStart);
 }
Beispiel #14
0
 static void n_SetAngleThreshold_F(IntPtr jnienv, IntPtr native__this, float angleThreshold)
 {
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.AngleThreshold = angleThreshold;
 }
Beispiel #15
0
 static void n_OnRotateEnd_Lcom_mapbox_android_gestures_RotateGestureDetector_FFF(IntPtr jnienv, IntPtr native__this, IntPtr native_detector, float velocityX, float velocityY, float angularVelocity)
 {
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector.SimpleOnRotateGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector detector = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (native_detector, JniHandleOwnership.DoNotTransfer);
     __this.OnRotateEnd(detector, velocityX, velocityY, angularVelocity);
 }
Beispiel #16
0
 static void n_OnRotateEnd_Lcom_mapbox_android_gestures_RotateGestureDetector_FFF(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, float p1, float p2, float p3)
 {
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector.IOnRotateGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector.IOnRotateGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0 = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.RotateGestureDetector> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnRotateEnd(p0, p1, p2, p3);
 }
Beispiel #17
0
 public RotateBeginEventArgs(bool handled, global::Com.Mapbox.Android.Gestures.RotateGestureDetector p0)
 {
     this.handled = handled;
     this.p0      = p0;
 }