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()
593 final InCallCameraManager cameraManager = in checkForCallStateChange() local
596 String prevCameraId = cameraManager.getActiveCameraId(); in checkForCallStateChange()
598 String newCameraId = cameraManager.getActiveCameraId(); in checkForCallStateChange()
843 InCallCameraManager cameraManager = InCallPresenter.getInstance().getInCallCameraManager(); in enableCamera() local
844 call.getVideoTech().setCamera(cameraManager.getActiveCameraId()); in enableCamera()
DCallButtonPresenter.java409 InCallCameraManager cameraManager = InCallPresenter.getInstance().getInCallCameraManager(); in updateCamera() local
410 cameraManager.setUseFrontFacingCamera(useFrontFacingCamera); in updateCamera()
412 String cameraId = cameraManager.getActiveCameraId(); in updateCamera()
415 cameraManager.isUsingFrontFacingCamera() in updateCamera()
/packages/apps/Settings/src/com/android/settings/flashlight/
DFlashlightSlice.java105 final CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in onNotifyChange() local
106 cameraManager.setTorchMode(cameraId, state); in onNotifyChange()
120 final CameraManager cameraManager = context.getSystemService(CameraManager.class); in getCameraId() local
121 final String[] ids = cameraManager.getCameraIdList(); in getCameraId()
123 CameraCharacteristics c = cameraManager.getCameraCharacteristics(id); in getCameraId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/flashlight/
DFlashlightSlice.java105 final CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in onNotifyChange() local
106 cameraManager.setTorchMode(cameraId, state); in onNotifyChange()
120 final CameraManager cameraManager = context.getSystemService(CameraManager.class); in getCameraId() local
121 final String[] ids = cameraManager.getCameraIdList(); in getCameraId()
123 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.java79 CameraManager cameraManager = null; in provideCameraManager() local
84 cameraManager = (CameraManager) service; in provideCameraManager()
87 cameraManager = null; in provideCameraManager()
90 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/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()