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()
134 mCameraManager.openCamera(cameraId, proxyListener, null); in doOpenCamera()
172 return mCameraManager.getCameraCharacteristics(cameraId); in getCameraInfo()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraOps.java65 private final CameraManager mCameraManager; field in CameraOps
113 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE); in CameraOps()
114 if (mCameraManager == null) { in CameraOps()
117 mBlockingCameraManager = new BlockingCameraManager(mCameraManager); in CameraOps()
138 return mCameraManager.getCameraIdList(); in getDevices()
147 mCameraManager.registerAvailabilityCallback(listener, mOpsHandler); in registerCameraListener()
181 devices = mCameraManager.getCameraIdList(); in minimalOpenCamera()
187 mCameraCharacteristics = mCameraManager.getCameraCharacteristics(mCamera.getId()); in minimalOpenCamera()
223 mCameraManager.getCameraCharacteristics(mCamera.getId()); in minimalPreviewConfig()
363 mCameraManager.getCameraCharacteristics(mCamera.getId()); in minimalJpegCapture()
[all …]