static void n_Put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Load.IKey p0 = (global::Com.Bumptech.Glide.Load.IKey)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCacheWriter p1 = (global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCacheWriter)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCacheWriter> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Put(p0, p1);
 }
コード例 #2
0
        static IntPtr n_SetDiskCache_Lcom_bumptech_glide_load_engine_cache_DiskCache_(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.IDiskCache p0 = (global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetDiskCache(p0));

            return(__ret);
        }
コード例 #3
0
 public static unsafe global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache Get(global::Java.IO.File p0, int p1)
 {
     if (id_get_Ljava_io_File_I == IntPtr.Zero)
     {
         id_get_Ljava_io_File_I = JNIEnv.GetStaticMethodID(class_ref, "get", "(Ljava/io/File;I)Lcom/bumptech/glide/load/engine/cache/DiskCache;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache> (JNIEnv.CallStaticObjectMethod(class_ref, id_get_Ljava_io_File_I, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
コード例 #4
0
        public virtual unsafe global::Com.Bumptech.Glide.GlideBuilder SetDiskCache(global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache p0)
        {
            if (id_setDiskCache_Lcom_bumptech_glide_load_engine_cache_DiskCache_ == IntPtr.Zero)
            {
                id_setDiskCache_Lcom_bumptech_glide_load_engine_cache_DiskCache_ = JNIEnv.GetMethodID(class_ref, "setDiskCache", "(Lcom/bumptech/glide/load/engine/cache/DiskCache;)Lcom/bumptech/glide/GlideBuilder;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::Com.Bumptech.Glide.GlideBuilder __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (JNIEnv.CallObjectMethod(Handle, id_setDiskCache_Lcom_bumptech_glide_load_engine_cache_DiskCache_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setDiskCache", "(Lcom/bumptech/glide/load/engine/cache/DiskCache;)Lcom/bumptech/glide/GlideBuilder;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }
 static void n_Delete_Lcom_bumptech_glide_load_Key_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Load.IKey p0 = (global::Com.Bumptech.Glide.Load.IKey)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Delete(p0);
 }
 static void n_Clear(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Clear();
 }