public static global::Android.Graphics.Path ToPixels(global::Osmdroid.Views.Projection p0, global::System.Collections.Generic.IList <global::Org.Osmdroid.Util.GeoPoint> p1, global::Android.Graphics.Path p2, bool p3) { if (id_toPixels_Lorg_osmdroid_views_Projection_Ljava_util_List_Landroid_graphics_Path_Z == IntPtr.Zero) { id_toPixels_Lorg_osmdroid_views_Projection_Ljava_util_List_Landroid_graphics_Path_Z = JNIEnv.GetStaticMethodID(class_ref, "toPixels", "(Lorg/osmdroid/views/Projection;Ljava/util/List;Landroid/graphics/Path;Z)Landroid/graphics/Path;"); } IntPtr native_p1 = global::Android.Runtime.JavaList <global::Org.Osmdroid.Util.GeoPoint> .ToLocalJniHandle(p1); global::Android.Graphics.Path __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Path> (JNIEnv.CallStaticObjectMethod(class_ref, id_toPixels_Lorg_osmdroid_views_Projection_Ljava_util_List_Landroid_graphics_Path_Z, new JValue(p0), new JValue(native_p1), new JValue(p2), new JValue(p3)), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p1); return(__ret); }
public virtual void OnDrawCycle(global::Osmdroid.Views.Projection proj) { if (id_onDrawCycle_Lorg_osmdroid_views_Projection_ == IntPtr.Zero) { id_onDrawCycle_Lorg_osmdroid_views_Projection_ = JNIEnv.GetMethodID(class_ref, "onDrawCycle", "(Lorg/osmdroid/views/Projection;)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onDrawCycle_Lorg_osmdroid_views_Projection_, new JValue(proj)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onDrawCycle", "(Lorg/osmdroid/views/Projection;)V"), new JValue(proj)); } }
static void n_OnDrawCycle_Lorg_osmdroid_views_Projection_(IntPtr jnienv, IntPtr native__this, IntPtr native_proj) { global::Osmdroid.Views.Drawing.OsmPath __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Drawing.OsmPath> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Views.Projection proj = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Projection> (native_proj, JniHandleOwnership.DoNotTransfer); __this.OnDrawCycle(proj); }