Searched refs:mPreview (Results 1 – 6 of 6) sorted by relevance
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()
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()
47 private TextureView mPreview; field in MainActivity60 mPreview = (TextureView) findViewById(R.id.surface_view); in onCreate()152 mSupportedPreviewSizes, mPreview.getWidth(), mPreview.getHeight()); in prepareVideoRecorder()165 mCamera.setPreviewTexture(mPreview.getSurfaceTexture()); in prepareVideoRecorder()
47 private CameraPreview mPreview; field in CameraPreviewActivity72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation); in onCreate()74 preview.addView(mPreview); in onCreate()
51 private CameraPreview mPreview; field in CameraPreviewFragment85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation); in onCreateView()87 preview.addView(mPreview); in onCreateView()
43 private SurfaceView mPreview; field in MediaPlayerDemo_Video64 mPreview = (SurfaceView) findViewById(R.id.surface); in onCreate()65 holder = mPreview.getHolder(); in onCreate()