Searched refs:mPreview (Results 1 – 4 of 4) sorted by relevance
46 private TextureView mPreview; field in MainActivity58 mPreview = (TextureView) findViewById(R.id.surface_view); in onCreate()141 mPreview.getWidth(), mPreview.getHeight()); in prepareVideoRecorder()154 mCamera.setPreviewTexture(mPreview.getSurfaceTexture()); in prepareVideoRecorder()
47 private Preview mPreview; field in CameraPreview65 mPreview = new Preview(this); in onCreate()66 setContentView(mPreview); in onCreate()88 mPreview.setCamera(mCamera); in onResume()98 mPreview.setCamera(null); in onPause()132 mPreview.setCamera(null); in onOptionsItemSelected()143 mPreview.switchCamera(mCamera); in onOptionsItemSelected()
43 private Preview mPreview; field in CameraFragment57 mPreview = new Preview(this.getActivity()); in onCreate()90 return mPreview; in onCreateView()101 mPreview.setCamera(mCamera); in onResume()111 mPreview.setCamera(null); in onPause()135 mPreview.setCamera(null); in onOptionsItemSelected()145 mPreview.switchCamera(mCamera); in onOptionsItemSelected()
43 private SurfaceView mPreview; field in MediaPlayerDemo_Video64 mPreview = (SurfaceView) findViewById(R.id.surface); in onCreate()65 holder = mPreview.getHolder(); in onCreate()