public unsafe BitmapTransformation(global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() != typeof(BitmapTransformation)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args); } finally { } }
protected override unsafe global::Android.Graphics.Bitmap Transform(global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0, global::Android.Graphics.Bitmap p1, int p2, int p3) { if (id_transform_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Landroid_graphics_Bitmap_II == IntPtr.Zero) { id_transform_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Landroid_graphics_Bitmap_II = JNIEnv.GetMethodID(class_ref, "transform", "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;"); } 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); global::Android.Graphics.Bitmap __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallObjectMethod(Handle, id_transform_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Landroid_graphics_Bitmap_II, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "transform", "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
static bool n_Put_Landroid_graphics_Bitmap_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Bitmap p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Put(p0); return(__ret); }
static IntPtr n_GetDirty_IILandroid_graphics_Bitmap_Config_(IntPtr jnienv, IntPtr native__this, int p0, int p1, IntPtr native_p2) { global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Bitmap.Config p2 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap.Config> (native_p2, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetDirty(p0, p1, p2)); return(__ret); }
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_BuildFrameResource_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Load.Resource.Gif.GifResourceEncoder.Factory __this = global::Java.Lang.Object.GetObject<global::Com.Bumptech.Glide.Load.Resource.Gif.GifResourceEncoder.Factory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Bitmap p0 = global::Java.Lang.Object.GetObject<global::Android.Graphics.Bitmap> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1 = (global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool)global::Java.Lang.Object.GetObject<global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle (__this.BuildFrameResource (p0, p1)); return __ret; }
static IntPtr n_Transform_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Landroid_graphics_Bitmap_II(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapTransformation __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapTransformation> (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); global::Android.Graphics.Bitmap p1 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Transform(p0, p1, p2, p3)); return(__ret); }
static IntPtr n_Decode_Landroid_os_ParcelFileDescriptor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3, IntPtr native_p4) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.VideoBitmapDecoder __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.VideoBitmapDecoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.OS.ParcelFileDescriptor p0 = global::Java.Lang.Object.GetObject <global::Android.OS.ParcelFileDescriptor> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1 = (global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.DecodeFormat p4 = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.DecodeFormat> (native_p4, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Decode(p0, p1, p2, p3, p4)); return(__ret); }
static IntPtr n_Decode_Ljava_io_InputStream_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3, IntPtr native_p4) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.Downsampler __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.Downsampler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); System.IO.Stream p0 = global::Android.Runtime.InputStreamInvoker.FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1 = (global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.DecodeFormat p4 = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.DecodeFormat> (native_p4, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Decode(p0, p1, p2, p3, p4)); return(__ret); }
public virtual unsafe global::Com.Bumptech.Glide.GlideBuilder SetBitmapPool(global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0) { if (id_setBitmapPool_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) { id_setBitmapPool_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID(class_ref, "setBitmapPool", "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)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_setBitmapPool_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setBitmapPool", "(Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)Lcom/bumptech/glide/GlideBuilder;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
public static unsafe global::Android.Graphics.Bitmap FitCenter(global::Android.Graphics.Bitmap p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1, int p2, int p3) { if (id_fitCenter_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_II == IntPtr.Zero) { id_fitCenter_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_II = JNIEnv.GetStaticMethodID(class_ref, "fitCenter", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;II)Landroid/graphics/Bitmap;"); } 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); global::Android.Graphics.Bitmap __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallStaticObjectMethod(class_ref, id_fitCenter_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_II, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public virtual unsafe global::Android.Graphics.Bitmap Decode(global::Android.OS.ParcelFileDescriptor p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1, int p2, int p3, global::Com.Bumptech.Glide.Load.DecodeFormat p4) { if (id_decode_Landroid_os_ParcelFileDescriptor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_decode_Landroid_os_ParcelFileDescriptor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "decode", "(Landroid/os/ParcelFileDescriptor;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;IILcom/bumptech/glide/load/DecodeFormat;)Landroid/graphics/Bitmap;"); } 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(p3); __args [4] = new JValue(p4); global::Android.Graphics.Bitmap __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallObjectMethod(Handle, id_decode_Landroid_os_ParcelFileDescriptor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "decode", "(Landroid/os/ParcelFileDescriptor;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;IILcom/bumptech/glide/load/DecodeFormat;)Landroid/graphics/Bitmap;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
protected abstract global::Android.Graphics.Bitmap Transform(global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0, global::Android.Graphics.Bitmap p1, int p2, int p3);
public unsafe FileDescriptorBitmapDecoder(global::Com.Bumptech.Glide.Load.Resource.Bitmap.VideoBitmapDecoder p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1, global::Com.Bumptech.Glide.Load.DecodeFormat p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (GetType() != typeof(FileDescriptorBitmapDecoder)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/load/resource/bitmap/VideoBitmapDecoder;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Lcom/bumptech/glide/load/DecodeFormat;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/load/resource/bitmap/VideoBitmapDecoder;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Lcom/bumptech/glide/load/DecodeFormat;)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_load_resource_bitmap_VideoBitmapDecoder_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_load_resource_bitmap_VideoBitmapDecoder_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/load/resource/bitmap/VideoBitmapDecoder;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;Lcom/bumptech/glide/load/DecodeFormat;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_load_resource_bitmap_VideoBitmapDecoder_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_resource_bitmap_VideoBitmapDecoder_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_, __args); } finally { } }
static void n_TrimMemory_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.TrimMemory(p0); }
static void n_SetSizeMultiplier_F(IntPtr jnienv, IntPtr native__this, float p0) { global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.SetSizeMultiplier(p0); }
public static unsafe global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource Obtain(global::Android.Graphics.Bitmap p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1) { if (id_obtain_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) { id_obtain_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetStaticMethodID(class_ref, "obtain", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)Lcom/bumptech/glide/load/resource/bitmap/BitmapResource;"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource> (JNIEnv.CallStaticObjectMethod(class_ref, id_obtain_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public unsafe ImageVideoGifDrawableLoadProvider(global::Com.Bumptech.Glide.Provider.IDataLoadProvider p0, global::Com.Bumptech.Glide.Provider.IDataLoadProvider p1, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (GetType() != typeof(ImageVideoGifDrawableLoadProvider)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/provider/DataLoadProvider;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_provider_DataLoadProvider_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args); } finally { } }
public virtual unsafe global::Com.Bumptech.Glide.Load.Engine.IResource BuildFrameResource (global::Android.Graphics.Bitmap p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1) { if (id_buildFrameResource_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) id_buildFrameResource_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID (class_ref, "buildFrameResource", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)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_buildFrameResource_Landroid_graphics_Bitmap_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); else __ret = global::Java.Lang.Object.GetObject<global::Com.Bumptech.Glide.Load.Engine.IResource> (JNIEnv.CallNonvirtualObjectMethod (Handle, ThresholdClass, JNIEnv.GetMethodID (ThresholdClass, "buildFrameResource", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)Lcom/bumptech/glide/load/engine/Resource;"), __args), JniHandleOwnership.TransferLocalRef); return __ret; } finally { } }
public virtual unsafe global::Android.Graphics.Bitmap Decode(global::System.IO.Stream p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1, int p2, int p3, global::Com.Bumptech.Glide.Load.DecodeFormat p4) { if (id_decode_Ljava_io_InputStream_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_decode_Ljava_io_InputStream_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "decode", "(Ljava/io/InputStream;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;IILcom/bumptech/glide/load/DecodeFormat;)Landroid/graphics/Bitmap;"); } IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p0); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); global::Android.Graphics.Bitmap __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallObjectMethod(Handle, id_decode_Ljava_io_InputStream_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_IILcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "decode", "(Ljava/io/InputStream;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;IILcom/bumptech/glide/load/DecodeFormat;)Landroid/graphics/Bitmap;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static int n_GetMaxSize(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.MaxSize); }