C# Class VoiceCamera.AutoFitTextureView

Inheritance: Android.Views.TextureView
Exibir arquivo Open project: jamesmontemagno/MarshmallowSamples Class Usage Examples

Public Methods

Method Description
AutoFitTextureView ( Android.Content.Context context ) : System
AutoFitTextureView ( Android.Content.Context context, IAttributeSet attrs ) : System
AutoFitTextureView ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
SetAspectRatio ( int width, int height ) : void

Protected Methods

Method Description
OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void

Method Details

AutoFitTextureView() public method

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

AutoFitTextureView() public method

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

AutoFitTextureView() public method

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

OnMeasure() protected method

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

SetAspectRatio() public method

public SetAspectRatio ( int width, int height ) : void
width int
height int
return void