当前位置: 首页>>代码示例>>C#>>正文


C# Runtime.JValue类代码示例

本文整理汇总了C#中Android.Runtime.JValue的典型用法代码示例。如果您正苦于以下问题:C# JValue类的具体用法?C# JValue怎么用?C# JValue使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


JValue类属于Android.Runtime命名空间,在下文中一共展示了JValue类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BitmapDrawableResource

		public unsafe BitmapDrawableResource (global::Android.Graphics.Drawables.BitmapDrawable 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 (BitmapDrawableResource)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Landroid/graphics/drawable/BitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Landroid/graphics/drawable/BitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args);
					return;
				}

				if (id_ctor_Landroid_graphics_drawable_BitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero)
					id_ctor_Landroid_graphics_drawable_BitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Landroid/graphics/drawable/BitmapDrawable;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Landroid_graphics_drawable_BitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Landroid_graphics_drawable_BitmapDrawable_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args);
			} finally {
			}
		}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:27,代码来源:Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapDrawableResource.cs

示例2: ViESurfaceRenderer

		public unsafe ViESurfaceRenderer (global::Android.Views.SurfaceView 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 (ViESurfaceRenderer)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Landroid/view/SurfaceView;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Landroid/view/SurfaceView;)V", __args);
					return;
				}

				if (id_ctor_Landroid_view_SurfaceView_ == IntPtr.Zero)
					id_ctor_Landroid_view_SurfaceView_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Landroid/view/SurfaceView;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Landroid_view_SurfaceView_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Landroid_view_SurfaceView_, __args);
			} finally {
			}
		}
开发者ID:akonsand,项目名称:Peer.Net,代码行数:26,代码来源:Org.Webrtc.Videoengine.ViESurfaceRenderer.cs

示例3: ImageVideoFetcher

			public unsafe ImageVideoFetcher (global::Com.Bumptech.Glide.Load.Data.IDataFetcher p0, global::Com.Bumptech.Glide.Load.Data.IDataFetcher 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 (ImageVideoFetcher)) {
						SetHandle (
								global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Lcom/bumptech/glide/load/data/DataFetcher;Lcom/bumptech/glide/load/data/DataFetcher;)V", __args),
								JniHandleOwnership.TransferLocalRef);
						global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Lcom/bumptech/glide/load/data/DataFetcher;Lcom/bumptech/glide/load/data/DataFetcher;)V", __args);
						return;
					}

					if (id_ctor_Lcom_bumptech_glide_load_data_DataFetcher_Lcom_bumptech_glide_load_data_DataFetcher_ == IntPtr.Zero)
						id_ctor_Lcom_bumptech_glide_load_data_DataFetcher_Lcom_bumptech_glide_load_data_DataFetcher_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Lcom/bumptech/glide/load/data/DataFetcher;Lcom/bumptech/glide/load/data/DataFetcher;)V");
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Lcom_bumptech_glide_load_data_DataFetcher_Lcom_bumptech_glide_load_data_DataFetcher_, __args),
							JniHandleOwnership.TransferLocalRef);
					JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_data_DataFetcher_Lcom_bumptech_glide_load_data_DataFetcher_, __args);
				} finally {
				}
			}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:27,代码来源:Com.Bumptech.Glide.Load.Model.ImageVideoModelLoader.cs

示例4: ViewPropertyAnimationFactory

		public unsafe ViewPropertyAnimationFactory (global::Com.Bumptech.Glide.Request.Animation.ViewPropertyAnimation.IAnimator 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 (ViewPropertyAnimationFactory)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Lcom/bumptech/glide/request/animation/ViewPropertyAnimation$Animator;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Lcom/bumptech/glide/request/animation/ViewPropertyAnimation$Animator;)V", __args);
					return;
				}

				if (id_ctor_Lcom_bumptech_glide_request_animation_ViewPropertyAnimation_Animator_ == IntPtr.Zero)
					id_ctor_Lcom_bumptech_glide_request_animation_ViewPropertyAnimation_Animator_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Lcom/bumptech/glide/request/animation/ViewPropertyAnimation$Animator;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Lcom_bumptech_glide_request_animation_ViewPropertyAnimation_Animator_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Lcom_bumptech_glide_request_animation_ViewPropertyAnimation_Animator_, __args);
			} finally {
			}
		}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:26,代码来源:Com.Bumptech.Glide.Request.Animation.ViewPropertyAnimationFactory.cs

示例5: RecognitionResults

		public unsafe RecognitionResults (global::Com.Microblink.Recognizers.BaseRecognitionResult[] p0, global::Com.Microblink.View.Recognition.RecognitionType p1)
			: base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
		{
			if (Handle != IntPtr.Zero)
				return;

			IntPtr native_p0 = JNIEnv.NewArray (p0);
			try {
				JValue* __args = stackalloc JValue [2];
				__args [0] = new JValue (native_p0);
				__args [1] = new JValue (p1);
				if (GetType () != typeof (RecognitionResults)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "([Lcom/microblink/recognizers/BaseRecognitionResult;Lcom/microblink/view/recognition/RecognitionType;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "([Lcom/microblink/recognizers/BaseRecognitionResult;Lcom/microblink/view/recognition/RecognitionType;)V", __args);
					return;
				}

				if (id_ctor_arrayLcom_microblink_recognizers_BaseRecognitionResult_Lcom_microblink_view_recognition_RecognitionType_ == IntPtr.Zero)
					id_ctor_arrayLcom_microblink_recognizers_BaseRecognitionResult_Lcom_microblink_view_recognition_RecognitionType_ = JNIEnv.GetMethodID (class_ref, "<init>", "([Lcom/microblink/recognizers/BaseRecognitionResult;Lcom/microblink/view/recognition/RecognitionType;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_arrayLcom_microblink_recognizers_BaseRecognitionResult_Lcom_microblink_view_recognition_RecognitionType_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_arrayLcom_microblink_recognizers_BaseRecognitionResult_Lcom_microblink_view_recognition_RecognitionType_, __args);
			} finally {
				if (p0 != null) {
					JNIEnv.CopyArray (native_p0, p0);
					JNIEnv.DeleteLocalRef (native_p0);
				}
			}
		}
开发者ID:AmrReda,项目名称:BlinkID-for-Xamarin,代码行数:32,代码来源:Com.Microblink.Recognizers.RecognitionResults.cs

示例6: MtaSDkException

		public unsafe MtaSDkException (string p0, global::Java.Lang.Throwable p1)
			: base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
		{
			if (Handle != IntPtr.Zero)
				return;

			IntPtr native_p0 = JNIEnv.NewString (p0);
			try {
				JValue* __args = stackalloc JValue [2];
				__args [0] = new JValue (native_p0);
				__args [1] = new JValue (p1);
				if (GetType () != typeof (MtaSDkException)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Ljava/lang/String;Ljava/lang/Throwable;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Ljava/lang/String;Ljava/lang/Throwable;)V", __args);
					return;
				}

				if (id_ctor_Ljava_lang_String_Ljava_lang_Throwable_ == IntPtr.Zero)
					id_ctor_Ljava_lang_String_Ljava_lang_Throwable_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Ljava/lang/String;Ljava/lang/Throwable;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Ljava_lang_String_Ljava_lang_Throwable_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Ljava_lang_String_Ljava_lang_Throwable_, __args);
			} finally {
				JNIEnv.DeleteLocalRef (native_p0);
			}
		}
开发者ID:yz1311,项目名称:TencentSDKBinding,代码行数:29,代码来源:Com.Tencent.Stat.MtaSDkException.cs

示例7: base

        public unsafe ˮ͈(long p0, byte[] p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
                return;

            IntPtr native_p1 = JNIEnv.NewArray (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);
                if (GetType () != typeof (ˮ͈)) {
                    SetHandle (
                            global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(J[BLjava/lang/String;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(J[BLjava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_JarrayBLjava_lang_String_ == IntPtr.Zero)
                    id_ctor_JarrayBLjava_lang_String_ = JNIEnv.GetMethodID (class_ref, "<init>", "(J[BLjava/lang/String;)V");
                SetHandle (
                        global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_JarrayBLjava_lang_String_, __args),
                        JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_JarrayBLjava_lang_String_, __args);
            } finally {
                if (p1 != null) {
                    JNIEnv.CopyArray (native_p1, p1);
                    JNIEnv.DeleteLocalRef (native_p1);
                }
                JNIEnv.DeleteLocalRef (native_p2);
            }
        }
开发者ID:yelkrebb,项目名称:XamTest-,代码行数:35,代码来源:Com.Qcl.VH.Content.ˮ͈.cs

示例8: MRTDRecognitionResult

		public unsafe MRTDRecognitionResult (long p0, bool p1, bool p2)
			: base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
		{
			if (Handle != IntPtr.Zero)
				return;

			try {
				JValue* __args = stackalloc JValue [3];
				__args [0] = new JValue (p0);
				__args [1] = new JValue (p1);
				__args [2] = new JValue (p2);
				if (GetType () != typeof (MRTDRecognitionResult)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(JZZ)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(JZZ)V", __args);
					return;
				}

				if (id_ctor_JZZ == IntPtr.Zero)
					id_ctor_JZZ = JNIEnv.GetMethodID (class_ref, "<init>", "(JZZ)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_JZZ, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_JZZ, __args);
			} finally {
			}
		}
开发者ID:AmrReda,项目名称:BlinkID-for-Xamarin,代码行数:28,代码来源:Com.Microblink.Recognizers.Blinkid.Mrtd.MRTDRecognitionResult.cs

示例9: base

        public unsafe Ą(global::System.IO.Stream p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
                return;

            IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle (p0);
            try {
                JValue* __args = stackalloc JValue [1];
                __args [0] = new JValue (native_p0);
                if (GetType () != typeof (Ą)) {
                    SetHandle (
                            global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Ljava/io/InputStream;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Ljava/io/InputStream;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_io_InputStream_ == IntPtr.Zero)
                    id_ctor_Ljava_io_InputStream_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Ljava/io/InputStream;)V");
                SetHandle (
                        global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Ljava_io_InputStream_, __args),
                        JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Ljava_io_InputStream_, __args);
            } finally {
                JNIEnv.DeleteLocalRef (native_p0);
            }
        }
开发者ID:yelkrebb,项目名称:XamTest-,代码行数:28,代码来源:Com.Qcl.VH.MD.Vitalograph.Ą.cs

示例10: DiskLruCacheWrapper

		protected unsafe DiskLruCacheWrapper (global::Java.IO.File 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 (DiskLruCacheWrapper)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Ljava/io/File;I)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Ljava/io/File;I)V", __args);
					return;
				}

				if (id_ctor_Ljava_io_File_I == IntPtr.Zero)
					id_ctor_Ljava_io_File_I = JNIEnv.GetMethodID (class_ref, "<init>", "(Ljava/io/File;I)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Ljava_io_File_I, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Ljava_io_File_I, __args);
			} finally {
			}
		}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:27,代码来源:Com.Bumptech.Glide.Load.Engine.Cache.DiskLruCacheWrapper.cs

示例11: ZipShort

		public unsafe ZipShort (int 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 (ZipShort)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(I)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(I)V", __args);
					return;
				}

				if (id_ctor_I == IntPtr.Zero)
					id_ctor_I = JNIEnv.GetMethodID (class_ref, "<init>", "(I)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_I, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_I, __args);
			} finally {
			}
		}
开发者ID:yz1311,项目名称:TencentSDKBinding,代码行数:26,代码来源:Com.Tencent.Open.Utils.ZipShort.cs

示例12: MapView

		public unsafe MapView (global::Android.Content.Context p0, global::Com.Baidu.Mapapi.Map.BaiduMapOptions 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 (MapView)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Landroid/content/Context;Lcom/baidu/mapapi/map/BaiduMapOptions;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Landroid/content/Context;Lcom/baidu/mapapi/map/BaiduMapOptions;)V", __args);
					return;
				}

				if (id_ctor_Landroid_content_Context_Lcom_baidu_mapapi_map_BaiduMapOptions_ == IntPtr.Zero)
					id_ctor_Landroid_content_Context_Lcom_baidu_mapapi_map_BaiduMapOptions_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Landroid/content/Context;Lcom/baidu/mapapi/map/BaiduMapOptions;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Landroid_content_Context_Lcom_baidu_mapapi_map_BaiduMapOptions_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_baidu_mapapi_map_BaiduMapOptions_, __args);
			} finally {
			}
		}
开发者ID:lq-ever,项目名称:CommunityCenter,代码行数:27,代码来源:Com.Baidu.Mapapi.Map.MapView.cs

示例13: BitmapEncoder

		public unsafe BitmapEncoder (global::Android.Graphics.Bitmap.CompressFormat 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 (BitmapEncoder)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Landroid/graphics/Bitmap$CompressFormat;I)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Landroid/graphics/Bitmap$CompressFormat;I)V", __args);
					return;
				}

				if (id_ctor_Landroid_graphics_Bitmap_CompressFormat_I == IntPtr.Zero)
					id_ctor_Landroid_graphics_Bitmap_CompressFormat_I = JNIEnv.GetMethodID (class_ref, "<init>", "(Landroid/graphics/Bitmap$CompressFormat;I)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Landroid_graphics_Bitmap_CompressFormat_I, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Landroid_graphics_Bitmap_CompressFormat_I, __args);
			} finally {
			}
		}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:27,代码来源:Com.Bumptech.Glide.Load.Resource.Bitmap.BitmapEncoder.cs

示例14: BusLineOverlay

		public unsafe BusLineOverlay (global::Com.Baidu.Mapapi.Map.BaiduMap 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 (BusLineOverlay)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Lcom/baidu/mapapi/map/BaiduMap;)V", __args),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Lcom/baidu/mapapi/map/BaiduMap;)V", __args);
					return;
				}

				if (id_ctor_Lcom_baidu_mapapi_map_BaiduMap_ == IntPtr.Zero)
					id_ctor_Lcom_baidu_mapapi_map_BaiduMap_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Lcom/baidu/mapapi/map/BaiduMap;)V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Lcom_baidu_mapapi_map_BaiduMap_, __args),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Lcom_baidu_mapapi_map_BaiduMap_, __args);
			} finally {
			}
		}
开发者ID:lq-ever,项目名称:CommunityCenter,代码行数:26,代码来源:Com.Baidu.Mapapi.Overlayutil.BusLineOverlay.cs

示例15: ConcreteAnimationFactory

			public unsafe ConcreteAnimationFactory (global::Android.Views.Animations.Animation 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 (ConcreteAnimationFactory)) {
						SetHandle (
								global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "(Landroid/view/animation/Animation;)V", __args),
								JniHandleOwnership.TransferLocalRef);
						global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "(Landroid/view/animation/Animation;)V", __args);
						return;
					}

					if (id_ctor_Landroid_view_animation_Animation_ == IntPtr.Zero)
						id_ctor_Landroid_view_animation_Animation_ = JNIEnv.GetMethodID (class_ref, "<init>", "(Landroid/view/animation/Animation;)V");
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor_Landroid_view_animation_Animation_, __args),
							JniHandleOwnership.TransferLocalRef);
					JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor_Landroid_view_animation_Animation_, __args);
				} finally {
				}
			}
开发者ID:thanhdatbkhn,项目名称:GlideXamarinBinding,代码行数:26,代码来源:Com.Bumptech.Glide.Request.Animation.ViewAnimationFactory.cs


注:本文中的Android.Runtime.JValue类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。