示例#1
0
 static void n_ApplyOptions_Landroid_content_Context_Lcom_bumptech_glide_GlideBuilder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Bumptech.Glide.Module.IGlideModule __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Module.IGlideModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.Context         p0            = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.GlideBuilder p1            = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.ApplyOptions(p0, p1);
 }
        static IntPtr n_SetBitmapPool_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.GlideBuilder __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0 = (global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetBitmapPool(p0));

            return(__ret);
        }
        static IntPtr n_SetResizeService_Ljava_util_concurrent_ExecutorService_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.GlideBuilder       __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Util.Concurrent.IExecutorService p0     = (global::Java.Util.Concurrent.IExecutorService)global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.IExecutorService> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetResizeService(p0));

            return(__ret);
        }
        static IntPtr n_SetMemoryCache_Lcom_bumptech_glide_load_engine_cache_MemoryCache_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.GlideBuilder __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bumptech.Glide.Load.Engine.Cache.IMemoryCache p0 = (global::Com.Bumptech.Glide.Load.Engine.Cache.IMemoryCache)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IMemoryCache> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetMemoryCache(p0));

            return(__ret);
        }
        static IntPtr n_SetDecodeFormat_Lcom_bumptech_glide_load_DecodeFormat_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.GlideBuilder      __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bumptech.Glide.Load.DecodeFormat p0     = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.DecodeFormat> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetDecodeFormat(p0));

            return(__ret);
        }
示例#6
0
        public unsafe void ApplyOptions(global::Android.Content.Context p0, global::Com.Bumptech.Glide.GlideBuilder p1)
        {
            if (id_applyOptions_Landroid_content_Context_Lcom_bumptech_glide_GlideBuilder_ == IntPtr.Zero)
            {
                id_applyOptions_Landroid_content_Context_Lcom_bumptech_glide_GlideBuilder_ = JNIEnv.GetMethodID(class_ref, "applyOptions", "(Landroid/content/Context;Lcom/bumptech/glide/GlideBuilder;)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(Handle, id_applyOptions_Landroid_content_Context_Lcom_bumptech_glide_GlideBuilder_, __args);
        }