/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 34 private final OneCamera mCamera; field in ResourceOpenedCameraImpl 75 mCamera = camera; in ResourceOpenedCameraImpl() 80 mZoomRatio = mCamera.getMaxZoom(); in ResourceOpenedCameraImpl() 87 mCamera.setFocusStateListener(null); in close() 88 mCamera.close(); in close() 93 return mCamera; in getCamera() 129 mCamera.setZoom(zoomRatio); in setZoomRatio() 135 mCamera.startPreview(previewSurface, captureReadyCallback); in startPreview() 140 mCamera.triggerFocusAndMeterAtPoint(point.x, point.y); in triggerFocusAndMeterAtPoint()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 83 private CameraInterface mCamera; field in DevCameraActivity 96 mCamera.setCaptureFlow( 106 … mCamera.setReprocessingFlow(view == mButtonNoiseModeReprocess, view == mButtonEdgeModeReprocess); 109 …int reprocessingViz = mToggleYuvFull.isChecked() && mCamera.isReprocessingAvailable() ? View.VISIB… 115 mCamera.setBurst(false); 119 mCamera.setBurst(mToggleBurstJpeg.isChecked()); 235 if (mCamera != null) { in openCamera() 236 mCamera.closeCamera(); in openCamera() 239 mCamera = new Api2Camera(this, frontCamera); in openCamera() 240 mCamera.setCallback(this); in openCamera() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 195 private Camera mCamera; field in CameraManager 402 if (mPendingOpenCameraIndex == mCameraIndex || mCamera != null) { in openCamera() 538 if (mCamera == null) { in takePicture() 548 if (mCamera != camera) { in takePicture() 578 mCamera.takePicture( in takePicture() 643 if (mCamera != null) { in releaseMediaRecorder() 645 mCamera.reconnect(); in releaseMediaRecorder() 663 if (mCamera == null || mCameraPreview == null || mTakingPicture) { in updateCameraOrientation() 697 mCamera.setDisplayOrientation(orientation); in updateCameraOrientation() 698 final Camera.Parameters params = mCamera.getParameters(); in updateCameraOrientation() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/ |
D | ImsMediaVideoSource.cpp | 29 mCamera = nullptr; in ImsMediaVideoSource() 119 if (mCamera != nullptr) in SetDeviceOrientation() 121 mCamera->GetSensorOrientation(mCameraId, &facing, &sensorOrientation); in SetDeviceOrientation() 258 mCamera = ImsMediaCamera::getInstance(); in Start() 259 mCamera->Initialize(); in Start() 260 mCamera->SetCameraConfig(mCameraId, mCameraZoom, mFramerate); in Start() 262 if (!mCamera->OpenCamera()) in Start() 272 if (mCamera->CreateSession(mWindow, mImageReaderSurface) == false) in Start() 279 mCamera->DeleteSession(); in Start() 280 mCamera->DeInitialize(); in Start() [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbQrcodeScannerFragment.java | 74 private QrCamera mCamera; field in AdbQrcodeScannerFragment 198 if (mCamera != null) { in onPause() 199 mCamera.stop(); in onPause() 306 if (mCamera == null) { in initCamera() 307 mCamera = new QrCamera(getContext(), this); in initCamera() 308 mCamera.start(surface); in initCamera() 316 if (mCamera == null) { in restartCamera() 321 if (mCamera.isDecodeTaskAlive()) { in restartCamera() 322 mCamera.stop(); in restartCamera() 330 mCamera.start(surfaceTexture); in restartCamera() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | QrCodeScanModeFragment.java | 76 private QrCamera mCamera; field in QrCodeScanModeFragment 112 if (mCamera == null) { in initCamera() 113 mCamera = new QrCamera(mContext, this); in initCamera() 114 mCamera.start(surface); in initCamera() 119 if (mCamera != null) { in destroyCamera() 120 mCamera.stop(); in destroyCamera() 121 mCamera = null; in destroyCamera() 185 return mCamera != null && mCamera.isDecodeTaskAlive(); in isDecodeTaskAlive() 224 if (mCamera != null) { in notifyUserForQrCodeRecognition() 225 mCamera.stop(); in notifyUserForQrCodeRecognition()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModule.java | 153 private OneCamera mCamera; field in CaptureModule 184 if (mCamera != null) { 185 mCamera.setZoom(zoomRatio); 473 mCamera.getDirection(), in onShutterButtonLongPressed() 497 if (mCamera == null) { in onShutterButtonClick() 520 if (!mPaused && mCamera == null && !mAppController.isPaused()) { in onCameraAccessPrioritiesChanged() 561 if (mCamera == null) { in takePictureNow() 577 mCamera.takePicture(params, session); in takePictureNow() 927 if (mCamera == null) { 954 mCamera.triggerFocusAndMeterAtPoint(points[0], points[1]); [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 104 private QrCamera mCamera; field in WifiDppQrCodeScannerFragment 235 if (mCamera != null) { in notifyUserForQrCodeRecognition() 236 mCamera.stop(); in notifyUserForQrCodeRecognition() 326 if (mCamera != null) { in onPause() 327 mCamera.stop(); in onPause() 581 if (mCamera == null) { in initCamera() 582 mCamera = new QrCamera(getContext(), this); in initCamera() 589 mCamera.start(surface); in initCamera() 595 if (mCamera != null) { in destroyCamera() 596 mCamera.stop(); in destroyCamera() [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsQrCodeScanFragment.java | 105 @Nullable private QrCamera mCamera; field in AudioStreamsQrCodeScanFragment 155 if (mCamera == null) { in onSurfaceTextureAvailable() 156 mCamera = new QrCamera(mContext, this); in onSurfaceTextureAvailable() 157 mCamera.start(surface); in onSurfaceTextureAvailable() 218 if (mCamera != null) { in destroyCamera() 219 mCamera.stop(); in destroyCamera() 220 mCamera = null; in destroyCamera() 225 if (mCamera != null) { in notifyUserForQrCodeRecognition() 226 mCamera.stop(); in notifyUserForQrCodeRecognition()
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | StreamHandler.cpp | 44 mCamera(pCamera), mUseOwnBuffers(useOwnBuffers) { in StreamHandler() 96 mCamera = nullptr; in shutdown() 117 if (auto status = mCamera->startVideoStream(ref<StreamHandler>()); !status.isOk()) { in startStream() 130 if (auto status = mCamera->stopVideoStream(); !status.isOk()) { in asyncStopStream() 194 if (auto status = mCamera->doneWithFrame(frames); !status.isOk()) { in doneWithFrame() 214 if (auto status = mCamera->doneWithFrame(frames); !status.isOk()) { in deliverFrame()
|
D | VideoTex.cpp | 50 mCamera(pCamera), in VideoTex() 61 mEnumerator->closeCamera(mCamera); in ~VideoTex()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/event/ |
D | EventOnOpenCameraSucceeded.java | 25 private final OneCamera mCamera; field in EventOnOpenCameraSucceeded 28 mCamera = camera; in EventOnOpenCameraSucceeded() 32 return mCamera; in getCamera()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 48 private CameraDevice mCamera; field in Camera2PermissionTest 172 mCamera = (new BlockingCameraManager(mCameraManager)).openCamera( in openCamera() 185 if (mCamera != null) { in closeCamera() 186 mCamera.close(); in closeCamera() 188 mCamera = null; in closeCamera()
|
/packages/services/Car/service/jni/evs/ |
D | EvsServiceContext.cpp | 242 mCamera = nullptr; in deinitialize() 265 cameraToClose = mCamera; in openCamera() 278 cameraToClose = mCamera; in openCamera() 316 mCamera = std::move(camObj); in openCamera() 332 if (!mServiceFactory->getService()->closeCamera(mCamera).isOk()) { in closeCamera() 337 mCamera.reset(); in closeCamera() 364 if (!mCamera) { in acquireCameraAndDisplayLocked() 387 status = mCamera->forcePrimaryClient(mDisplay); in acquireCameraAndDisplayLocked() 510 mCamera = nullptr; in onEvsServiceDiedImpl()
|
D | EvsServiceContext.h | 138 return mCamera != nullptr; in isCameraOpenedLocked() 175 std::shared_ptr<::aidl::android::hardware::automotive::evs::IEvsCamera> mCamera
|
/packages/services/Car/cpp/evs/support_library/ |
D | StreamHandler.cpp | 40 mCamera(pCamera), mAnalyzeCallback(nullptr), mAnalyzerRunning(false) { in StreamHandler() 51 mCamera->stopVideoStream(); in shutdown() 61 mCamera = nullptr; in shutdown() 69 Return<EvsResult> result = mCamera->startVideoStream(this); in startStream() 122 mCamera->doneWithFrame(mOriginalBuffers[mHeldBuffer]); in doneWithFrame() 143 mCamera->doneWithFrame(mOriginalBuffers[mReadyBuffer]); in deliverFrame()
|
D | StreamHandler.h | 59 if (mCamera != nullptr) { in ~StreamHandler() 139 android::sp<IEvsCamera> mCamera; variable
|
/packages/services/Car/cpp/evs/apps/default/inc/ |
D | StreamHandler.h | 67 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera; variable
|
D | VideoTex.h | 54 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera; variable
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/android/ |
D | ImsMediaVideoSource.h | 152 ImsMediaCamera* mCamera; variable
|