Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCameraOps2.java36 private final CameraManager mCameraManager; field in CameraOps2
47 mCameraManager = (CameraManager) activity.getSystemService(Activity.CAMERA_SERVICE); in CameraOps2()
48 if (mCameraManager == null) { in CameraOps2()
52 String[] cameraIds = mCameraManager.getCameraIdList(); in CameraOps2()
61 mCameraManager.registerAvailabilityCallback(this, /*handler*/null); in CameraOps2()
77 mCameraManager.registerAvailabilityCallback(listener, /*handler*/null); in getCamerasAndListen()
79 return mCameraManager.getCameraIdList(); in getCamerasAndListen()
83 mCameraManager.unregisterAvailabilityCallback(listener); in removeAvailabilityCallback()
130 mCameraManager.openCamera(cameraId, proxyListener, null); in doOpenCamera()
168 return mCameraManager.getCameraCharacteristics(cameraId); in getCameraInfo()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraOps.java68 private final CameraManager mCameraManager; field in CameraOps
123 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE); in CameraOps()
124 if (mCameraManager == null) { in CameraOps()
127 mBlockingCameraManager = new BlockingCameraManager(mCameraManager); in CameraOps()
148 return mCameraManager.getCameraIdList(); in getDevices()
157 mCameraManager.registerAvailabilityCallback(listener, mOpsHandler); in registerCameraListener()
194 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(mCameraId); in minimalOpenCamera()
215 mCameraCharacteristics = mCameraManager.getCameraCharacteristics(mCameraId); in minimalOpenCamera()
260 mCameraManager.getCameraCharacteristics(mCamera.getId()); in minimalPreviewConfig()
449 mCameraManager.getCameraCharacteristics(mCamera.getId()); in minimalStillCapture()
[all …]