C# Class MonocleGiraffe.Android.Controls.ImageControl

Inheritance: FrameLayout
显示文件 Open project: akshay2000/MonocleGiraffe

Public Methods

Method Description
ImageControl ( Android.Content.Context context ) : System
ImageControl ( Android.Content.Context context, IAttributeSet attrs ) : System
ImageControl ( Android.Content.Context context, IAttributeSet attrs, int defStyleAttr ) : System
ImageControl ( Android.Content.Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes ) : System
RenderContent ( IGalleryItem item ) : void

Private Methods

Method Description
DpToPx ( int dp ) : int
Initialize ( ) : void
MainVideoView_Prepared ( object sender, EventArgs e ) : void
MainVideoView_Touch ( object sender, TouchEventArgs e ) : void
PxToDp ( int px ) : int
RenderImage ( IGalleryItem item ) : void
RenderVideo ( IGalleryItem item ) : void
SetDimensions ( Android.Views.View view, IGalleryItem item ) : void

Method Details

ImageControl() public method

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

ImageControl() public method

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

ImageControl() public method

public ImageControl ( Android.Content.Context context, IAttributeSet attrs, int defStyleAttr ) : System
context Android.Content.Context
attrs IAttributeSet
defStyleAttr int
return System

ImageControl() public method

public ImageControl ( Android.Content.Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes ) : System
context Android.Content.Context
attrs IAttributeSet
defStyleAttr int
defStyleRes int
return System

RenderContent() public method

public RenderContent ( IGalleryItem item ) : void
item IGalleryItem
return void