/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
CameraFormatsActivity.java | 76 private Camera mCamera; 198 if (mCamera != null) { 269 mCamera = Camera.open(id); 270 Camera.Parameters p = mCamera.getParameters(); 364 mCamera.setDisplayOrientation(mPreviewRotation); 375 if (mCamera != null) { 376 mCamera.setPreviewCallback(null); 377 mCamera.stopPreview(); 378 mCamera.release(); 379 mCamera = null [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 65 private Camera mCamera; 182 mCamera = Camera.open(id); 187 Camera.Parameters p = mCamera.getParameters(); 210 if (mCamera != null) { 211 mCamera.setPreviewCallback(null); 212 mCamera.stopPreview(); 213 mCamera.release(); 214 mCamera = null; 222 mCamera.setPreviewCallback(null); 223 mCamera.stopPreview() [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 116 private Camera mCamera; 315 mCamera.stopPreview(); 321 if (mCamera != null) { 322 mCamera.release(); 359 if (mCamera != null) { 360 mCamera.setPreviewDisplay(holder); 422 infoDialog.updateInfo(mCameraId, mCamera); 437 mCamera.stopPreview(); 447 mCamera.setParameters(mParams); 452 mCamera.startPreview() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 72 private Camera mCamera; 129 if (mCamera != null) { 130 mCamera.stopPreview(); 131 mCamera.release(); 132 mCamera = null; 150 mCamera.takePicture(new ShutterCallback() { 170 Camera.Parameters params = mCamera.getParameters(); 172 mCamera.setParameters(params); 175 mReportedFovPrePictureTaken = mCamera.getParameters().getHorizontalViewAngle(); 232 if (mCamera != null) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Rotate3dAnimation.java | 35 private Camera mCamera; 65 mCamera = new Camera(); 75 final Camera camera = mCamera;
|
/device/asus/flo/camera/QCamera2/HAL/test/ |
qcamera_test.h | 59 mCamera(NULL), 112 sp<Camera> mCamera;
|
/external/eigen/demos/opengl/ |
quaternion_demo.h | 54 Camera mCamera;
|
/frameworks/av/include/camera/ |
ProCamera.h | 263 mCamera = camera; 269 sp<ProCamera> c = mCamera.promote(); 276 wp<ProCamera> mCamera;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 94 Camera mCamera; 148 mCamera = Camera.open(CAMERA_ID); 168 mCamera.release(); 189 mCamera.setPreviewCallback(mRawPreviewCallback); 191 mCamera.setPreviewDisplay(mSurfaceHolder); 192 mCamera.startPreview(); 195 mCamera.stopPreview();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Transform3dActivity.java | 40 private Camera mCamera; 47 mCamera = new Camera(); 59 final Camera camera = mCamera;
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 94 mCamera.stopPreview(); 95 mCamera.release(); 102 mCamera = Camera.open(); 103 Camera.Parameters p = mCamera.getParameters(); 105 mCamera.setParameters(p); 109 mRenderer.setCamera(mCamera); 131 Camera mCamera; 174 mCamera = camera; 314 mCamera.setPreviewTexture(mSurface); 320 mCamera.startPreview() [all...] |
/hardware/qcom/camera/QCamera2/HAL/test/ |
qcamera_test.h | 59 mCamera(NULL), 112 sp<Camera> mCamera;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 57 private CameraDevice mCamera; 128 mCamera.close(); 152 mCamera = blkManager.openCamera(backCameraId, /*listener*/null, mHandler); 180 Log.v(TAG, "mcamera: " + mCamera); 186 mCamera.configureOutputs(surfaces); 187 mCaptureRequest = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 195 mCamera.setRepeatingRequest(mCaptureRequest.build(), new MyCaptureListener(), 203 mProperties = mCameraManager.getCameraCharacteristics(mCamera.getId());
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 106 Camera mCamera; 122 if (mCamera != null) { 123 mCamera.release(); 124 mCamera = null; 145 mCamera = Camera.open(cameraId); 146 mCamera.setErrorCallback(mErrorCallback); 162 assertNotNull("Fail to open camera.", mCamera); 163 mCamera.setPreviewDisplay(getActivity().getSurfaceView().getHolder()); 177 mCamera.release(); 178 mCamera = null [all...] |
CameraGLTest.java | 85 Camera mCamera; 111 if (mCamera != null) { 139 mCamera = Camera.open(cameraId); 159 mCamera.release(); 167 mCamera = null; 180 mCamera.stopPreview(); 214 mCamera.stopPreview(); 328 if (mCamera != null) { 346 mCamera.setOneShotPreviewCallback(mPreviewCallback); 347 mCamera.startPreview() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
CameraAnalyzerActivity.java | 75 private Camera mCamera; 135 Camera.Parameters params = mCamera.getParameters(); 138 mCamera.setParameters(params); 197 mCamera = Camera.open(camIdx); 204 mCamera.setPreviewDisplay(mCameraView.getHolder()); 208 mCamera.startPreview(); 209 CameraTests.setCamera(mCamera); 219 return mCamera; 431 mCamera.setPreviewDisplay(mCameraView.getHolder()); 436 mCamera.startPreview() [all...] |
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsService.java | 96 private CameraDevice mCamera = null; 160 mCamera = mBlockingCameraManager.openCamera(devices[0], mCameraListener, 201 mCamera.close(); 486 mCamera.configureOutputs(outputSurfaces); 563 CaptureRequest.Builder req = mCamera.createCaptureRequest( 601 mCamera.capture(req.build(), mCaptureResultListener, mResultHandler); 620 mCamera, params); 660 mCamera.configureOutputs(outputSurfaces); 684 mCamera.capture(req.build(), mCaptureResultListener, mResultHandler); [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraOps.java | 62 private CameraDevice mCamera; 147 if (mCamera == null) return; 150 mCamera.close(); 155 mCamera = null; 159 if (mCamera == null) { 165 mCamera = mBlockingCameraManager.openCamera(devices[0], 167 mCameraCharacteristics = mCameraManager.getCameraCharacteristics(mCamera.getId()); 179 mCamera.configureOutputs(outputs); 194 mCameraManager.getCameraCharacteristics(mCamera.getId()); 224 mCamera.setRepeatingRequest(mPreviewRequestBuilder.build(), null, null) [all...] |
/frameworks/av/include/media/stagefright/ |
CameraSource.h | 154 sp<Camera> mCamera;
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.h | 72 sp<ICamera> mCamera;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
ShaderParam.java | 59 Camera mCamera; 119 mCamera = c; 121 mData.camera = mCamera.getRSData().getAllocation();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CameraStreamer.java | 202 setupPreviewTexture(mRunner.mCamera); 296 setupPreviewTexture(mRunner.mCamera); 308 mRunner.mCamera.setDisplayOrientation(orientation); 572 Camera camera = mRunner.mCamera; 814 private Camera mCamera = null; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 67 private Camera mCamera; 147 if (mCamera != null) { 148 mCamera.release(); 149 mCamera = null; 189 mCamera = Camera.open(cameraId); 190 recordVideoUsingCamera(mCamera, OUTPUT_PATH, durMs, timelapse); 191 mCamera.release(); 192 mCamera = null;
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 102 private Camera mCamera; 189 mCamera = Camera.open(); 191 if (mCamera == null && Camera.getNumberOfCameras() > 1) { 192 mCamera = mCamera.open(Camera.CameraInfo.CAMERA_FACING_FRONT); 195 if (mCamera == null) { 200 mCamera.setPreviewTexture(surfaceTexture); 201 mCamera.setDisplayOrientation(90); 202 mCamera.startPreview(); 215 if (mCamera != null) [all...] |
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 70 sp<Camera> getCamera() { Mutex::Autolock _l(mLock); return mCamera; } 82 sp<Camera> mCamera; // strong reference to native object 133 mCamera = camera; 168 mCamera.clear(); 246 mCamera->setPreviewCallbackFlags(CAMERA_FRAME_CALLBACK_FLAG_NOOP); 375 mCamera->setPreviewCallbackFlags(CAMERA_FRAME_CALLBACK_FLAG_NOOP); 379 mCamera->setPreviewCallbackFlags(CAMERA_FRAME_CALLBACK_FLAG_CAMERA); 383 mCamera->setPreviewCallbackFlags(CAMERA_FRAME_CALLBACK_FLAG_BARCODE_SCANNER); 406 mCamera->setPreviewCallbackFlags(CAMERA_FRAME_CALLBACK_FLAG_CAMERA); [all...] |