Home
last modified time | relevance | path

Searched refs:mCameraManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java44 private final CameraManager mCameraManager; field in FlashlightController
58 mCameraManager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in FlashlightController()
72 mCameraManager.registerTorchCallback(mTorchCallback, mHandler); in FlashlightController()
82 mCameraManager.setTorchMode(mCameraId, enabled); in setFlashlight()
126 String[] ids = mCameraManager.getCameraIdList(); in getCameraId()
128 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(id); in getCameraId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSecureCameraLaunchManager.java88 private CameraManager mCameraManager; field in SecureCameraLaunchManager
126 mCameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in SecureCameraLaunchManager()
154 mCameraManager.registerAvailabilityCallback(mCameraAvailabilityCallback, mHandler); in create()
161 mCameraManager.unregisterAvailabilityCallback(mCameraAvailabilityCallback); in destroy()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java76 CameraManager mCameraManager; field in CameraTooActivity
133 mCameraManager = (CameraManager) getSystemService(CAMERA_SERVICE); in onResume()
237 for (String cameraId : mCameraManager.getCameraIdList()) {
239 mCameraManager.getCameraCharacteristics(cameraId);
293 mCameraManager.openCamera(mCameraId, mCameraStateCallback,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java59 private CameraManager mCameraManager; field in Camera2Source
115 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE); in Camera2Source()
157 BlockingCameraManager blkManager = new BlockingCameraManager(mCameraManager); in onOpen()
214 mProperties = mCameraManager.getCameraCharacteristics(mCamera.getId()); in onOpen()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java66 private final CameraManager mCameraManager; field in AndroidCamera2AgentImpl
94 mCameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in AndroidCamera2AgentImpl()
110 String[] currentCameraDevices = mCameraManager.getCameraIdList(); in updateCameraDevices()
145 return new AndroidCamera2DeviceInfo(mCameraManager, mCameraDevices.toArray(new String[0]), in getCameraDeviceInfo()
249 mCameraManager.openCamera(mCameraId, mCameraDeviceStateCallback, this); in handleMessage()
784 mCameraManager.getCameraCharacteristics(mCameraId);
1290 private final CameraManager mCameraManager; field in AndroidCamera2AgentImpl.AndroidCamera2DeviceInfo
1298 mCameraManager = cameraManager; in AndroidCamera2DeviceInfo()
1328 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(actualId); in getCharacteristics()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java66 private final CameraManager mCameraManager; field in CameraOps
109 String[] cameraIds = mCameraManager.getCameraIdList(); in resume()
111 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume()
243 mCameraManager = manager; in CameraOps()
263 mCameraManager.openCamera(cameraId, mCameraDeviceListener, mCameraHandler); in openCamera()
DCameraView.java54 CameraManager mCameraManager; field in CameraView
88 mCameraManager = (CameraManager) mContext.getSystemService(mContext.CAMERA_SERVICE); in CameraView()
129 mCameraOps = new CameraOps(mCameraManager, in CameraView()