public virtual unsafe void OnResourceReady(global::Java.Lang.Object p0, global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1) { if (id_onResourceReady_Ljava_lang_Object_Lcom_bumptech_glide_request_animation_GlideAnimation_ == IntPtr.Zero) { id_onResourceReady_Ljava_lang_Object_Lcom_bumptech_glide_request_animation_GlideAnimation_ = JNIEnv.GetMethodID(class_ref, "onResourceReady", "(Ljava/lang/Object;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"); } IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onResourceReady_Ljava_lang_Object_Lcom_bumptech_glide_request_animation_GlideAnimation_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onResourceReady", "(Ljava/lang/Object;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"), __args); } } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static void n_OnResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Request.Target.NotificationTarget __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.NotificationTarget> (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.Request.Animation.IGlideAnimation p1 = (global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnResourceReady(p0, p1); }
static void n_OnResourceReady_Ljava_lang_Object_Lcom_bumptech_glide_request_animation_GlideAnimation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Request.RequestFutureTarget __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.RequestFutureTarget> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1 = (global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnResourceReady(p0, p1); }
public unsafe DrawableCrossFadeViewAnimation(global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p0, int 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(DrawableCrossFadeViewAnimation)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/request/animation/GlideAnimation;I)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/request/animation/GlideAnimation;I)V", __args); return; } if (id_ctor_Lcom_bumptech_glide_request_animation_GlideAnimation_I == IntPtr.Zero) { id_ctor_Lcom_bumptech_glide_request_animation_GlideAnimation_I = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/request/animation/GlideAnimation;I)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_request_animation_GlideAnimation_I, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_request_animation_GlideAnimation_I, __args); } finally { } }
static void n_OnResourceReady_Lcom_bumptech_glide_load_resource_drawable_GlideDrawable_Lcom_bumptech_glide_request_animation_GlideAnimation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Request.Target.GlideDrawableImageViewTarget __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.GlideDrawableImageViewTarget> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Load.Resource.Drawable.GlideDrawable p0 = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Drawable.GlideDrawable> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1 = (global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnResourceReady(p0, p1); }
static bool n_Animate_Ljava_lang_Object_Lcom_bumptech_glide_request_animation_GlideAnimation_ViewAdapter_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Bumptech.Glide.Request.Animation.IGlideAnimationViewAdapter p1 = (global::Com.Bumptech.Glide.Request.Animation.IGlideAnimationViewAdapter)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Animation.IGlideAnimationViewAdapter> (native_p1, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Animate(p0, p1); return(__ret); }
public virtual unsafe void OnResourceReady(global::Android.Graphics.Bitmap p0, global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1) { if (id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_ == IntPtr.Zero) { id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_ = JNIEnv.GetMethodID(class_ref, "onResourceReady", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onResourceReady", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"), __args); } } finally { } }
public virtual unsafe void OnResourceReady(global::Com.Bumptech.Glide.Load.Resource.Drawable.GlideDrawable p0, global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1) { if (id_onResourceReady_Lcom_bumptech_glide_load_resource_drawable_GlideDrawable_Lcom_bumptech_glide_request_animation_GlideAnimation_ == IntPtr.Zero) { id_onResourceReady_Lcom_bumptech_glide_load_resource_drawable_GlideDrawable_Lcom_bumptech_glide_request_animation_GlideAnimation_ = JNIEnv.GetMethodID(class_ref, "onResourceReady", "(Lcom/bumptech/glide/load/resource/drawable/GlideDrawable;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onResourceReady_Lcom_bumptech_glide_load_resource_drawable_GlideDrawable_Lcom_bumptech_glide_request_animation_GlideAnimation_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onResourceReady", "(Lcom/bumptech/glide/load/resource/drawable/GlideDrawable;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"), __args); } } finally { } }