public unsafe StreamBitmapDecoder(global::Android.Content.Context p0, global::Com.Bumptech.Glide.Load.DecodeFormat p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() != typeof(StreamBitmapDecoder)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Lcom/bumptech/glide/load/DecodeFormat;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Lcom/bumptech/glide/load/DecodeFormat;)V", __args); return; } if (id_ctor_Landroid_content_Context_Lcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Lcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/bumptech/glide/load/DecodeFormat;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_bumptech_glide_load_DecodeFormat_, __args); } finally { } }
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); }
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 static unsafe global::Com.Bumptech.Glide.Load.DecodeFormat ValueOf(string p0) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/bumptech/glide/load/DecodeFormat;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::Com.Bumptech.Glide.Load.DecodeFormat __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.DecodeFormat> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual unsafe global::Com.Bumptech.Glide.GlideBuilder SetDecodeFormat(global::Com.Bumptech.Glide.Load.DecodeFormat p0) { if (id_setDecodeFormat_Lcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_setDecodeFormat_Lcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "setDecodeFormat", "(Lcom/bumptech/glide/load/DecodeFormat;)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_setDecodeFormat_Lcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.GlideBuilder> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setDecodeFormat", "(Lcom/bumptech/glide/load/DecodeFormat;)Lcom/bumptech/glide/GlideBuilder;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
public unsafe FileDescriptorBitmapDataLoadProvider(global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p0, global::Com.Bumptech.Glide.Load.DecodeFormat p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() != typeof(FileDescriptorBitmapDataLoadProvider)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(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/engine/bitmap_recycle/BitmapPool;Lcom/bumptech/glide/load/DecodeFormat;)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_ = JNIEnv.GetMethodID(class_ref, "<init>", "(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_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_Lcom_bumptech_glide_load_DecodeFormat_, __args); } 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 { } }
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); } }