Esempio n. 1
0
 static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native__out, int native_flags)
 {
     global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Parcel @out = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native__out, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.ParcelableWriteFlags flags = (global::Android.OS.ParcelableWriteFlags)native_flags;
     __this.WriteToParcel(@out, flags);
 }
        static IntPtr n_GetLatLngForProjectedMeters_Lcom_mapbox_mapboxsdk_geometry_ProjectedMeters_(IntPtr jnienv, IntPtr native__this, IntPtr native_projectedMeters)
        {
            global::Com.Mapbox.Mapboxsdk.Maps.Projection          __this          = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Maps.Projection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters projectedMeters = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters> (native_projectedMeters, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetLatLngForProjectedMeters(projectedMeters));

            return(__ret);
        }
Esempio n. 3
0
        public unsafe ProjectedMeters(global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters projectedMeters)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/mapbox/mapboxsdk/geometry/ProjectedMeters;)V";

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

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((projectedMeters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)projectedMeters).Handle);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
            }
        }
Esempio n. 4
0
 static double n_GetEasting(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Easting);
 }
Esempio n. 5
0
 static int n_DescribeContents(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DescribeContents());
 }
        public virtual unsafe global::Com.Mapbox.Mapboxsdk.Geometry.LatLng GetLatLngForProjectedMeters(global::Com.Mapbox.Mapboxsdk.Geometry.ProjectedMeters projectedMeters)
        {
            const string __id = "getLatLngForProjectedMeters.(Lcom/mapbox/mapboxsdk/geometry/ProjectedMeters;)Lcom/mapbox/mapboxsdk/geometry/LatLng;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((projectedMeters == null) ? IntPtr.Zero : ((global::Java.Lang.Object)projectedMeters).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Geometry.LatLng> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }