public unsafe ImageViewAware(global::Android.Widget.ImageView p0, bool p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                if (GetType() != typeof(ImageViewAware))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/widget/ImageView;Z)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/widget/ImageView;Z)V", __args);
                    return;
                }

                if (id_ctor_Landroid_widget_ImageView_Z == IntPtr.Zero)
                {
                    id_ctor_Landroid_widget_ImageView_Z = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/widget/ImageView;Z)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_widget_ImageView_Z, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_widget_ImageView_Z, __args);
            } finally {
            }
        }
        public virtual unsafe bool SetImage(global::Android.Widget.ImageView p0, global::Android.Net.Uri p1, string p2)
        {
            if (id_setImage_Landroid_widget_ImageView_Landroid_net_Uri_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_setImage_Landroid_widget_ImageView_Landroid_net_Uri_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "setImage", "(Landroid/widget/ImageView;Landroid/net/Uri;Ljava/lang/String;)Z");
            }
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_setImage_Landroid_widget_ImageView_Landroid_net_Uri_Ljava_lang_String_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setImage", "(Landroid/widget/ImageView;Landroid/net/Uri;Ljava/lang/String;)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Ejemplo n.º 3
0
            public ThumbnailTask(global::Org.Osmdroid.Bonuspack.Location.POI __self, global::Android.Widget.ImageView p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (Handle != IntPtr.Zero)
                {
                    return;
                }

                if (GetType() != typeof(ThumbnailTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/widget/ImageView;)V", new JValue(__self), new JValue(p1)),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/widget/ImageView;)V", new JValue(__self), new JValue(p1));
                    return;
                }

                if (id_ctor_Lorg_osmdroid_bonuspack_location_POI_Landroid_widget_ImageView_ == IntPtr.Zero)
                {
                    id_ctor_Lorg_osmdroid_bonuspack_location_POI_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorg/osmdroid/bonuspack/location/POI;Landroid/widget/ImageView;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lorg_osmdroid_bonuspack_location_POI_Landroid_widget_ImageView_, new JValue(__self), new JValue(p1)),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lorg_osmdroid_bonuspack_location_POI_Landroid_widget_ImageView_, new JValue(__self), new JValue(p1));
            }
        public unsafe BitmapImageViewTarget(global::Android.Widget.ImageView p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (GetType() != typeof(BitmapImageViewTarget))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/widget/ImageView;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/widget/ImageView;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_widget_ImageView_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/widget/ImageView;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_widget_ImageView_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_widget_ImageView_, __args);
            } finally {
            }
        }
 static void n_Set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader.IDrawerImageLoader __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader.IDrawerImageLoader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Widget.ImageView            p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.Net.Uri                     p1 = global::Java.Lang.Object.GetObject <global::Android.Net.Uri> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Android.Graphics.Drawables.Drawable p2 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Drawables.Drawable> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.Set(p0, p1, p2);
 }
        static IntPtr n_BuildTarget_Landroid_widget_ImageView_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Bumptech.Glide.Request.Target.ImageViewTargetFactory __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.ImageViewTargetFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Widget.ImageView p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Class          p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.BuildTarget(p0, p1));

            return(__ret);
        }
        static bool n_SetImage_Landroid_widget_ImageView_Landroid_net_Uri_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
        {
            global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Widget.ImageView p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Net.Uri          p1 = global::Java.Lang.Object.GetObject <global::Android.Net.Uri> (native_p1, JniHandleOwnership.DoNotTransfer);
            string p2    = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer);
            bool   __ret = __this.SetImage(p0, p1, p2);

            return(__ret);
        }
            public unsafe void Cancel(global::Android.Widget.ImageView p0)
            {
                if (id_cancel_Landroid_widget_ImageView_ == IntPtr.Zero)
                {
                    id_cancel_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "cancel", "(Landroid/widget/ImageView;)V");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue(p0);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_cancel_Landroid_widget_ImageView_, __args);
            }
		public static unsafe global::Android.Widget.ImageView C (global::Android.Content.Context p0)
		{
			if (id_c_Landroid_content_Context_ == IntPtr.Zero)
				id_c_Landroid_content_Context_ = JNIEnv.GetStaticMethodID (class_ref, "c", "(Landroid/content/Context;)Landroid/widget/ImageView;");
			try {
				JValue* __args = stackalloc JValue [1];
				__args [0] = new JValue (p0);
				global::Android.Widget.ImageView __ret = global::Java.Lang.Object.GetObject<global::Android.Widget.ImageView> (JNIEnv.CallStaticObjectMethod  (class_ref, id_c_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef);
				return __ret;
			} finally {
			}
		}
        public static unsafe void SetTintList(global::Android.Widget.ImageView imageView, int tintColor)
        {
            const string __id = "setTintList.(Landroid/widget/ImageView;I)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((imageView == null) ? IntPtr.Zero : ((global::Java.Lang.Object)imageView).Handle);
                __args [1] = new JniArgumentValue(tintColor);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
Ejemplo n.º 11
0
        public static unsafe void SetDrawable(global::Android.Widget.ImageView p0, int p1, global::Android.Graphics.Drawables.Drawable p2)
        {
            const string __id = "setDrawable.(Landroid/widget/ImageView;ILandroid/graphics/drawable/Drawable;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue(p1);
                __args [2] = new JniArgumentValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
            public unsafe void Set(global::Android.Widget.ImageView p0, global::Android.Net.Uri p1, global::Android.Graphics.Drawables.Drawable p2)
            {
                if (id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_ == IntPtr.Zero)
                {
                    id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_ = JNIEnv.GetMethodID(class_ref, "set", "(Landroid/widget/ImageView;Landroid/net/Uri;Landroid/graphics/drawable/Drawable;)V");
                }
                JValue *__args = stackalloc JValue [3];

                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_, __args);
            }
 public static unsafe void StartProgressBarAnimation(global::Android.Widget.ImageView p0, int p1)
 {
     if (id_startProgressBarAnimation_Landroid_widget_ImageView_I == IntPtr.Zero)
     {
         id_startProgressBarAnimation_Landroid_widget_ImageView_I = JNIEnv.GetStaticMethodID(class_ref, "startProgressBarAnimation", "(Landroid/widget/ImageView;I)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallStaticVoidMethod(class_ref, id_startProgressBarAnimation_Landroid_widget_ImageView_I, __args);
     } finally {
     }
 }
Ejemplo n.º 14
0
 public static unsafe void SetImageDrawable(global::Android.Widget.ImageView p0, global::Android.Graphics.Drawables.Drawable p1, int p2)
 {
     if (id_setImageDrawable_Landroid_widget_ImageView_Landroid_graphics_drawable_Drawable_I == IntPtr.Zero)
     {
         id_setImageDrawable_Landroid_widget_ImageView_Landroid_graphics_drawable_Drawable_I = JNIEnv.GetStaticMethodID(class_ref, "setImageDrawable", "(Landroid/widget/ImageView;Landroid/graphics/drawable/Drawable;I)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallStaticVoidMethod(class_ref, id_setImageDrawable_Landroid_widget_ImageView_Landroid_graphics_drawable_Drawable_I, __args);
     } finally {
     }
 }
Ejemplo n.º 15
0
            protected virtual void OnPostExecute(global::Android.Widget.ImageView p0)
            {
                if (id_onPostExecute_Landroid_widget_ImageView_ == IntPtr.Zero)
                {
                    id_onPostExecute_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "onPostExecute", "(Landroid/widget/ImageView;)V");
                }

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_onPostExecute_Landroid_widget_ImageView_, new JValue(p0));
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onPostExecute", "(Landroid/widget/ImageView;)V"), new JValue(p0));
                }
            }
Ejemplo n.º 16
0
        public virtual void FetchThumbnailOnThread(global::Android.Widget.ImageView p0)
        {
            if (id_fetchThumbnailOnThread_Landroid_widget_ImageView_ == IntPtr.Zero)
            {
                id_fetchThumbnailOnThread_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "fetchThumbnailOnThread", "(Landroid/widget/ImageView;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_fetchThumbnailOnThread_Landroid_widget_ImageView_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "fetchThumbnailOnThread", "(Landroid/widget/ImageView;)V"), new JValue(p0));
            }
        }
Ejemplo n.º 17
0
        public static unsafe void LoadImageView(string p0, global::Android.Widget.ImageView p1)
        {
            if (id_loadImageView_Ljava_lang_String_Landroid_widget_ImageView_ == IntPtr.Zero)
            {
                id_loadImageView_Ljava_lang_String_Landroid_widget_ImageView_ = JNIEnv.GetStaticMethodID(class_ref, "loadImageView", "(Ljava/lang/String;Landroid/widget/ImageView;)V");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                JNIEnv.CallStaticVoidMethod(class_ref, id_loadImageView_Ljava_lang_String_Landroid_widget_ImageView_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Ejemplo n.º 18
0
        public static unsafe void SetImageUrl(global::Android.Widget.ImageView p0, string p1, int p2)
        {
            if (id_setImageUrl_Landroid_widget_ImageView_Ljava_lang_String_I == IntPtr.Zero)
            {
                id_setImageUrl_Landroid_widget_ImageView_Ljava_lang_String_I = JNIEnv.GetStaticMethodID(class_ref, "setImageUrl", "(Landroid/widget/ImageView;Ljava/lang/String;I)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                JNIEnv.CallStaticVoidMethod(class_ref, id_setImageUrl_Landroid_widget_ImageView_Ljava_lang_String_I, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Ejemplo n.º 19
0
        public static unsafe void AddPrivacyInformationIcon(global::Android.Widget.ImageView p0, string p1, string p2)
        {
            if (id_addPrivacyInformationIcon_Landroid_widget_ImageView_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_addPrivacyInformationIcon_Landroid_widget_ImageView_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "addPrivacyInformationIcon", "(Landroid/widget/ImageView;Ljava/lang/String;Ljava/lang/String;)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                JNIEnv.CallStaticVoidMethod(class_ref, id_addPrivacyInformationIcon_Landroid_widget_ImageView_Ljava_lang_String_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public virtual unsafe void CancelImage(global::Android.Widget.ImageView p0)
        {
            if (id_cancelImage_Landroid_widget_ImageView_ == IntPtr.Zero)
            {
                id_cancelImage_Landroid_widget_ImageView_ = JNIEnv.GetMethodID(class_ref, "cancelImage", "(Landroid/widget/ImageView;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_cancelImage_Landroid_widget_ImageView_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "cancelImage", "(Landroid/widget/ImageView;)V"), __args);
                }
            } finally {
            }
        }
Ejemplo n.º 21
0
        public virtual unsafe void Set(global::Android.Widget.ImageView p0, global::Android.Net.Uri p1, global::Android.Graphics.Drawables.Drawable p2)
        {
            if (id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_ == IntPtr.Zero)
            {
                id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_ = JNIEnv.GetMethodID(class_ref, "set", "(Landroid/widget/ImageView;Landroid/net/Uri;Landroid/graphics/drawable/Drawable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_set_Landroid_widget_ImageView_Landroid_net_Uri_Landroid_graphics_drawable_Drawable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "set", "(Landroid/widget/ImageView;Landroid/net/Uri;Landroid/graphics/drawable/Drawable;)V"), __args);
                }
            } finally {
            }
        }
Ejemplo n.º 22
0
 public ImageViewAwareCancellable(global::Android.Widget.ImageView p0, CancellationToken ct) : base(p0)
 {
     //We do not want to Cancel any request since it makes the ImageLoader code misbehave in multiple scenarios.
     _ct = CancellationToken.None;
 }
Ejemplo n.º 23
0
 public static unsafe global::Com.Nostra13.Universalimageloader.Core.Assist.ViewScaleType FromImageView(global::Android.Widget.ImageView p0)
 {
     if (id_fromImageView_Landroid_widget_ImageView_ == IntPtr.Zero)
     {
         id_fromImageView_Landroid_widget_ImageView_ = JNIEnv.GetStaticMethodID(class_ref, "fromImageView", "(Landroid/widget/ImageView;)Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Nostra13.Universalimageloader.Core.Assist.ViewScaleType __ret = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Core.Assist.ViewScaleType> (JNIEnv.CallStaticObjectMethod(class_ref, id_fromImageView_Landroid_widget_ImageView_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Ejemplo n.º 24
0
 static void n_OnPostExecute_Landroid_widget_ImageView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Osmdroid.Bonuspack.Location.POI.ThumbnailTask __this = global::Java.Lang.Object.GetObject <global::Org.Osmdroid.Bonuspack.Location.POI.ThumbnailTask> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Widget.ImageView p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnPostExecute(p0);
 }
 static void n_Cancel_Landroid_widget_ImageView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader.IDrawerImageLoader __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Util.DrawerImageLoader.IDrawerImageLoader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Widget.ImageView p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Cancel(p0);
 }
Ejemplo n.º 26
0
 static void n_FetchThumbnailOnThread_Landroid_widget_ImageView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Osmdroid.Bonuspack.Location.POI __this = global::Java.Lang.Object.GetObject <global::Org.Osmdroid.Bonuspack.Location.POI> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Widget.ImageView            p0     = global::Java.Lang.Object.GetObject <global::Android.Widget.ImageView> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.FetchThumbnailOnThread(p0);
 }
Ejemplo n.º 27
0
 public static unsafe void ApplyDecidedIconOrSetGone(global::Com.Mikepenz.Materialdrawer.Holder.ImageHolder p0, global::Android.Widget.ImageView p1, int p2, bool p3, int p4)
 {
     if (id_applyDecidedIconOrSetGone_Lcom_mikepenz_materialdrawer_holder_ImageHolder_Landroid_widget_ImageView_IZI == IntPtr.Zero)
     {
         id_applyDecidedIconOrSetGone_Lcom_mikepenz_materialdrawer_holder_ImageHolder_Landroid_widget_ImageView_IZI = JNIEnv.GetStaticMethodID(class_ref, "applyDecidedIconOrSetGone", "(Lcom/mikepenz/materialdrawer/holder/ImageHolder;Landroid/widget/ImageView;IZI)V");
     }
     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);
         JNIEnv.CallStaticVoidMethod(class_ref, id_applyDecidedIconOrSetGone_Lcom_mikepenz_materialdrawer_holder_ImageHolder_Landroid_widget_ImageView_IZI, __args);
     } finally {
     }
 }
        public virtual unsafe global::Com.Bumptech.Glide.Request.Target.ITarget BuildTarget(global::Android.Widget.ImageView p0, global::Java.Lang.Class p1)
        {
            if (id_buildTarget_Landroid_widget_ImageView_Ljava_lang_Class_ == IntPtr.Zero)
            {
                id_buildTarget_Landroid_widget_ImageView_Ljava_lang_Class_ = JNIEnv.GetMethodID(class_ref, "buildTarget", "(Landroid/widget/ImageView;Ljava/lang/Class;)Lcom/bumptech/glide/request/target/Target;");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                global::Com.Bumptech.Glide.Request.Target.ITarget __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.ITarget> (JNIEnv.CallObjectMethod(Handle, id_buildTarget_Landroid_widget_ImageView_Ljava_lang_Class_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.Target.ITarget> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "buildTarget", "(Landroid/widget/ImageView;Ljava/lang/Class;)Lcom/bumptech/glide/request/target/Target;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }
Ejemplo n.º 29
0
            public unsafe ProfilePictureUpload(global::Com.Applozic.Mobicomkit.Uiwidgets.Conversation.Activity.ChannelNameActivity __self, global::Android.Content.Context p1, global::Android.Widget.ImageView p2, global::Com.Applozic.Mobicomkit.Feed.GroupInfoUpdate p3)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                try {
                    JValue *__args = stackalloc JValue [4];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(p1);
                    __args [2] = new JValue(p2);
                    __args [3] = new JValue(p3);
                    if (((object)this).GetType() != typeof(ProfilePictureUpload))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/content/Context;Landroid/widget/ImageView;Lcom/applozic/mobicomkit/feed/GroupInfoUpdate;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/content/Context;Landroid/widget/ImageView;Lcom/applozic/mobicomkit/feed/GroupInfoUpdate;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_applozic_mobicomkit_uiwidgets_conversation_activity_ChannelNameActivity_Landroid_content_Context_Landroid_widget_ImageView_Lcom_applozic_mobicomkit_feed_GroupInfoUpdate_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_applozic_mobicomkit_uiwidgets_conversation_activity_ChannelNameActivity_Landroid_content_Context_Landroid_widget_ImageView_Lcom_applozic_mobicomkit_feed_GroupInfoUpdate_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/applozic/mobicomkit/uiwidgets/conversation/activity/ChannelNameActivity;Landroid/content/Context;Landroid/widget/ImageView;Lcom/applozic/mobicomkit/feed/GroupInfoUpdate;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_applozic_mobicomkit_uiwidgets_conversation_activity_ChannelNameActivity_Landroid_content_Context_Landroid_widget_ImageView_Lcom_applozic_mobicomkit_feed_GroupInfoUpdate_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_applozic_mobicomkit_uiwidgets_conversation_activity_ChannelNameActivity_Landroid_content_Context_Landroid_widget_ImageView_Lcom_applozic_mobicomkit_feed_GroupInfoUpdate_, __args);
                } finally {
                }
            }