public unsafe StreamBitmapDecoder(global::Com.Bumptech.Glide.Load.Resource.Bitmap.Downsampler 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(StreamBitmapDecoder)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/load/resource/bitmap/Downsampler;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/Downsampler;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_Downsampler_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_load_resource_bitmap_Downsampler_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/load/resource/bitmap/Downsampler;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_Downsampler_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_Downsampler_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_, __args); } finally { } }
static IntPtr n_GetDimensions_Lcom_bumptech_glide_util_MarkEnforcingInputStream_Lcom_bumptech_glide_load_resource_bitmap_RecyclableBufferedInputStream_Landroid_graphics_BitmapFactory_Options_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { 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); global::Com.Bumptech.Glide.Util.MarkEnforcingInputStream p0 = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Util.MarkEnforcingInputStream> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.Resource.Bitmap.RecyclableBufferedInputStream p1 = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.RecyclableBufferedInputStream> (native_p1, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.BitmapFactory.Options p2 = global::Java.Lang.Object.GetObject <global::Android.Graphics.BitmapFactory.Options> (native_p2, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.NewArray(__this.GetDimensions(p0, p1, p2)); 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); }
static IntPtr n_GetId(IntPtr jnienv, IntPtr native__this) { 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); return(JNIEnv.NewString(__this.Id)); }
static int n_GetSampleSize_IIII(IntPtr jnienv, IntPtr native__this, int p0, int p1, int p2, int p3) { 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); return(__this.GetSampleSize(p0, p1, p2, p3)); }