static IntPtr n_InvokeTypeface_Landroid_graphics_Typeface_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amap.Api.Maps2d.Model.TextOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.TextOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Graphics.Typeface             p0     = global::Java.Lang.Object.GetObject <global::Android.Graphics.Typeface> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeTypeface(p0));

            return(__ret);
        }
Example #2
0
        static IntPtr n_Typeface_Landroid_graphics_Typeface_(IntPtr jnienv, IntPtr native__this, IntPtr native_typeface)
        {
            global::Com.Nightonke.Boommenu.BoomButtons.BoomButtonWithTextBuilder __this = global::Java.Lang.Object.GetObject <global::Com.Nightonke.Boommenu.BoomButtons.BoomButtonWithTextBuilder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Graphics.Typeface typeface = global::Java.Lang.Object.GetObject <global::Android.Graphics.Typeface> (native_typeface, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Typeface(typeface));

            return(__ret);
        }
        static IntPtr n_WithTypeface_Landroid_graphics_Typeface_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Graphics.Typeface p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Typeface> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.WithTypeface(p0));

            return(__ret);
        }
Example #4
0
        public virtual unsafe global::Java.Lang.Object Typeface(global::Android.Graphics.Typeface typeface)
        {
            const string __id = "typeface.(Landroid/graphics/Typeface;)Ljava/lang/Object;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((typeface == null) ? IntPtr.Zero : ((global::Java.Lang.Object)typeface).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return((Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
        public unsafe global::Com.Baidu.Mapapi.Map.TextOptions InvokeTypeface(global::Android.Graphics.Typeface p0)
        {
            const string __id = "typeface.(Landroid/graphics/Typeface;)Lcom/baidu/mapapi/map/TextOptions;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.TextOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
		public static unsafe void RegistFontCache (int p0, global::Android.Graphics.Typeface p1)
		{
			if (id_registFontCache_ILandroid_graphics_Typeface_ == IntPtr.Zero)
				id_registFontCache_ILandroid_graphics_Typeface_ = JNIEnv.GetStaticMethodID (class_ref, "registFontCache", "(ILandroid/graphics/Typeface;)V");
			try {
				JValue* __args = stackalloc JValue [2];
				__args [0] = new JValue (p0);
				__args [1] = new JValue (p1);
				JNIEnv.CallStaticVoidMethod  (class_ref, id_registFontCache_ILandroid_graphics_Typeface_, __args);
			} finally {
			}
		}
        public static unsafe void RegistFontCache(int p0, global::Android.Graphics.Typeface p1)
        {
            const string __id = "registFontCache.(ILandroid/graphics/Typeface;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue(p0);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
Example #8
0
        public unsafe global::Java.Lang.Object WithTypeface(global::Android.Graphics.Typeface p0)
        {
            if (id_withTypeface_Landroid_graphics_Typeface_ == IntPtr.Zero)
            {
                id_withTypeface_Landroid_graphics_Typeface_ = JNIEnv.GetMethodID(class_ref, "withTypeface", "(Landroid/graphics/Typeface;)Ljava/lang/Object;");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_withTypeface_Landroid_graphics_Typeface_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }
 public unsafe global::Com.Baidu.Mapapi.Map.TextOptions InvokeTypeface(global::Android.Graphics.Typeface p0)
 {
     if (id_typeface_Landroid_graphics_Typeface_ == IntPtr.Zero)
     {
         id_typeface_Landroid_graphics_Typeface_ = JNIEnv.GetMethodID(class_ref, "typeface", "(Landroid/graphics/Typeface;)Lcom/baidu/mapapi/map/TextOptions;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Baidu.Mapapi.Map.TextOptions __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.TextOptions> (JNIEnv.CallObjectMethod(Handle, id_typeface_Landroid_graphics_Typeface_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Example #10
0
 public static unsafe global::Android.Graphics.Typeface GetFont(global::Android.Content.Context p0, global::Com.Cengalabs.Flatui.Attributes p1)
 {
     if (id_getFont_Landroid_content_Context_Lcom_cengalabs_flatui_Attributes_ == IntPtr.Zero)
     {
         id_getFont_Landroid_content_Context_Lcom_cengalabs_flatui_Attributes_ = JNIEnv.GetStaticMethodID(class_ref, "getFont", "(Landroid/content/Context;Lcom/cengalabs/flatui/Attributes;)Landroid/graphics/Typeface;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Android.Graphics.Typeface __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Typeface> (JNIEnv.CallStaticObjectMethod(class_ref, id_getFont_Landroid_content_Context_Lcom_cengalabs_flatui_Attributes_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Example #11
0
 static void n_SetTypeface_Landroid_graphics_Typeface_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amap.Api.Interfaces.IText __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IText> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Graphics.Typeface     p0     = global::Java.Lang.Object.GetObject <global::Android.Graphics.Typeface> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Typeface = p0;
 }
 // This method is explicitly implemented as a member of an instantiated Com.Mikepenz.Materialdrawer.Model.Interfaces.ITypefaceable
 global::Java.Lang.Object global::Com.Mikepenz.Materialdrawer.Model.Interfaces.ITypefaceable.WithTypeface(global::Android.Graphics.Typeface p0)
 {
     return(global::Java.Interop.JavaObjectExtensions.JavaCast <Java.Lang.Object>(WithTypeface(p0)));
 }
        public virtual unsafe global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem WithTypeface(global::Android.Graphics.Typeface p0)
        {
            if (id_withTypeface_Landroid_graphics_Typeface_ == IntPtr.Zero)
            {
                id_withTypeface_Landroid_graphics_Typeface_ = JNIEnv.GetMethodID(class_ref, "withTypeface", "(Landroid/graphics/Typeface;)Lcom/mikepenz/materialdrawer/model/SectionDrawerItem;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_withTypeface_Landroid_graphics_Typeface_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.SectionDrawerItem> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "withTypeface", "(Landroid/graphics/Typeface;)Lcom/mikepenz/materialdrawer/model/SectionDrawerItem;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }