C# Class SlidingMenuSharp.CustomViewAbove

Inheritance: Android.Views.ViewGroup
Datei anzeigen Open project: fpt-software/Wordpress-Client Class Usage Examples

Public Properties

Property Type Description
Closed EventHandler
Opened EventHandler
PageScrollState PageScrollStateChangedEventHandler
PageScrolled PageScrolledEventHandler
PageSelected PageSelectedEventHandler

Protected Properties

Property Type Description
ActivePointerId int
MaximumVelocity int
VelocityTracker Android.Views.VelocityTracker

Private Properties

Property Type Description
CompleteScroll void
DetermineDrag void
DetermineTargetPage int
DistanceInfluenceForSnapDuration float
EndDrag void
GetPointerIndex int
InitCustomViewAbove void
IsInIgnoredView bool
OnSecondaryPointerUp void
PageLeft bool
PageRight bool
SetCurrentItemInternal void
SmoothScrollTo void
StartDrag void
ThisSlideAllowed bool
ThisTouchAllowed bool

Public Methods

Method Description
AddIgnoredView ( Android.Views.View v ) : void
ArrowScroll ( FocusSearchDirection direction ) : bool
ClearIgnoredViews ( ) : void
ComputeScroll ( ) : void
CustomViewAbove ( Android.Content.Context context ) : System
CustomViewAbove ( Android.Content.Context context, IAttributeSet attrs ) : System
DispatchKeyEvent ( Android.Views.KeyEvent e ) : bool
ExecuteKeyEvent ( Android.Views.KeyEvent ev ) : bool
GetChildWidth ( int i ) : int
GetCurrentItem ( ) : int
GetDestScrollX ( int page ) : int
OnInterceptTouchEvent ( Android.Views.MotionEvent ev ) : bool
OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
RemoveIgnoredView ( Android.Views.View v ) : void
ScrollTo ( int x, int y ) : void
SetCurrentItem ( int item ) : void
SetCurrentItem ( int item, bool smoothScroll ) : void

Protected Methods

Method Description
CanScroll ( Android.Views.View v, bool checkV, int dx, int x, int y ) : bool
DispatchDraw ( Android.Graphics.Canvas canvas ) : void
OnLayout ( bool changed, int l, int t, int r, int b ) : void
OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
OnPageScrolled ( int xpos ) : void
OnSizeChanged ( int w, int h, int oldw, int oldh ) : void

Private Methods

Method Description
CompleteScroll ( ) : void
DetermineDrag ( Android.Views.MotionEvent ev ) : void
DetermineTargetPage ( float pageOffset, int velocity, int deltaX ) : int
DistanceInfluenceForSnapDuration ( float f ) : float
EndDrag ( ) : void
GetPointerIndex ( Android.Views.MotionEvent ev, int id ) : int
InitCustomViewAbove ( ) : void
IsInIgnoredView ( Android.Views.MotionEvent ev ) : bool
OnSecondaryPointerUp ( Android.Views.MotionEvent ev ) : void
PageLeft ( ) : bool
PageRight ( ) : bool
SetCurrentItemInternal ( int item, bool smoothScroll, bool always, int velocity ) : void
SmoothScrollTo ( int x, int y, int velocity ) : void
StartDrag ( ) : void
ThisSlideAllowed ( float dx ) : bool
ThisTouchAllowed ( Android.Views.MotionEvent ev ) : bool

Method Details

AddIgnoredView() public method

public AddIgnoredView ( Android.Views.View v ) : void
v Android.Views.View
return void

ArrowScroll() public method

public ArrowScroll ( FocusSearchDirection direction ) : bool
direction FocusSearchDirection
return bool

CanScroll() protected method

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

ClearIgnoredViews() public method

public ClearIgnoredViews ( ) : void
return void

ComputeScroll() public method

public ComputeScroll ( ) : void
return void

CustomViewAbove() public method

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

CustomViewAbove() public method

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

DispatchDraw() protected method

protected DispatchDraw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
return void

DispatchKeyEvent() public method

public DispatchKeyEvent ( Android.Views.KeyEvent e ) : bool
e Android.Views.KeyEvent
return bool

ExecuteKeyEvent() public method

public ExecuteKeyEvent ( Android.Views.KeyEvent ev ) : bool
ev Android.Views.KeyEvent
return bool

GetChildWidth() public method

public GetChildWidth ( int i ) : int
i int
return int

GetCurrentItem() public method

public GetCurrentItem ( ) : int
return int

GetDestScrollX() public method

public GetDestScrollX ( int page ) : int
page int
return int

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

OnPageScrolled() protected method

protected OnPageScrolled ( int xpos ) : void
xpos int
return void

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

RemoveIgnoredView() public method

public RemoveIgnoredView ( Android.Views.View v ) : void
v Android.Views.View
return void

ScrollTo() public method

public ScrollTo ( int x, int y ) : void
x int
y int
return void

SetCurrentItem() public method

public SetCurrentItem ( int item ) : void
item int
return void

SetCurrentItem() public method

public SetCurrentItem ( int item, bool smoothScroll ) : void
item int
smoothScroll bool
return void

Property Details

ActivePointerId protected_oe property

protected int ActivePointerId
return int

Closed public_oe property

public EventHandler Closed
return EventHandler

MaximumVelocity protected_oe property

protected int MaximumVelocity
return int

Opened public_oe property

public EventHandler Opened
return EventHandler

PageScrollState public_oe property

public PageScrollStateChangedEventHandler PageScrollState
return PageScrollStateChangedEventHandler

PageScrolled public_oe property

public PageScrolledEventHandler PageScrolled
return PageScrolledEventHandler

PageSelected public_oe property

public PageSelectedEventHandler PageSelected
return PageSelectedEventHandler

VelocityTracker protected_oe property

protected VelocityTracker,Android.Views VelocityTracker
return Android.Views.VelocityTracker