Beispiel #1
0
 static void n_ShowBubble_Lorg_osmdroid_bonuspack_overlays_InfoWindow_Lorg_osmdroid_views_MapView_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, bool p2)
 {
     global::Osmdroid.Bonuspack.Overlays.ExtendedOverlayItem __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.ExtendedOverlayItem> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Osmdroid.Bonuspack.Overlays.InfoWindow          p0     = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Osmdroid.Views.MapView p1 = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.MapView> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.ShowBubble(p0, p1, p2);
 }
Beispiel #2
0
 static void n_Open_Ljava_lang_Object_Lorg_osmdroid_util_GeoPoint_II(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3)
 {
     global::Osmdroid.Bonuspack.Overlays.InfoWindow __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object           p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Org.Osmdroid.Util.GeoPoint p1 = global::Java.Lang.Object.GetObject <global::Org.Osmdroid.Util.GeoPoint> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Open(p0, p1, p2, p3);
 }
Beispiel #3
0
        public virtual void ShowBubble(global::Osmdroid.Bonuspack.Overlays.InfoWindow p0, global::Osmdroid.Views.MapView p1, bool p2)
        {
            if (id_showBubble_Lorg_osmdroid_bonuspack_overlays_InfoWindow_Lorg_osmdroid_views_MapView_Z == IntPtr.Zero)
            {
                id_showBubble_Lorg_osmdroid_bonuspack_overlays_InfoWindow_Lorg_osmdroid_views_MapView_Z = JNIEnv.GetMethodID(class_ref, "showBubble", "(Lorg/osmdroid/bonuspack/overlays/InfoWindow;Lorg/osmdroid/views/MapView;Z)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_showBubble_Lorg_osmdroid_bonuspack_overlays_InfoWindow_Lorg_osmdroid_views_MapView_Z, new JValue(p0), new JValue(p1), new JValue(p2));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "showBubble", "(Lorg/osmdroid/bonuspack/overlays/InfoWindow;Lorg/osmdroid/views/MapView;Z)V"), new JValue(p0), new JValue(p1), new JValue(p2));
            }
        }
Beispiel #4
0
        public ItemizedOverlayWithBubble(global::Android.Content.Context p0, global::System.Collections.IList p1, global::Osmdroid.Views.MapView p2, global::Osmdroid.Bonuspack.Overlays.InfoWindow p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = global::Android.Runtime.JavaList.ToLocalJniHandle(p1);;

            if (GetType() != typeof(ItemizedOverlayWithBubble))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Ljava/util/List;Lorg/osmdroid/views/MapView;Lorg/osmdroid/bonuspack/overlays/InfoWindow;)V", new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(p3)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Ljava/util/List;Lorg/osmdroid/views/MapView;Lorg/osmdroid/bonuspack/overlays/InfoWindow;)V", new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(p3));
                JNIEnv.DeleteLocalRef(native_p1);
                return;
            }

            if (id_ctor_Landroid_content_Context_Ljava_util_List_Lorg_osmdroid_views_MapView_Lorg_osmdroid_bonuspack_overlays_InfoWindow_ == IntPtr.Zero)
            {
                id_ctor_Landroid_content_Context_Ljava_util_List_Lorg_osmdroid_views_MapView_Lorg_osmdroid_bonuspack_overlays_InfoWindow_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Ljava/util/List;Lorg/osmdroid/views/MapView;Lorg/osmdroid/bonuspack/overlays/InfoWindow;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Ljava_util_List_Lorg_osmdroid_views_MapView_Lorg_osmdroid_bonuspack_overlays_InfoWindow_, new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(p3)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Ljava_util_List_Lorg_osmdroid_views_MapView_Lorg_osmdroid_bonuspack_overlays_InfoWindow_, new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(p3));
            JNIEnv.DeleteLocalRef(native_p1);
        }
Beispiel #5
0
 static void n_OnOpen_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Osmdroid.Bonuspack.Overlays.InfoWindow __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnOpen(p0);
 }
Beispiel #6
0
 static void n_OnClose(IntPtr jnienv, IntPtr native__this)
 {
     global::Osmdroid.Bonuspack.Overlays.InfoWindow __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnClose();
 }
Beispiel #7
0
 static IntPtr n_GetView(IntPtr jnienv, IntPtr native__this)
 {
     global::Osmdroid.Bonuspack.Overlays.InfoWindow __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.View));
 }
Beispiel #8
0
 static bool n_IsOpen(IntPtr jnienv, IntPtr native__this)
 {
     global::Osmdroid.Bonuspack.Overlays.InfoWindow __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Bonuspack.Overlays.InfoWindow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsOpen);
 }