Beispiel #1
0
 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 {
     }
 }
Beispiel #2
0
 static int n_GetSize(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Size);
 }
Beispiel #3
0
 static void n_Recycle(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Recycle();
 }
Beispiel #4
0
 static IntPtr n_Get(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapResource> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Get()));
 }