Home
last modified time | relevance | path

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

/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java47 private CameraPreview mPreview; field in CameraPreviewActivity
72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation); in onCreate()
74 preview.addView(mPreview); in onCreate()
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java47 private TextureView mPreview; field in MainActivity
60 mPreview = (TextureView) findViewById(R.id.surface_view); in onCreate()
152 mSupportedPreviewSizes, mPreview.getWidth(), mPreview.getHeight()); in prepareVideoRecorder()
165 mCamera.setPreviewTexture(mPreview.getSurfaceTexture()); in prepareVideoRecorder()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java51 private CameraPreview mPreview; field in CameraPreviewFragment
85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation); in onCreateView()
87 preview.addView(mPreview); in onCreateView()
/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()