Searched defs:mCamera (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraOpenTest.java33 private Camera mCamera; field in class:CameraOpenTest
43 mCamera.openLegacy(id, Camera.CAMERA_HAL_API_VERSION_1_0);
47 if (mCamera != null) {
48 mCamera.release();
/frameworks/av/include/camera/
H A DCamera.h163 sp<Camera> mCamera; member in class:android::Camera::RecordingProxy
H A DCameraBase.h106 sp<TCamUser> mCamera; member in class:android::CameraBase
H A DProCamera.h263 mCamera = camera;
269 sp<ProCamera> c = mCamera.promote();
276 wp<ProCamera> mCamera; member in class:android::ProCamera::ProFrameListener
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java37 private Camera mCamera; field in class:GetBitmapActivity
82 mCamera = Camera.open();
85 mCamera.setPreviewTexture(surface);
90 mCamera.startPreview();
100 mCamera.stopPreview();
101 mCamera.release();
H A DTextureViewActivity.java41 private Camera mCamera; field in class:TextureViewActivity
102 mCamera = Camera.open();
103 mCamera.setDisplayOrientation(getCameraOrientation());
105 Camera.Size previewSize = mCamera.getParameters().getPreviewSize();
110 mCamera.setPreviewTexture(surface);
115 mCamera.startPreview();
153 mCamera.stopPreview();
154 mCamera.release();
H A DTransform3dActivity.java40 private Camera mCamera; field in class:Transform3dActivity.Transform3dView
47 mCamera = new Camera();
59 final Camera camera = mCamera;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyFaceDetectMapper.java50 private final Camera mCamera; field in class:LegacyFaceDetectMapper
73 mCamera = checkNotNull(camera, "camera must not be null");
85 mCamera.setFaceDetectionListener(new FaceDetectionListener() {
172 mCamera.startFaceDetection();
178 mCamera.stopFaceDetection();
H A DLegacyFocusStateMapper.java43 private final Camera mCamera; field in class:LegacyFocusStateMapper
63 mCamera = checkNotNull(camera, "camera must not be null");
104 mCamera.cancelAutoFocus();
165 mCamera.setAutoFocusMoveCallback(afMoveCallback);
205 mCamera.autoFocus(new Camera.AutoFocusCallback() {
256 mCamera.cancelAutoFocus();
H A DCameraDeviceUserShim.java110 private final Camera mCamera = Camera.openUninitialized(); field in class:CameraDeviceUserShim.CameraLooper
131 return mCamera;
142 mInitErrors = translateErrorsFromCamera1(mCamera.cameraInitUnspecified(mCameraId));
181 mCamera.release();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCameraTestHelper.java38 public Camera mCamera; field in class:CameraTestHelper
105 mCamera = Camera.open(CAMERA_ID);
112 mCamera = Camera.open(CAMERA_ID);
113 Parameters params = mCamera.getParameters();
114 mCamera.release();
122 mCamera.takePicture(shutterCallback, rawCallback, jpegCallback);
124 mCamera.stopPreview();
125 mCamera.release();
149 mCamera.setParameters(params);
159 mCamera
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTouchHandler.java41 Camera mCamera; field in class:TouchHandler
59 mCamera = scene.appendNewCamera();
60 mCamera.setTransform(mCameraRig);
64 return mCamera;
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2DeviceTester.java32 * Subclasses of this have an {@code mCamera} instance variable representing the first camera.
56 private CameraDevice mCamera; field in class:Camera2DeviceTester.DeviceCapturer
66 return mCamera;
71 mCamera = camera;
82 protected CameraDevice mCamera; field in class:Camera2DeviceTester
86 mCamera = new DeviceCapturer().captureCameraDevice();
91 mCamera.close();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java67 Camera mCamera; field in class:CameraTest
94 mCamera = Camera.open(CAMERA_ID);
117 mCamera.release();
198 mCamera.setPreviewDisplay(mSurfaceHolder);
200 mCamera.startPreview();
202 mCamera.setPreviewCallback(null);
203 mCamera.takePicture(mShutterCallback, mRawPictureCallback, mJpegPictureCallback);
214 mCamera.setPreviewDisplay(mSurfaceHolder);
216 mCamera.startPreview();
218 mCamera
[all...]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java78 CameraDevice mCamera; field in class:CameraTooActivity
161 if (mCamera != null) {
162 mCamera.close();
163 mCamera = null;
188 mCamera.createCaptureRequest(mCamera.TEMPLATE_STILL_CAPTURE);
286 if (mCamera != null) {
313 mCamera = camera;
352 mCamera.createCaptureRequest(mCamera
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DRenderPass.java42 Camera mCamera; field in class:RenderPass
59 mCamera = c;
98 mRsField.camera = mCamera != null ? mCamera.getRSData().getAllocation() : null;
H A DShaderParam.java59 Camera mCamera; field in class:ShaderParam
119 mCamera = c;
121 mData.camera = mCamera.getRSData().getAllocation();
/frameworks/av/include/media/stagefright/
H A DCameraSource.h154 sp<Camera> mCamera; member in class:android::CameraSource
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h73 sp<ICamera> mCamera; member in struct:android::StagefrightRecorder
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java70 private Camera mCamera; field in class:CameraSource
136 mCamera = Camera.open(mCameraId);
140 mCamera.setParameters(mCameraParameters);
151 mCamera.setPreviewTexture(mSurfaceTexture);
161 mCamera.startPreview();
215 mCamera.release();
216 mCamera = null;
235 mCamera.setParameters(mCameraParameters);
242 if (mCamera == null) {
243 mCamera
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java66 Camera mCamera; field in class:MediaRecorderTest
123 mCamera = Camera.open(CAMERA_ID);
124 Camera.Parameters parameters = mCamera.getParameters();
127 mCamera.setParameters(parameters);
128 mCamera.unlock();
129 recorder.setCamera(mCamera);
212 if (mCamera != null) {
213 mCamera.lock();
214 mCamera.release();
215 mCamera
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java50 private Camera mCamera; field in class:MediaRecorderStressTest
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java60 private CameraDevice mCamera; field in class:Camera2Source
134 mCamera.close();
158 mCamera = blkManager.openCamera(backCameraId, /*listener*/null, mHandler);
186 Log.v(TAG, "mcamera: " + mCamera);
194 mCamera.createCaptureSession(surfaces, blkSession, mHandler);
195 mCaptureRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
214 mProperties = mCameraManager.getCameraCharacteristics(mCamera.getId());
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java74 private Camera mCamera; field in class:CameraPreviewActivity
143 if (mCamera != null) {
196 mCamera = Camera.open(id);
197 Camera.Parameters p = mCamera.getParameters();
244 if (mCamera != null) {
245 mCamera.setPreviewCallbackWithBuffer(null);
246 mCamera.stopPreview();
247 mCamera.release();
248 mCamera = null;
256 mCamera
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java94 Camera mCamera; field in class:MediaPlayerPerformance
148 mCamera = Camera.open(CAMERA_ID);
168 mCamera.release();
189 mCamera.setPreviewCallback(mRawPreviewCallback);
191 mCamera.setPreviewDisplay(mSurfaceHolder);
192 mCamera.startPreview();
195 mCamera.stopPreview();

Completed in 577 milliseconds

12