static void n_Apply_Landroid_support_v7_widget_RecyclerView_Ljava_lang_Iterable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Mikepenz.Fastadapter.Utils.RecyclerViewCacheUtil __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Fastadapter.Utils.RecyclerViewCacheUtil> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Support.V7.Widget.RecyclerView p0 = global::Java.Lang.Object.GetObject <global::Android.Support.V7.Widget.RecyclerView> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IIterable p1 = (global::Java.Lang.IIterable)global::Java.Lang.Object.GetObject <global::Java.Lang.IIterable> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Apply(p0, p1);
 }
        public unsafe ChromeDevtoolsServer(global::Java.Lang.IIterable p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (GetType() != typeof(ChromeDevtoolsServer))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/Iterable;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/Iterable;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_Iterable_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/Iterable;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_Iterable_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_Iterable_, __args);
            } finally {
            }
        }
Exemple #3
0
        static IntPtr n_AddAllMessages_Ljava_lang_Iterable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Google.Protobuf.RepeatedFieldBuilder __this = global::Java.Lang.Object.GetObject <global::Com.Google.Protobuf.RepeatedFieldBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.IIterable p0 = (global::Java.Lang.IIterable)global::Java.Lang.Object.GetObject <global::Java.Lang.IIterable> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.AddAllMessages(p0));

            return(__ret);
        }
 public global::Android.Gms.Maps.Model.PolylineOptions AddAll(global::Java.Lang.IIterable p0)
 {
     if (id_addAll_Ljava_lang_Iterable_ == IntPtr.Zero)
     {
         id_addAll_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "addAll", "(Ljava/lang/Iterable;)Lcom/google/android/gms/maps/model/PolylineOptions;");
     }
     global::Android.Gms.Maps.Model.PolylineOptions __ret = global::Java.Lang.Object.GetObject <global::Android.Gms.Maps.Model.PolylineOptions> (JNIEnv.CallObjectMethod(Handle, id_addAll_Ljava_lang_Iterable_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
        public unsafe global::Com.Mapbox.Mapboxsdk.Annotations.PolygonOptions AddAll(global::Java.Lang.IIterable points)
        {
            const string __id = "addAll.(Ljava/lang/Iterable;)Lcom/mapbox/mapboxsdk/annotations/PolygonOptions;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((points == null) ? IntPtr.Zero : ((global::Java.Lang.Object)points).Handle);
                var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Annotations.PolygonOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
Exemple #6
0
        public unsafe global::Com.Amap.Api.Maps2d.Model.PolygonOptions AddAll(global::Java.Lang.IIterable p0)
        {
            const string __id = "addAll.(Ljava/lang/Iterable;)Lcom/amap/api/maps2d/model/PolygonOptions;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.InstanceMethods.InvokeNonvirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.PolygonOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
Exemple #7
0
 public static unsafe void Write(global::Java.Lang.IIterable mtls, global::Java.IO.Writer writer)
 {
     if (id_write_Ljava_lang_Iterable_Ljava_io_Writer_ == IntPtr.Zero)
     {
         id_write_Ljava_lang_Iterable_Ljava_io_Writer_ = JNIEnv.GetStaticMethodID(class_ref, "write", "(Ljava/lang/Iterable;Ljava/io/Writer;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(mtls);
         __args [1] = new JValue(writer);
         JNIEnv.CallStaticVoidMethod(class_ref, id_write_Ljava_lang_Iterable_Ljava_io_Writer_, __args);
     } finally {
     }
 }
Exemple #8
0
        public static unsafe void Write(global::Java.Lang.IIterable mtls, global::System.IO.Stream outputStream)
        {
            if (id_write_Ljava_lang_Iterable_Ljava_io_OutputStream_ == IntPtr.Zero)
            {
                id_write_Ljava_lang_Iterable_Ljava_io_OutputStream_ = JNIEnv.GetStaticMethodID(class_ref, "write", "(Ljava/lang/Iterable;Ljava/io/OutputStream;)V");
            }
            IntPtr native_outputStream = global::Android.Runtime.OutputStreamAdapter.ToLocalJniHandle(outputStream);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(mtls);
                __args [1] = new JValue(native_outputStream);
                JNIEnv.CallStaticVoidMethod(class_ref, id_write_Ljava_lang_Iterable_Ljava_io_OutputStream_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_outputStream);
            }
        }
        public virtual unsafe void MapPossibleTypes(global::Java.Lang.IIterable p0)
        {
            if (id_mapPossibleTypes_Ljava_lang_Iterable_ == IntPtr.Zero)
            {
                id_mapPossibleTypes_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "mapPossibleTypes", "(Ljava/lang/Iterable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_mapPossibleTypes_Ljava_lang_Iterable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "mapPossibleTypes", "(Ljava/lang/Iterable;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void Apply(global::Android.Support.V7.Widget.RecyclerView p0, global::Java.Lang.IIterable p1)
        {
            if (id_apply_Landroid_support_v7_widget_RecyclerView_Ljava_lang_Iterable_ == IntPtr.Zero)
            {
                id_apply_Landroid_support_v7_widget_RecyclerView_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "apply", "(Landroid/support/v7/widget/RecyclerView;Ljava/lang/Iterable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_apply_Landroid_support_v7_widget_RecyclerView_Ljava_lang_Iterable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "apply", "(Landroid/support/v7/widget/RecyclerView;Ljava/lang/Iterable;)V"), __args);
                }
            } finally {
            }
        }
Exemple #11
0
        public virtual global::Com.Google.Protobuf.RepeatedFieldBuilder AddAllMessages(global::Java.Lang.IIterable p0)
        {
            if (id_addAllMessages_Ljava_lang_Iterable_ == IntPtr.Zero)
            {
                id_addAllMessages_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "addAllMessages", "(Ljava/lang/Iterable;)Lcom/google/protobuf/RepeatedFieldBuilder;");
            }

            global::Com.Google.Protobuf.RepeatedFieldBuilder __ret;
            if (GetType() == ThresholdType)
            {
                __ret = global::Java.Lang.Object.GetObject <global::Com.Google.Protobuf.RepeatedFieldBuilder> (JNIEnv.CallObjectMethod(Handle, id_addAllMessages_Ljava_lang_Iterable_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
            }
            else
            {
                __ret = global::Java.Lang.Object.GetObject <global::Com.Google.Protobuf.RepeatedFieldBuilder> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addAllMessages", "(Ljava/lang/Iterable;)Lcom/google/protobuf/RepeatedFieldBuilder;"), new JValue(p0)), JniHandleOwnership.TransferLocalRef);
            }
            return(__ret);
        }
            public unsafe global::Com.Tencent.Mapsdk.Raster.Model.LatLngBounds.Builder Include(global::Java.Lang.IIterable p0)
            {
                const string __id = "include.(Ljava/lang/Iterable;)Lcom/tencent/mapsdk/raster/model/LatLngBounds$Builder;";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                    __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                    var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                    return(global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.LatLngBounds.Builder> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
                } finally {
                }
            }
 static void n_MapPossibleTypes_Ljava_lang_Iterable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Mikepenz.Fastadapter.AbstractAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Fastadapter.AbstractAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IIterable p0 = (global::Java.Lang.IIterable)global::Java.Lang.Object.GetObject <global::Java.Lang.IIterable> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.MapPossibleTypes(p0);
 }
        public unsafe MethodDispatcher(global::Com.Facebook.Stetho.Json.ObjectMapper p0, global::Java.Lang.IIterable p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                if (GetType() != typeof(MethodDispatcher))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/json/ObjectMapper;Ljava/lang/Iterable;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/json/ObjectMapper;Ljava/lang/Iterable;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Ljava_lang_Iterable_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Ljava_lang_Iterable_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/json/ObjectMapper;Ljava/lang/Iterable;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Ljava_lang_Iterable_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_json_ObjectMapper_Ljava_lang_Iterable_, __args);
            } finally {
            }
        }