static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int native_p1)
 {
     global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Parcel p0 = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.ParcelableWriteFlags p1 = (global::Android.OS.ParcelableWriteFlags)native_p1;
     __this.WriteToParcel(p0, p1);
 }
Beispiel #2
0
        public unsafe OverlayItem(global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p0, string p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/tencent/mapsdk/raster/model/GeoPoint;Ljava/lang/String;Ljava/lang/String;)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue(native_p1);
                __args [2] = new JniArgumentValue(native_p2);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Beispiel #3
0
        static double n_DistanceBetween_Lcom_tencent_mapsdk_raster_model_GeoPoint_Lcom_tencent_mapsdk_raster_model_GeoPoint_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Projection __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Projection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint     p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint     p1     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p1, JniHandleOwnership.DoNotTransfer);
            double __ret = __this.DistanceBetween(p0, p1);

            return(__ret);
        }
Beispiel #4
0
        static IntPtr n_ToPixels_Lcom_tencent_mapsdk_raster_model_GeoPoint_Landroid_graphics_Point_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Projection __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Projection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint     p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Graphics.Point p1 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Point> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.ToPixels(p0, p1));

            return(__ret);
        }
Beispiel #5
0
        static bool n_OnTap_Lcom_tencent_mapsdk_raster_model_GeoPoint_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint  p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p1, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.OnTap(p0, p1);

            return(__ret);
        }
Beispiel #6
0
        static bool n_OnLongPress_Lcom_tencent_mapsdk_raster_model_GeoPoint_Landroid_view_MotionEvent_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint  p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.MotionEvent p1 = global::Java.Lang.Object.GetObject <global::Android.Views.MotionEvent> (native_p1, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p2 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p2, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.OnLongPress(p0, p1, p2);

            return(__ret);
        }
Beispiel #7
0
        public virtual unsafe void OnEmptyTap(global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p0)
        {
            const string __id = "onEmptyTap.(Lcom/tencent/mapsdk/raster/model/GeoPoint;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
Beispiel #8
0
        public virtual unsafe global::Android.Graphics.Point ToPixels(global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p0, global::Android.Graphics.Point p1)
        {
            const string __id = "toPixels.(Lcom/tencent/mapsdk/raster/model/GeoPoint;Landroid/graphics/Point;)Landroid/graphics/Point;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Android.Graphics.Point> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
Beispiel #9
0
        public virtual unsafe double DistanceBetween(global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p0, global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p1)
        {
            const string __id = "distanceBetween.(Lcom/tencent/mapsdk/raster/model/GeoPoint;Lcom/tencent/mapsdk/raster/model/GeoPoint;)D";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualDoubleMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
Beispiel #10
0
        public virtual unsafe bool OnTap(global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint p0, global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1)
        {
            const string __id = "onTap.(Lcom/tencent/mapsdk/raster/model/GeoPoint;Lcom/tencent/tencentmap/mapsdk/map/MapView;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
Beispiel #11
0
 static void n_SetPoint_Lcom_tencent_mapsdk_raster_model_GeoPoint_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Tencent.Tencentmap.Mapsdk.Map.OverlayItem __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.OverlayItem> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint      p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Point = p0;
 }
 static void n_SetLatitudeE6_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.LatitudeE6 = p0;
 }
 static int n_GetLatitudeE6(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.LatitudeE6);
 }
 static IntPtr n_Copy(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Copy()));
 }