ConfigureTransform() private method

Configures the necessary transformation to mTextureView. This method should be called after the camera preciew size is determined in openCamera, and also the size of mTextureView is fixed
private ConfigureTransform ( int viewWidth, int viewHeight ) : void
viewWidth int The width of mTextureView
viewHeight int VThe height of mTextureView
return void
Ejemplo n.º 1
0
 public void OnSurfaceTextureAvailable(Android.Graphics.SurfaceTexture surface, int width, int height)
 {
     Fragment.ConfigureTransform(width, height);
     Fragment.StartPreview();
 }