public unsafe GlideBitmapDrawableResource(global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool 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(GlideBitmapDrawableResource)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/load/resource/bitmap/GlideBitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/load/resource/bitmap/GlideBitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_load_resource_bitmap_GlideBitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_load_resource_bitmap_GlideBitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/load/resource/bitmap/GlideBitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_load_resource_bitmap_GlideBitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_resource_bitmap_GlideBitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args); } finally { } }
static void n_Stop(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Stop(); }
static int n_GetOpacity(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Opacity); }
static void n_SetColorFilter_Landroid_graphics_ColorFilter_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.ColorFilter p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.ColorFilter> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetColorFilter(p0); }
static IntPtr n_GetBitmap(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.GlideBitmapDrawable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Bitmap)); }