Пример #1
0
 static void n_SetRequests_Lcom_bumptech_glide_request_Request_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Bumptech.Glide.Request.ThumbnailRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.ThumbnailRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest p0 = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest p1 = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.SetRequests(p0, p1);
 }
        static bool n_CanSetImage_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.Request.IRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bumptech.Glide.Request.IRequest            p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.CanSetImage(p0);

            return(__ret);
        }
        public unsafe void OnRequestSuccess(global::Com.Bumptech.Glide.Request.IRequest p0)
        {
            if (id_onRequestSuccess_Lcom_bumptech_glide_request_Request_ == IntPtr.Zero)
            {
                id_onRequestSuccess_Lcom_bumptech_glide_request_Request_ = JNIEnv.GetMethodID(class_ref, "onRequestSuccess", "(Lcom/bumptech/glide/request/Request;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(Handle, id_onRequestSuccess_Lcom_bumptech_glide_request_Request_, __args);
        }
        public unsafe bool CanSetImage(global::Com.Bumptech.Glide.Request.IRequest p0)
        {
            if (id_canSetImage_Lcom_bumptech_glide_request_Request_ == IntPtr.Zero)
            {
                id_canSetImage_Lcom_bumptech_glide_request_Request_ = JNIEnv.GetMethodID(class_ref, "canSetImage", "(Lcom/bumptech/glide/request/Request;)Z");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            bool __ret = JNIEnv.CallBooleanMethod(Handle, id_canSetImage_Lcom_bumptech_glide_request_Request_, __args);

            return(__ret);
        }
        public virtual unsafe void RunRequest(global::Com.Bumptech.Glide.Request.IRequest p0)
        {
            if (id_runRequest_Lcom_bumptech_glide_request_Request_ == IntPtr.Zero)
            {
                id_runRequest_Lcom_bumptech_glide_request_Request_ = JNIEnv.GetMethodID(class_ref, "runRequest", "(Lcom/bumptech/glide/request/Request;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_runRequest_Lcom_bumptech_glide_request_Request_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "runRequest", "(Lcom/bumptech/glide/request/Request;)V"), __args);
                }
            } finally {
            }
        }
Пример #6
0
        public virtual unsafe bool CanSetImage(global::Com.Bumptech.Glide.Request.IRequest p0)
        {
            if (id_canSetImage_Lcom_bumptech_glide_request_Request_ == IntPtr.Zero)
            {
                id_canSetImage_Lcom_bumptech_glide_request_Request_ = JNIEnv.GetMethodID(class_ref, "canSetImage", "(Lcom/bumptech/glide/request/Request;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_canSetImage_Lcom_bumptech_glide_request_Request_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "canSetImage", "(Lcom/bumptech/glide/request/Request;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
 static void n_SetRequest_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Request.Target.ITarget __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.ITarget> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest       p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Request = p0;
 }
 static void n_Recycle(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Request.IRequest __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Recycle();
 }
 static bool n_IsRunning(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Request.IRequest __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsRunning);
 }
 static void n_OnRequestSuccess_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Request.IRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest            p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnRequestSuccess(p0);
 }
 static void n_RunRequest_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Manager.RequestTracker __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Manager.RequestTracker> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest       p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RunRequest(p0);
 }