C# Class Cheesebaron.SlidingUpPanel.SlidingUpPanelLayout

Inheritance: Android.Views.ViewGroup
Mostrar archivo Open project: Cheesebaron/SlidingUpPanel Class Usage Examples

Private Properties

Property Type Description
HasOpaqueBackground bool
IsDragViewUnder bool
OnPanelAnchored void
OnPanelCollapsed void
OnPanelDragged void
OnPanelExpanded void
OnPanelSlide void
SetAllChildrenVisible void
SmoothSlideTo bool
UpdateObscuredViewVisibility void

Public Methods

Method Description
CollapsePane ( ) : bool
ComputeScroll ( ) : void
Draw ( Android.Graphics.Canvas canvas ) : void
ExpandPane ( ) : bool
ExpandPane ( float slideOffset ) : bool
FloatNearlyEqual ( float a, float b ) : bool
FloatNearlyEqual ( float a, float b, float epsilon ) : bool
GenerateLayoutParams ( IAttributeSet attrs ) : Android.Views.ViewGroup.LayoutParams
HidePane ( ) : void
OnInterceptTouchEvent ( Android.Views.MotionEvent ev ) : bool
OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
ShowPane ( ) : void
SlidingUpPanelLayout ( Android.Content.Context context ) : System
SlidingUpPanelLayout ( Android.Content.Context context, IAttributeSet attrs ) : System
SlidingUpPanelLayout ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
SlidingUpPanelLayout ( IntPtr javaReference, JniHandleOwnership transfer ) : System

Protected Methods

Method Description
CanScroll ( Android.Views.View view, bool checkV, int dx, int x, int y ) : bool
CheckLayoutParams ( Android.Views.ViewGroup p ) : bool
DrawChild ( Android.Graphics.Canvas canvas, Android.Views.View child, long drawingTime ) : bool
GenerateDefaultLayoutParams ( ) : Android.Views.ViewGroup.LayoutParams
GenerateLayoutParams ( Android.Views.ViewGroup p ) : Android.Views.ViewGroup.LayoutParams
OnAttachedToWindow ( ) : void
OnDetachedFromWindow ( ) : void
OnFinishInflate ( ) : void
OnLayout ( bool changed, int l, int t, int r, int b ) : void
OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
OnRestoreInstanceState ( IParcelable state ) : void
OnSaveInstanceState ( ) : IParcelable
OnSizeChanged ( int w, int h, int oldw, int oldh ) : void

Private Methods

Method Description
HasOpaqueBackground ( Android.Views.View view ) : bool
IsDragViewUnder ( int x, int y ) : bool
OnPanelAnchored ( Android.Views.View panel ) : void
OnPanelCollapsed ( Android.Views.View panel ) : void
OnPanelDragged ( int newTop ) : void
OnPanelExpanded ( Android.Views.View panel ) : void
OnPanelSlide ( Android.Views.View panel ) : void
SetAllChildrenVisible ( ) : void
SmoothSlideTo ( float slideOffset ) : bool
UpdateObscuredViewVisibility ( ) : void

Method Details

CanScroll() protected method

protected CanScroll ( Android.Views.View view, bool checkV, int dx, int x, int y ) : bool
view Android.Views.View
checkV bool
dx int
x int
y int
return bool

CheckLayoutParams() protected method

protected CheckLayoutParams ( Android.Views.ViewGroup p ) : bool
p Android.Views.ViewGroup
return bool

CollapsePane() public method

public CollapsePane ( ) : bool
return bool

ComputeScroll() public method

public ComputeScroll ( ) : void
return void

Draw() public method

public Draw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
return void

DrawChild() protected method

protected DrawChild ( Android.Graphics.Canvas canvas, Android.Views.View child, long drawingTime ) : bool
canvas Android.Graphics.Canvas
child Android.Views.View
drawingTime long
return bool

ExpandPane() public method

public ExpandPane ( ) : bool
return bool

ExpandPane() public method

public ExpandPane ( float slideOffset ) : bool
slideOffset float
return bool

FloatNearlyEqual() public static method

public static FloatNearlyEqual ( float a, float b ) : bool
a float
b float
return bool

FloatNearlyEqual() public static method

public static FloatNearlyEqual ( float a, float b, float epsilon ) : bool
a float
b float
epsilon float
return bool

GenerateDefaultLayoutParams() protected method

protected GenerateDefaultLayoutParams ( ) : Android.Views.ViewGroup.LayoutParams
return Android.Views.ViewGroup.LayoutParams

GenerateLayoutParams() public method

public GenerateLayoutParams ( IAttributeSet attrs ) : Android.Views.ViewGroup.LayoutParams
attrs IAttributeSet
return Android.Views.ViewGroup.LayoutParams

GenerateLayoutParams() protected method

protected GenerateLayoutParams ( Android.Views.ViewGroup p ) : Android.Views.ViewGroup.LayoutParams
p Android.Views.ViewGroup
return Android.Views.ViewGroup.LayoutParams

HidePane() public method

public HidePane ( ) : void
return void

OnAttachedToWindow() protected method

protected OnAttachedToWindow ( ) : void
return void

OnDetachedFromWindow() protected method

protected OnDetachedFromWindow ( ) : void
return void

OnFinishInflate() protected method

protected OnFinishInflate ( ) : void
return void

OnInterceptTouchEvent() public method

public OnInterceptTouchEvent ( Android.Views.MotionEvent ev ) : bool
ev Android.Views.MotionEvent
return bool

OnLayout() protected method

protected OnLayout ( bool changed, int l, int t, int r, int b ) : void
changed bool
l int
t int
r int
b int
return void

OnMeasure() protected method

protected OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
widthMeasureSpec int
heightMeasureSpec int
return void

OnRestoreInstanceState() protected method

protected OnRestoreInstanceState ( IParcelable state ) : void
state IParcelable
return void

OnSaveInstanceState() protected method

protected OnSaveInstanceState ( ) : IParcelable
return IParcelable

OnSizeChanged() protected method

protected OnSizeChanged ( int w, int h, int oldw, int oldh ) : void
w int
h int
oldw int
oldh int
return void

OnTouchEvent() public method

public OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
ev Android.Views.MotionEvent
return bool

ShowPane() public method

public ShowPane ( ) : void
return void

SlidingUpPanelLayout() public method

public SlidingUpPanelLayout ( Android.Content.Context context ) : System
context Android.Content.Context
return System

SlidingUpPanelLayout() public method

public SlidingUpPanelLayout ( Android.Content.Context context, IAttributeSet attrs ) : System
context Android.Content.Context
attrs IAttributeSet
return System

SlidingUpPanelLayout() public method

public SlidingUpPanelLayout ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
context Android.Content.Context
attrs IAttributeSet
defStyle int
return System

SlidingUpPanelLayout() public method

public SlidingUpPanelLayout ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
return System