public unsafe void SetTransformCallback(global::Com.Facebook.Drawee.Drawable.ITransformCallback p0) { if (id_setTransformCallback_Lcom_facebook_drawee_drawable_TransformCallback_ == IntPtr.Zero) { id_setTransformCallback_Lcom_facebook_drawee_drawable_TransformCallback_ = JNIEnv.GetMethodID(class_ref, "setTransformCallback", "(Lcom/facebook/drawee/drawable/TransformCallback;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setTransformCallback_Lcom_facebook_drawee_drawable_TransformCallback_, __args); }
public virtual unsafe void SetTransformCallback(global::Com.Facebook.Drawee.Drawable.ITransformCallback transformCallback) { const string __id = "setTransformCallback.(Lcom/facebook/drawee/drawable/TransformCallback;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((transformCallback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)transformCallback).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
static void n_SetTransformCallback_Lcom_facebook_drawee_drawable_TransformCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Facebook.Drawee.Drawable.ITransformAwareDrawable __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Drawable.ITransformAwareDrawable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Drawee.Drawable.ITransformCallback p0 = (global::Com.Facebook.Drawee.Drawable.ITransformCallback)global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Drawable.ITransformCallback> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetTransformCallback(p0); }
static void n_GetRootBounds_Landroid_graphics_RectF_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Facebook.Drawee.Drawable.ITransformCallback __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Drawee.Drawable.ITransformCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.RectF p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.RectF> (native_p0, JniHandleOwnership.DoNotTransfer); __this.GetRootBounds(p0); }
public static unsafe void SetCallbacks (global::Android.Graphics.Drawables.Drawable drawable, global::Android.Graphics.Drawables.Drawable.ICallback @callback, global::Com.Facebook.Drawee.Drawable.ITransformCallback transformCallback) { const string __id = "setCallbacks.(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable$Callback;Lcom/facebook/drawee/drawable/TransformCallback;)V"; try { JniArgumentValue* __args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue ((drawable == null) ? IntPtr.Zero : ((global::Java.Lang.Object) drawable).Handle); __args [1] = new JniArgumentValue ((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object) @callback).Handle); __args [2] = new JniArgumentValue ((transformCallback == null) ? IntPtr.Zero : ((global::Java.Lang.Object) transformCallback).Handle); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { } }