Home
last modified time | relevance | path

Searched refs:mCamera (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceOpenedCameraImpl.java34 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/
DDevCameraActivity.java83 private CameraInterface mCamera; field in DevCameraActivity
96 mCamera.setCaptureFlow(
106mCamera.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/
DCameraManager.java195 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/
DImsMediaVideoSource.cpp29 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/
DAdbQrcodeScannerFragment.java74 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/
DQrCodeScanModeFragment.java76 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/
DCaptureModule.java153 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/
DWifiDppQrCodeScannerFragment.java104 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/
DAudioStreamsQrCodeScanFragment.java105 @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/
DStreamHandler.cpp44 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()
DVideoTex.cpp50 mCamera(pCamera), in VideoTex()
61 mEnumerator->closeCamera(mCamera); in ~VideoTex()
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
DEventOnOpenCameraSucceeded.java25 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/
DCamera2PermissionTest.java48 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/
DEvsServiceContext.cpp242 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()
DEvsServiceContext.h138 return mCamera != nullptr; in isCameraOpenedLocked()
175 std::shared_ptr<::aidl::android::hardware::automotive::evs::IEvsCamera> mCamera
/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp40 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()
DStreamHandler.h59 if (mCamera != nullptr) { in ~StreamHandler()
139 android::sp<IEvsCamera> mCamera; variable
/packages/services/Car/cpp/evs/apps/default/inc/
DStreamHandler.h67 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera; variable
DVideoTex.h54 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/
DImsMediaVideoSource.h152 ImsMediaCamera* mCamera; variable