Home
last modified time | relevance | path

Searched refs:cameraManager (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DCameraController.java82 @Nonnull CameraAgent cameraManager, in CameraController() argument
88 mCameraAgent = cameraManager; in CameraController()
91 mCameraAgentNg = cameraManagerNg != cameraManager ? cameraManagerNg : null; in CameraController()
237 CameraAgent cameraManager = useNewApi ? mCameraAgentNg : mCameraAgent; in requestCamera() local
241 checkAndOpenCamera(cameraManager, id, mCallbackHandler, this); in requestCamera()
253 checkAndOpenCamera(cameraManager, id, mCallbackHandler, this); in requestCamera()
262 mInfo = cameraManager.getCameraDeviceInfo(); in requestCamera()
317 private static void checkAndOpenCamera(CameraAgent cameraManager, in checkAndOpenCamera() argument
322 cameraManager.openCamera(handler, cameraId, cb); in checkAndOpenCamera()
/packages/apps/Dialer/java/com/android/incallui/
DInCallCameraManager.java111 CameraManager cameraManager = null; in maybeInitializeCameraList() local
113 cameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in maybeInitializeCameraList()
119 if (cameraManager == null) { in maybeInitializeCameraList()
125 cameraIds = cameraManager.getCameraIdList(); in maybeInitializeCameraList()
135 c = cameraManager.getCameraCharacteristics(cameraIds[i]); in maybeInitializeCameraList()
DVideoCallPresenter.java262 final InCallCameraManager cameraManager = in updateCameraSelection() local
264 cameraManager.setUseFrontFacingCamera( in updateCameraSelection()
609 final InCallCameraManager cameraManager = in checkForCallStateChange() local
612 String prevCameraId = cameraManager.getActiveCameraId(); in checkForCallStateChange()
614 String newCameraId = cameraManager.getActiveCameraId(); in checkForCallStateChange()
859 InCallCameraManager cameraManager = InCallPresenter.getInstance().getInCallCameraManager(); in enableCamera() local
860 call.getVideoTech().setCamera(cameraManager.getActiveCameraId()); in enableCamera()
DCallButtonPresenter.java408 InCallCameraManager cameraManager = InCallPresenter.getInstance().getInCallCameraManager(); in updateCamera() local
409 cameraManager.setUseFrontFacingCamera(useFrontFacingCamera); in updateCamera()
411 String cameraId = cameraManager.getActiveCameraId(); in updateCamera()
414 cameraManager.isUsingFrontFacingCamera() in updateCamera()
/packages/apps/Settings/src/com/android/settings/flashlight/
DFlashlightSlice.java106 final CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in onNotifyChange() local
107 cameraManager.setTorchMode(cameraId, state); in onNotifyChange()
121 final CameraManager cameraManager = context.getSystemService(CameraManager.class); in getCameraId() local
122 final String[] ids = cameraManager.getCameraIdList(); in getCameraId()
124 CameraCharacteristics c = cameraManager.getCameraCharacteristics(id); in getCameraId()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraOpenerImpl.java69 CameraManager cameraManager; in create() local
71 cameraManager = AndroidServices.instance().provideCameraManager(); in create()
79 cameraManager, in create()
92 CameraManager cameraManager, in Camera2OneCameraOpenerImpl() argument
97 mCameraManager = cameraManager; in Camera2OneCameraOpenerImpl()
DCamera2OneCameraManagerImpl.java54 CameraManager cameraManager; in create() local
56 cameraManager = AndroidServices.instance().provideCameraManager(); in create()
62 new Camera2OneCameraManagerImpl(cameraManager); in create()
/packages/apps/Camera2/src/com/android/camera/util/
DAndroidServices.java80 CameraManager cameraManager = null; in provideCameraManager() local
85 cameraManager = (CameraManager) service; in provideCameraManager()
88 cameraManager = null; in provideCameraManager()
91 return cameraManager; in provideCameraManager()
/packages/apps/Camera2/src/com/android/camera/device/
DCamera2Actions.java50 CameraManager cameraManager, in Camera2Actions() argument
55 mCameraManager = cameraManager; in Camera2Actions()
93 public OpenCameraRunnable(CameraManager cameraManager, String cameraId, in OpenCameraRunnable() argument
96 mCameraManager = cameraManager; in OpenCameraRunnable()
DCamera2ActionProvider.java37 public Camera2ActionProvider(CameraManager cameraManager, HandlerFactory handlerFactory, in Camera2ActionProvider() argument
39 mCameraManager = cameraManager; in Camera2ActionProvider()
DCameraModuleHelper.java46 CameraManager cameraManager = AndroidServices.instance().provideCameraManager(); in provideCamera2ActionProvider() local
51 return new Camera2ActionProvider(cameraManager, handlerFactory, backgroundRunner, in provideCamera2ActionProvider()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java590 CameraManager cameraManager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); in enableLedFlash() local
591 if (cameraManager == null) return false; in enableLedFlash()
594 ids = cameraManager.getCameraIdList(); in enableLedFlash()
603 CameraCharacteristics c = cameraManager.getCameraCharacteristics(id); in enableLedFlash()
606 cameraManager.setTorchMode(id, on); in enableLedFlash()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraOpenerImpl.java36 OneCameraOpener cameraManager = new LegacyOneCameraOpenerImpl(); in create() local
37 return Optional.of(cameraManager); in create()
DLegacyOneCameraManagerImpl.java85 LegacyOneCameraManagerImpl cameraManager = in instance() local
87 INSTANCE = Optional.of(cameraManager); in instance()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorPreviewCamera.java86 CameraManager cameraManager = context.getSystemService(CameraManager.class); in getCameraCapabilities() local
89 characteristics = cameraManager.getCameraCharacteristics(cameraId); in getCameraCapabilities()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructedImpl.java94 OneCameraOpener cameraManager, in ResourceConstructedImpl() argument
109 mOneCameraOpener = cameraManager; in ResourceConstructedImpl()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestVideoProvider.java329 CameraManager cameraManager = (CameraManager) mContext.getSystemService( in setCameraCapabilities() local
334 c = cameraManager.getCameraCharacteristics(cameraId); in setCameraCapabilities()