예제 #1
0
        public static unsafe int GetColor(global::Android.Views.View p0, int p1, global::Android.Content.Res.Resources.Theme p2)
        {
            const string __id = "getColor.(Landroid/view/View;ILandroid/content/res/Resources$Theme;)I";

            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);
                var __rm = _members.StaticMethods.InvokeInt32Method(__id, __args);
                return(__rm);
            } finally {
            }
        }
예제 #2
0
        public static unsafe global::Android.Graphics.Drawables.Drawable GetDrawable(global::Android.Views.View p0, int p1, global::Android.Content.Res.Resources.Theme p2)
        {
            const string __id = "getDrawable.(Landroid/view/View;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;";

            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);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Android.Graphics.Drawables.Drawable> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
예제 #3
0
 protected override void OnApplyThemeResource(global::Android.Content.Res.Resources.Theme theme, int resid, bool first)
 {
     base.OnApplyThemeResource(theme, Resource.Style.MyTheme, first);
 }
        public static unsafe int GetColor(global::Android.Content.Res.TypedArray typedArray, int id, global::Android.Content.Res.Resources.Theme theme)
        {
            const string __id = "getColor.(Landroid/content/res/TypedArray;ILandroid/content/res/Resources$Theme;)I";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((typedArray == null) ? IntPtr.Zero : ((global::Java.Lang.Object)typedArray).Handle);
                __args [1] = new JniArgumentValue(id);
                __args [2] = new JniArgumentValue((theme == null) ? IntPtr.Zero : ((global::Java.Lang.Object)theme).Handle);
                var __rm = _members.StaticMethods.InvokeInt32Method(__id, __args);
                return(__rm);
            } finally {
            }
        }
예제 #5
0
 public MultiSelectSpinner(Context context, IAttributeSet attrs, int defStyleAttr, int mode, global::Android.Content.Res.Resources.Theme popupTheme) : base(context, attrs, defStyleAttr, mode, popupTheme)
 {
     Initialize(attrs);
 }