Home
last modified time | relevance | path

Searched refs:mPreview (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java46 private TextureView mPreview; field in MainActivity
58 mPreview = (TextureView) findViewById(R.id.surface_view); in onCreate()
141 mPreview.getWidth(), mPreview.getHeight()); in prepareVideoRecorder()
154 mCamera.setPreviewTexture(mPreview.getSurfaceTexture()); in prepareVideoRecorder()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java47 private Preview mPreview; field in CameraPreview
65 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()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java43 private Preview mPreview; field in CameraFragment
57 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()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DMediaPlayerDemo_Video.java43 private SurfaceView mPreview; field in MediaPlayerDemo_Video
64 mPreview = (SurfaceView) findViewById(R.id.surface); in onCreate()
65 holder = mPreview.getHolder(); in onCreate()