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); }
static IntPtr n_Remove_Lcom_bumptech_glide_load_Key_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.Engine.Cache.MemoryCacheAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.MemoryCacheAdapter> (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); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Remove(p0)); return(__ret); }
static bool n_Equals_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.IKey __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Equals(p0); return(__ret); }
static IntPtr n_Put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_Resource_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Load.Engine.Cache.IMemoryCache __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Cache.IMemoryCache> (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.IResource p1 = (global::Com.Bumptech.Glide.Load.Engine.IResource)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.IResource> (native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Put(p0, p1)); return(__ret); }
public unsafe void Delete(global::Com.Bumptech.Glide.Load.IKey p0) { if (id_delete_Lcom_bumptech_glide_load_Key_ == IntPtr.Zero) { id_delete_Lcom_bumptech_glide_load_Key_ = JNIEnv.GetMethodID(class_ref, "delete", "(Lcom/bumptech/glide/load/Key;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_delete_Lcom_bumptech_glide_load_Key_, __args); }
public unsafe global::Com.Bumptech.Glide.Load.Engine.IResource Remove(global::Com.Bumptech.Glide.Load.IKey p0) { if (id_remove_Lcom_bumptech_glide_load_Key_ == IntPtr.Zero) { id_remove_Lcom_bumptech_glide_load_Key_ = JNIEnv.GetMethodID(class_ref, "remove", "(Lcom/bumptech/glide/load/Key;)Lcom/bumptech/glide/load/engine/Resource;"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Bumptech.Glide.Load.Engine.IResource __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.IResource> (JNIEnv.CallObjectMethod(Handle, id_remove_Lcom_bumptech_glide_load_Key_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); }
public unsafe void Put(global::Com.Bumptech.Glide.Load.IKey p0, global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCacheWriter p1) { if (id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_ == IntPtr.Zero) { id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_ = JNIEnv.GetMethodID(class_ref, "put", "(Lcom/bumptech/glide/load/Key;Lcom/bumptech/glide/load/engine/cache/DiskCache$Writer;)V"); } JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); JNIEnv.CallVoidMethod(Handle, id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_, __args); }
public unsafe global::Java.IO.File Get(global::Com.Bumptech.Glide.Load.IKey p0) { if (id_get_Lcom_bumptech_glide_load_Key_ == IntPtr.Zero) { id_get_Lcom_bumptech_glide_load_Key_ = JNIEnv.GetMethodID(class_ref, "get", "(Lcom/bumptech/glide/load/Key;)Ljava/io/File;"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Java.IO.File __ret = global::Java.Lang.Object.GetObject <global::Java.IO.File> (JNIEnv.CallObjectMethod(Handle, id_get_Lcom_bumptech_glide_load_Key_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); }
public static unsafe global::Com.Bumptech.Glide.Load.IKey Obtain(global::Android.Content.Context p0) { if (id_obtain_Landroid_content_Context_ == IntPtr.Zero) { id_obtain_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "obtain", "(Landroid/content/Context;)Lcom/bumptech/glide/load/Key;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Bumptech.Glide.Load.IKey __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (JNIEnv.CallStaticObjectMethod(class_ref, id_obtain_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public virtual unsafe void Delete(global::Com.Bumptech.Glide.Load.IKey p0) { if (id_delete_Lcom_bumptech_glide_load_Key_ == IntPtr.Zero) { id_delete_Lcom_bumptech_glide_load_Key_ = JNIEnv.GetMethodID(class_ref, "delete", "(Lcom/bumptech/glide/load/Key;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_delete_Lcom_bumptech_glide_load_Key_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "delete", "(Lcom/bumptech/glide/load/Key;)V"), __args); } } finally { } }
public virtual unsafe void Put(global::Com.Bumptech.Glide.Load.IKey p0, global::Com.Bumptech.Glide.Load.Engine.Cache.IDiskCacheWriter p1) { if (id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_ == IntPtr.Zero) { id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_ = JNIEnv.GetMethodID(class_ref, "put", "(Lcom/bumptech/glide/load/Key;Lcom/bumptech/glide/load/engine/cache/DiskCache$Writer;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_cache_DiskCache_Writer_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "put", "(Lcom/bumptech/glide/load/Key;Lcom/bumptech/glide/load/engine/cache/DiskCache$Writer;)V"), __args); } } finally { } }
public virtual unsafe global::Java.IO.File Get(global::Com.Bumptech.Glide.Load.IKey p0) { if (id_get_Lcom_bumptech_glide_load_Key_ == IntPtr.Zero) { id_get_Lcom_bumptech_glide_load_Key_ = JNIEnv.GetMethodID(class_ref, "get", "(Lcom/bumptech/glide/load/Key;)Ljava/io/File;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Java.IO.File __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Java.IO.File> (JNIEnv.CallObjectMethod(Handle, id_get_Lcom_bumptech_glide_load_Key_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Java.IO.File> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "get", "(Lcom/bumptech/glide/load/Key;)Ljava/io/File;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
public virtual unsafe global::Com.Bumptech.Glide.Load.Engine.IResource Put(global::Com.Bumptech.Glide.Load.IKey p0, global::Com.Bumptech.Glide.Load.Engine.IResource p1) { if (id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_Resource_ == IntPtr.Zero) { id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_Resource_ = JNIEnv.GetMethodID(class_ref, "put", "(Lcom/bumptech/glide/load/Key;Lcom/bumptech/glide/load/engine/Resource;)Lcom/bumptech/glide/load/engine/Resource;"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); global::Com.Bumptech.Glide.Load.Engine.IResource __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.IResource> (JNIEnv.CallObjectMethod(Handle, id_put_Lcom_bumptech_glide_load_Key_Lcom_bumptech_glide_load_engine_Resource_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.IResource> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "put", "(Lcom/bumptech/glide/load/Key;Lcom/bumptech/glide/load/engine/Resource;)Lcom/bumptech/glide/load/engine/Resource;"), __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_UpdateDiskCacheKey_Ljava_security_MessageDigest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.IKey __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Security.MessageDigest p0 = global::Java.Lang.Object.GetObject <global::Java.Security.MessageDigest> (native_p0, JniHandleOwnership.DoNotTransfer); __this.UpdateDiskCacheKey(p0); }
static int n_GetHashCode(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Load.IKey __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.IKey> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.GetHashCode()); }