示例#1
0
            static bool n_OnMultiFingerTap_Lcom_mapbox_android_gestures_MultiFingerTapGestureDetector_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
            {
                global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector.IOnMultiFingerTapGestureListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector.IOnMultiFingerTapGestureListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector p0 = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector> (native_p0, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.OnMultiFingerTap(p0, p1);

                return(__ret);
            }
示例#2
0
#pragma warning restore 0649

            public bool OnMultiFingerTap(global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector p0, int p1)
            {
                var __h = Handler;

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

                __h(sender, __e);
                return(__e.Handled);
            }
示例#3
0
            public unsafe bool OnMultiFingerTap(global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector p0, int p1)
            {
                if (id_onMultiFingerTap_Lcom_mapbox_android_gestures_MultiFingerTapGestureDetector_I == IntPtr.Zero)
                {
                    id_onMultiFingerTap_Lcom_mapbox_android_gestures_MultiFingerTapGestureDetector_I = JNIEnv.GetMethodID(class_ref, "onMultiFingerTap", "(Lcom/mapbox/android/gestures/MultiFingerTapGestureDetector;I)Z");
                }
                JValue *__args = stackalloc JValue [2];

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

                return(__ret);
            }
示例#4
0
 static void n_SetMultiFingerTapMovementThresholdResource_I(IntPtr jnienv, IntPtr native__this, int multiFingerTapMovementThresholdDimen)
 {
     global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetMultiFingerTapMovementThresholdResource(multiFingerTapMovementThresholdDimen);
 }
示例#5
0
 static void n_SetMultiFingerTapTimeThreshold_J(IntPtr jnienv, IntPtr native__this, long multiFingerTapTimeThreshold)
 {
     global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.MultiFingerTapTimeThreshold = multiFingerTapTimeThreshold;
 }
示例#6
0
 static long n_GetMultiFingerTapTimeThreshold(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.MultiFingerTapTimeThreshold);
 }
示例#7
0
 public MultiFingerTapGestureEventArgs(bool handled, global::Com.Mapbox.Android.Gestures.MultiFingerTapGestureDetector p0, int p1)
 {
     this.handled = handled;
     this.p0      = p0;
     this.p1      = p1;
 }