Beispiel #1
0
 public override void SetContentView(global::Android.Views.View view, global::Android.Views.ViewGroup.LayoutParams @params)
 {
     if (id_setContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_ == IntPtr.Zero)
     {
         id_setContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_ = JNIEnv.GetMethodID(class_ref, "setContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_setContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_, new JValue(view), new JValue(@params));
 }
        void SetContentView(global::Android.Views.View view, global::Android.Views.ViewGroup.LayoutParams @params, global::Xamarin.Android.Design.OnLayoutItemNotFoundHandler onLayoutItemNotFound)
        {
            __layout_binding = new global::Binding.ActivitySub(view, onLayoutItemNotFound);
            bool callBase = true;

            OnSetContentView(view, @params, ref callBase);
            if (callBase)
            {
                base.SetContentView(view, @params);
            }
        }
        public override void SetContentView(global::Android.Views.View view, global::Android.Views.ViewGroup.LayoutParams @params)
        {
            __layout_binding = new global::Binding.ActivitySub(view);
            bool callBase = true;

            OnSetContentView(view, @params, ref callBase);
            if (callBase)
            {
                base.SetContentView(view, @params);
            }
        }
        public override sealed unsafe void AddView(global::Android.Views.View p0, global::Android.Views.ViewGroup.LayoutParams p1)
        {
            const string __id = "addView.(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
            public unsafe void SetLayoutParams(global::Android.Views.ViewGroup.LayoutParams this_)
            {
                const string __id = "setLayoutParams.(Landroid/view/ViewGroup$LayoutParams;)V";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                    __args [0] = new JniArgumentValue((this_ == null) ? IntPtr.Zero : ((global::Java.Lang.Object)this_).Handle);
                    _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args);
                } finally {
                    global::System.GC.KeepAlive(this_);
                }
            }
Beispiel #6
0
 partial void OnSetContentView(global::Android.Views.View view, global::Android.Views.ViewGroup.LayoutParams @params, ref bool callBaseAfterReturn)
 {
     onSetContentViewCalled_02 = true;
 }
        public static unsafe void UpdateMeasureSpec(global::Com.Facebook.Drawee.View.AspectRatioMeasure.Spec spec, float aspectRatio, global::Android.Views.ViewGroup.LayoutParams layoutParams, int widthPadding, int heightPadding)
        {
            const string __id = "updateMeasureSpec.(Lcom/facebook/drawee/view/AspectRatioMeasure$Spec;FLandroid/view/ViewGroup$LayoutParams;II)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [5];
                __args [0] = new JniArgumentValue((spec == null) ? IntPtr.Zero : ((global::Java.Lang.Object)spec).Handle);
                __args [1] = new JniArgumentValue(aspectRatio);
                __args [2] = new JniArgumentValue((layoutParams == null) ? IntPtr.Zero : ((global::Java.Lang.Object)layoutParams).Handle);
                __args [3] = new JniArgumentValue(widthPadding);
                __args [4] = new JniArgumentValue(heightPadding);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
 public virtual void AddContentView(global::Android.Views.View view, global::Android.Views.ViewGroup.LayoutParams @params)                         /* MethodBuilder.Create */
 {
 }