Esempio n. 1
0
 public override void OnOpened(CameraDevice camera)
 {
     fragment.cameraDevice = camera;
     fragment.startPreview();
     fragment.cameraOpenCloseLock.Release();
     if (null != fragment.textureView)
     {
         fragment.configureTransform(fragment.textureView.Width, fragment.textureView.Height);
     }
 }
 public void OnSurfaceTextureSizeChanged(SurfaceTexture surface_texture, int width, int height)
 {
     fragment.configureTransform(width, height);
 }