Ejemplo n.º 1
0
        public unsafe bool LayoutDependsOn(global::Android.Support.Design.Widget.CoordinatorLayout parent, global::Android.Views.View child, global::Android.Views.View dependency)
        {
            if (id_layoutDependsOn_Landroid_support_design_widget_CoordinatorLayout_Landroid_view_View_Landroid_view_View_ == IntPtr.Zero)
            {
                id_layoutDependsOn_Landroid_support_design_widget_CoordinatorLayout_Landroid_view_View_Landroid_view_View_ = JNIEnv.GetMethodID(class_ref, "layoutDependsOn", "(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(parent);
                __args [1] = new JValue(child);
                __args [2] = new JValue(dependency);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_layoutDependsOn_Landroid_support_design_widget_CoordinatorLayout_Landroid_view_View_Landroid_view_View_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "layoutDependsOn", "(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
Ejemplo n.º 2
0
        static bool n_LayoutDependsOn_Landroid_support_design_widget_CoordinatorLayout_Landroid_view_View_Landroid_view_View_(IntPtr jnienv, IntPtr native__this, IntPtr native_parent, IntPtr native_child, IntPtr native_dependency)
        {
            global::Android.Support.Design.Widget.AppBarLayout.ScrollingViewBehavior __this = global::Java.Lang.Object.GetObject <global::Android.Support.Design.Widget.AppBarLayout.ScrollingViewBehavior> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Support.Design.Widget.CoordinatorLayout parent = global::Java.Lang.Object.GetObject <global::Android.Support.Design.Widget.CoordinatorLayout> (native_parent, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.View child      = global::Java.Lang.Object.GetObject <global::Android.Views.View> (native_child, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.View dependency = global::Java.Lang.Object.GetObject <global::Android.Views.View> (native_dependency, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.LayoutDependsOn(parent, child, dependency);

            return(__ret);
        }
Ejemplo n.º 3
0
 static void n_SetVisibility_I(IntPtr jnienv, IntPtr native__this, int native_visibility)
 {
     global::Android.Support.Design.Widget.CoordinatorLayout __this = global::Java.Lang.Object.GetObject <global::Android.Support.Design.Widget.CoordinatorLayout> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Views.ViewStates visibility = (global::Android.Views.ViewStates)native_visibility;
     __this.SetVisibility(visibility);
 }