Home
last modified time | relevance | path

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

/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreview.java39 private SurfaceHolder mHolder; field in CameraPreview
58 mHolder = getHolder(); in CameraPreview()
59 mHolder.addCallback(this); in CameraPreview()
81 if (mHolder.getSurface() == null) { in surfaceChanged()
100 mCamera.setPreviewDisplay(mHolder); in surfaceChanged()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreview.java39 private SurfaceHolder mHolder; field in CameraPreview
58 mHolder = getHolder(); in CameraPreview()
59 mHolder.addCallback(this); in CameraPreview()
81 if (mHolder.getSurface() == null) { in surfaceChanged()
100 mCamera.setPreviewDisplay(mHolder); in surfaceChanged()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java174 SurfaceHolder mHolder; field in Preview
188 mHolder = mSurfaceView.getHolder(); in Preview()
189 mHolder.addCallback(this); in Preview()
190 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in Preview()
205 camera.setPreviewDisplay(mHolder); in switchCamera()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java165 SurfaceHolder mHolder; field in Preview
178 mHolder = mSurfaceView.getHolder(); in Preview()
179 mHolder.addCallback(this); in Preview()
180 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in Preview()
194 camera.setPreviewDisplay(mHolder); in switchCamera()