public virtual unsafe bool RangeEquals(int p0, global::Okio.ByteString p1, int p2, int p3)
        {
            if (id_rangeEquals_ILokio_ByteString_II == IntPtr.Zero)
            {
                id_rangeEquals_ILokio_ByteString_II = JNIEnv.GetMethodID(class_ref, "rangeEquals", "(ILokio/ByteString;II)Z");
            }
            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_rangeEquals_ILokio_ByteString_II, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "rangeEquals", "(ILokio/ByteString;II)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
        public virtual unsafe bool UpdateFavPoi(string p0, global::Com.Baidu.Mapapi.Favorite.FavoritePoiInfo p1)
        {
            if (id_updateFavPoi_Ljava_lang_String_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_ == IntPtr.Zero)
            {
                id_updateFavPoi_Ljava_lang_String_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_ = JNIEnv.GetMethodID(class_ref, "updateFavPoi", "(Ljava/lang/String;Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_updateFavPoi_Ljava_lang_String_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updateFavPoi", "(Ljava/lang/String;Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe bool Animate(global::Java.Lang.Object p0, global::Com.Bumptech.Glide.Request.Animation.IGlideAnimationViewAdapter p1)
        {
            if (id_animate_Landroid_graphics_drawable_Drawable_Lcom_bumptech_glide_request_animation_GlideAnimation_ViewAdapter_ == IntPtr.Zero)
            {
                id_animate_Landroid_graphics_drawable_Drawable_Lcom_bumptech_glide_request_animation_GlideAnimation_ViewAdapter_ = JNIEnv.GetMethodID(class_ref, "animate", "(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/request/animation/GlideAnimation$ViewAdapter;)Z");
            }
            IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_animate_Landroid_graphics_drawable_Drawable_Lcom_bumptech_glide_request_animation_GlideAnimation_ViewAdapter_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "animate", "(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/request/animation/GlideAnimation$ViewAdapter;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe bool RangeEquals(int p0, byte[] p1, int p2, int p3)
        {
            if (id_rangeEquals_IarrayBII == IntPtr.Zero)
            {
                id_rangeEquals_IarrayBII = JNIEnv.GetMethodID(class_ref, "rangeEquals", "(I[BII)Z");
            }
            IntPtr native_p1 = JNIEnv.NewArray(p1);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_rangeEquals_IarrayBII, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "rangeEquals", "(I[BII)Z"), __args);
                }
                return(__ret);
            } finally {
                if (p1 != null)
                {
                    JNIEnv.CopyArray(native_p1, p1);
                    JNIEnv.DeleteLocalRef(native_p1);
                }
            }
        }
Beispiel #5
0
        public virtual unsafe bool StartShareWeiboActivity(global::Android.App.Activity p0, string p1, global::Com.Umeng.Socialize.Sina.Message.BaseRequest p2, global::Com.Umeng.Socialize.IUMShareListener p3)
        {
            if (id_startShareWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_UMShareListener_ == IntPtr.Zero)
            {
                id_startShareWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_UMShareListener_ = JNIEnv.GetMethodID(class_ref, "startShareWeiboActivity", "(Landroid/app/Activity;Ljava/lang/String;Lcom/umeng/socialize/sina/message/BaseRequest;Lcom/umeng/socialize/UMShareListener;)Z");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_startShareWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_UMShareListener_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "startShareWeiboActivity", "(Landroid/app/Activity;Ljava/lang/String;Lcom/umeng/socialize/sina/message/BaseRequest;Lcom/umeng/socialize/UMShareListener;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Beispiel #6
0
        public virtual unsafe bool LaunchWeiboActivity(global::Android.App.Activity p0, string p1, string p2, string p3, global::Android.OS.Bundle p4)
        {
            if (id_launchWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_ == IntPtr.Zero)
            {
                id_launchWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_ = JNIEnv.GetMethodID(class_ref, "launchWeiboActivity", "(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Z");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);
            IntPtr native_p3 = JNIEnv.NewString(p3);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(native_p3);
                __args [4] = new JValue(p4);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_launchWeiboActivity_Landroid_app_Activity_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "launchWeiboActivity", "(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
                JNIEnv.DeleteLocalRef(native_p3);
            }
        }
Beispiel #7
0
            public virtual unsafe bool HandleRequest(global::Com.Facebook.Stetho.Server.SocketLike p0, global::Com.Facebook.Stetho.Server.Http.LightHttpRequest p1, global::Com.Facebook.Stetho.Server.Http.LightHttpResponse p2)
            {
                if (id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_ == IntPtr.Zero)
                {
                    id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_ = JNIEnv.GetMethodID(class_ref, "handleRequest", "(Lcom/facebook/stetho/server/SocketLike;Lcom/facebook/stetho/server/http/LightHttpRequest;Lcom/facebook/stetho/server/http/LightHttpResponse;)Z");
                }
                try {
                    JValue *__args = stackalloc JValue [3];
                    __args [0] = new JValue(p0);
                    __args [1] = new JValue(p1);
                    __args [2] = new JValue(p2);

                    bool __ret;
                    if (GetType() == ThresholdType)
                    {
                        __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_handleRequest_Lcom_facebook_stetho_server_SocketLike_Lcom_facebook_stetho_server_http_LightHttpRequest_Lcom_facebook_stetho_server_http_LightHttpResponse_, __args);
                    }
                    else
                    {
                        __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handleRequest", "(Lcom/facebook/stetho/server/SocketLike;Lcom/facebook/stetho/server/http/LightHttpRequest;Lcom/facebook/stetho/server/http/LightHttpResponse;)Z"), __args);
                    }
                    return(__ret);
                } finally {
                }
            }
        protected new virtual unsafe bool Handle(global::System.Collections.Generic.IList <global::Com.Liveperson.Messaging.Model.ConversationData> p0)
        {
            if (id_handle_Ljava_util_List_ == IntPtr.Zero)
            {
                id_handle_Ljava_util_List_ = JNIEnv.GetMethodID(class_ref, "handle", "(Ljava/util/List;)Z");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaList <global::Com.Liveperson.Messaging.Model.ConversationData> .ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_handle_Ljava_util_List_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handle", "(Ljava/util/List;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual bool IsInAlphabet(byte[] p0, bool p1)
        {
            if (id_isInAlphabet_arrayBZ == IntPtr.Zero)
            {
                id_isInAlphabet_arrayBZ = JNIEnv.GetMethodID(class_ref, "isInAlphabet", "([BZ)Z");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            bool __ret;

            if (GetType() == ThresholdType)
            {
                __ret = JNIEnv.CallBooleanMethod(Handle, id_isInAlphabet_arrayBZ, new JValue(native_p0), new JValue(p1));
            }
            else
            {
                __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "isInAlphabet", "([BZ)Z"), new JValue(native_p0), new JValue(p1));
            }
            if (p0 != null)
            {
                JNIEnv.CopyArray(native_p0, p0);
                JNIEnv.DeleteLocalRef(native_p0);
            }
            return(__ret);
        }
        public virtual unsafe bool ShowConversation(global::Android.App.Activity p0, string p1, global::Com.Liveperson.Infra.LPAuthenticationParams p2, global::Com.Liveperson.Infra.ConversationViewParams p3)
        {
            if (id_showConversation_Landroid_app_Activity_Ljava_lang_String_Lcom_liveperson_infra_LPAuthenticationParams_Lcom_liveperson_infra_ConversationViewParams_ == IntPtr.Zero)
            {
                id_showConversation_Landroid_app_Activity_Ljava_lang_String_Lcom_liveperson_infra_LPAuthenticationParams_Lcom_liveperson_infra_ConversationViewParams_ = JNIEnv.GetMethodID(class_ref, "showConversation", "(Landroid/app/Activity;Ljava/lang/String;Lcom/liveperson/infra/LPAuthenticationParams;Lcom/liveperson/infra/ConversationViewParams;)Z");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_showConversation_Landroid_app_Activity_Ljava_lang_String_Lcom_liveperson_infra_LPAuthenticationParams_Lcom_liveperson_infra_ConversationViewParams_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "showConversation", "(Landroid/app/Activity;Ljava/lang/String;Lcom/liveperson/infra/LPAuthenticationParams;Lcom/liveperson/infra/ConversationViewParams;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Beispiel #11
0
        public virtual unsafe bool Save(string p0, global::Android.Graphics.Bitmap p1)
        {
            if (id_save_Ljava_lang_String_Landroid_graphics_Bitmap_ == IntPtr.Zero)
            {
                id_save_Ljava_lang_String_Landroid_graphics_Bitmap_ = JNIEnv.GetMethodID(class_ref, "save", "(Ljava/lang/String;Landroid/graphics/Bitmap;)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_save_Ljava_lang_String_Landroid_graphics_Bitmap_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "save", "(Ljava/lang/String;Landroid/graphics/Bitmap;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Beispiel #12
0
        public virtual unsafe bool Start(global::System.IO.Stream p0)
        {
            if (id_start_Ljava_io_OutputStream_ == IntPtr.Zero)
            {
                id_start_Ljava_io_OutputStream_ = JNIEnv.GetMethodID(class_ref, "start", "(Ljava/io/OutputStream;)Z");
            }
            IntPtr native_p0 = global::Android.Runtime.OutputStreamAdapter.ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_start_Ljava_io_OutputStream_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "start", "(Ljava/io/OutputStream;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Beispiel #13
0
        public virtual unsafe bool Remove(string p0)
        {
            if (id_remove_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_remove_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "remove", "(Ljava/lang/String;)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_remove_Ljava_lang_String_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "remove", "(Ljava/lang/String;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe bool DownloadFile(global::System.IO.Stream p0, string p1, global::Com.Bpn.Payguardian.Android.Device.Rba.Ingenico_FileWrite.EncodeFormat p2, bool p3, bool p4)
        {
            if (id_DownloadFile_Ljava_io_InputStream_Ljava_lang_String_Lcom_bpn_payguardian_android_device_rba_Ingenico_FileWrite_EncodeFormat_ZZ == IntPtr.Zero)
            {
                id_DownloadFile_Ljava_io_InputStream_Ljava_lang_String_Lcom_bpn_payguardian_android_device_rba_Ingenico_FileWrite_EncodeFormat_ZZ = JNIEnv.GetMethodID(class_ref, "DownloadFile", "(Ljava/io/InputStream;Ljava/lang/String;Lcom/bpn/payguardian/android/device/rba/Ingenico_FileWrite$EncodeFormat;ZZ)Z");
            }
            IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p0);
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_DownloadFile_Ljava_io_InputStream_Ljava_lang_String_Lcom_bpn_payguardian_android_device_rba_Ingenico_FileWrite_EncodeFormat_ZZ, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "DownloadFile", "(Ljava/io/InputStream;Ljava/lang/String;Lcom/bpn/payguardian/android/device/rba/Ingenico_FileWrite$EncodeFormat;ZZ)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Beispiel #15
0
        public virtual unsafe bool UpdateCsdsDomains(global::System.Collections.Generic.IDictionary <string, string> p0)
        {
            if (id_updateCsdsDomains_Ljava_util_HashMap_ == IntPtr.Zero)
            {
                id_updateCsdsDomains_Ljava_util_HashMap_ = JNIEnv.GetMethodID(class_ref, "updateCsdsDomains", "(Ljava/util/HashMap;)Z");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_updateCsdsDomains_Ljava_util_HashMap_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updateCsdsDomains", "(Ljava/util/HashMap;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe bool PoiRGCShareUrlSearch(long p0, int p1, int p2, string p3, string p4)
        {
            if (id_PoiRGCShareUrlSearch_JIILjava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_PoiRGCShareUrlSearch_JIILjava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "PoiRGCShareUrlSearch", "(JIILjava/lang/String;Ljava/lang/String;)Z");
            }
            IntPtr native_p3 = JNIEnv.NewString(p3);
            IntPtr native_p4 = JNIEnv.NewString(p4);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(native_p3);
                __args [4] = new JValue(native_p4);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_PoiRGCShareUrlSearch_JIILjava_lang_String_Ljava_lang_String_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "PoiRGCShareUrlSearch", "(JIILjava/lang/String;Ljava/lang/String;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p3);
                JNIEnv.DeleteLocalRef(native_p4);
            }
        }
        public virtual unsafe bool Geocode(long p0, string p1, string p2)
        {
            if (id_geocode_JLjava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_geocode_JLjava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "geocode", "(JLjava/lang/String;Ljava/lang/String;)Z");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_geocode_JLjava_lang_String_Ljava_lang_String_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "geocode", "(JLjava/lang/String;Ljava/lang/String;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public virtual unsafe bool Contains(global::Java.Lang.Object p0)
        {
            if (id_contains_Ljava_lang_Object_ == IntPtr.Zero)
            {
                id_contains_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "contains", "(Ljava/lang/Object;)Z");
            }
            IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_contains_Ljava_lang_Object_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "contains", "(Ljava/lang/Object;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe bool Encode(global::Com.Bumptech.Glide.Load.Engine.IResource p0, global::System.IO.Stream p1)
        {
            if (id_encode_Lcom_bumptech_glide_load_engine_Resource_Ljava_io_OutputStream_ == IntPtr.Zero)
            {
                id_encode_Lcom_bumptech_glide_load_engine_Resource_Ljava_io_OutputStream_ = JNIEnv.GetMethodID(class_ref, "encode", "(Lcom/bumptech/glide/load/engine/Resource;Ljava/io/OutputStream;)Z");
            }
            IntPtr native_p1 = global::Android.Runtime.OutputStreamAdapter.ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_encode_Lcom_bumptech_glide_load_engine_Resource_Ljava_io_OutputStream_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "encode", "(Lcom/bumptech/glide/load/engine/Resource;Ljava/io/OutputStream;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        protected virtual bool ContainsAlphabetOrPad(byte[] p0)
        {
            if (id_containsAlphabetOrPad_arrayB == IntPtr.Zero)
            {
                id_containsAlphabetOrPad_arrayB = JNIEnv.GetMethodID(class_ref, "containsAlphabetOrPad", "([B)Z");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            bool __ret;

            if (GetType() == ThresholdType)
            {
                __ret = JNIEnv.CallBooleanMethod(Handle, id_containsAlphabetOrPad_arrayB, new JValue(native_p0));
            }
            else
            {
                __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "containsAlphabetOrPad", "([B)Z"), new JValue(native_p0));
            }
            if (p0 != null)
            {
                JNIEnv.CopyArray(native_p0, p0);
                JNIEnv.DeleteLocalRef(native_p0);
            }
            return(__ret);
        }
Beispiel #21
0
        public virtual unsafe bool AddSpringConfig(global::Com.Facebook.Rebound.SpringConfig p0, string p1)
        {
            if (id_addSpringConfig_Lcom_facebook_rebound_SpringConfig_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_addSpringConfig_Lcom_facebook_rebound_SpringConfig_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "addSpringConfig", "(Lcom/facebook/rebound/SpringConfig;Ljava/lang/String;)Z");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_addSpringConfig_Lcom_facebook_rebound_SpringConfig_Ljava_lang_String_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addSpringConfig", "(Lcom/facebook/rebound/SpringConfig;Ljava/lang/String;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public virtual unsafe bool GetLongValue(string p0, string p1, bool p2)
        {
            if (id_getLongValue_Ljava_lang_String_Ljava_lang_String_Z == IntPtr.Zero)
            {
                id_getLongValue_Ljava_lang_String_Ljava_lang_String_Z = JNIEnv.GetMethodID(class_ref, "getLongValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_getLongValue_Ljava_lang_String_Ljava_lang_String_Z, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLongValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Beispiel #23
0
        public virtual unsafe bool Save(string p0, global::System.IO.Stream p1, global::Com.Nostra13.Universalimageloader.Utils.IoUtils.ICopyListener p2)
        {
            if (id_save_Ljava_lang_String_Ljava_io_InputStream_Lcom_nostra13_universalimageloader_utils_IoUtils_CopyListener_ == IntPtr.Zero)
            {
                id_save_Ljava_lang_String_Ljava_io_InputStream_Lcom_nostra13_universalimageloader_utils_IoUtils_CopyListener_ = JNIEnv.GetMethodID(class_ref, "save", "(Ljava/lang/String;Ljava/io/InputStream;Lcom/nostra13/universalimageloader/utils/IoUtils$CopyListener;)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);
            IntPtr native_p1 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_save_Ljava_lang_String_Ljava_io_InputStream_Lcom_nostra13_universalimageloader_utils_IoUtils_CopyListener_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "save", "(Ljava/lang/String;Ljava/io/InputStream;Lcom/nostra13/universalimageloader/utils/IoUtils$CopyListener;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Beispiel #24
0
        public virtual unsafe bool OnTransact(int code, global::Android.OS.Parcel data, global::Android.OS.Parcel reply, int flags)
        {
            if (id_onTransact_ILandroid_os_Parcel_Landroid_os_Parcel_I == IntPtr.Zero)
            {
                id_onTransact_ILandroid_os_Parcel_Landroid_os_Parcel_I = JNIEnv.GetMethodID(class_ref, "onTransact", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z");
            }
            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(code);
                __args [1] = new JValue(data);
                __args [2] = new JValue(reply);
                __args [3] = new JValue(flags);

                bool __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_onTransact_ILandroid_os_Parcel_Landroid_os_Parcel_I, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onTransact", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
Beispiel #25
0
        public virtual unsafe bool Init(JNIBaseMapInitPara p0)
        {
            if (id_Init_J == IntPtr.Zero)
            {
                id_Init_J = JNIEnv.GetMethodID(class_ref, "Init", "(JWRAPPARA)J");
            }
            try
            {
                IntPtr native_p1 = JNIEnv.NewString(p0.ParamString1);
                IntPtr native_p2 = JNIEnv.NewString(p0.ParamString2);
                IntPtr native_p3 = JNIEnv.NewString(p0.ParamString3);
                IntPtr native_p4 = JNIEnv.NewString(p0.ParamString4);
                IntPtr native_p5 = JNIEnv.NewString(p0.ParamString5);
                IntPtr native_p6 = JNIEnv.NewString(p0.ParamString6);
                IntPtr native_p7 = JNIEnv.NewString(p0.ParamString7);
                IntPtr native_p8 = JNIEnv.NewString(p0.ParamString8);
                IntPtr native_p9 = JNIEnv.NewString(p0.ParamString9);

                JValue *__args = stackalloc JValue[17];
                __args[0]  = new JValue(p0.ParamLong);
                __args[1]  = new JValue(native_p1);
                __args[2]  = new JValue(native_p2);
                __args[3]  = new JValue(native_p3);
                __args[4]  = new JValue(native_p4);
                __args[5]  = new JValue(native_p5);
                __args[6]  = new JValue(native_p6);
                __args[7]  = new JValue(native_p7);
                __args[8]  = new JValue(native_p8);
                __args[9]  = new JValue(native_p9);
                __args[10] = new JValue(p0.ParamInt1);
                __args[11] = new JValue(p0.ParamInt2);
                __args[12] = new JValue(p0.ParamInt3);
                __args[13] = new JValue(p0.ParamInt4);
                __args[14] = new JValue(p0.ParamInt5);
                __args[15] = new JValue(p0.ParamInt6);
                __args[16] = new JValue(p0.ParamInt7);

                if (((object)this).GetType() == ThresholdType)
                {
                    return(JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_Init_J, __args));
                }
                else
                {
                    return(JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "Init", "(JWRAPPARA)J"), __args));
                }
            }
            finally
            {
            }
        }
Beispiel #26
0
        public virtual bool IsmLoadclassSuccess()
        {
            if (id_ismLoadclassSuccess == IntPtr.Zero)
            {
                id_ismLoadclassSuccess = JNIEnv.GetMethodID(class_ref, "ismLoadclassSuccess", "()Z");
            }

            if (GetType() == ThresholdType)
            {
                return(JNIEnv.CallBooleanMethod(Handle, id_ismLoadclassSuccess));
            }
            else
            {
                return(JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "ismLoadclassSuccess", "()Z")));
            }
        }
Beispiel #27
0
        public override bool RotateImageBy(int p0)
        {
            if (id_rotateImageBy_I == IntPtr.Zero)
            {
                id_rotateImageBy_I = JNIEnv.GetMethodID(class_ref, "rotateImageBy", "(I)Z");
            }

            if (GetType() == ThresholdType)
            {
                return(JNIEnv.CallBooleanMethod(Handle, id_rotateImageBy_I, new JValue(p0)));
            }
            else
            {
                return(JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "rotateImageBy", "(I)Z"), new JValue(p0)));
            }
        }
        protected virtual bool SetRect(int p0, int p1, float p2)
        {
            if (id_SetRect_IIF == IntPtr.Zero)
            {
                id_SetRect_IIF = JNIEnv.GetMethodID(class_ref, "SetRect", "(IIF)Z");
            }

            if (GetType() == ThresholdType)
            {
                return(JNIEnv.CallBooleanMethod(Handle, id_SetRect_IIF, new JValue(p0), new JValue(p1), new JValue(p2)));
            }
            else
            {
                return(JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "SetRect", "(IIF)Z"), new JValue(p0), new JValue(p1), new JValue(p2)));
            }
        }
            protected virtual bool D()
            {
                if (id_d == IntPtr.Zero)
                {
                    id_d = JNIEnv.GetMethodID(class_ref, "d", "()Z");
                }

                if (GetType() == ThresholdType)
                {
                    return(JNIEnv.CallBooleanMethod(Handle, id_d));
                }
                else
                {
                    return(JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "d", "()Z")));
                }
            }
        public virtual bool C()
        {
            if (id_c == IntPtr.Zero)
            {
                id_c = JNIEnv.GetMethodID(class_ref, "c", "()Z");
            }

            if (GetType() == ThresholdType)
            {
                return(JNIEnv.CallBooleanMethod(Handle, id_c));
            }
            else
            {
                return(JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "c", "()Z")));
            }
        }