Searched refs:cameraManager (Results 1 – 4 of 4) sorted by relevance
43 private final CameraManager cameraManager; field in CaptureActivityHandler53 CameraManager cameraManager) { in CaptureActivityHandler() argument61 this.cameraManager = cameraManager; in CaptureActivityHandler()62 cameraManager.startPreview(); in CaptureActivityHandler()73 cameraManager.requestAutoFocus(this, R.id.auto_focus); in handleMessage()88 cameraManager.requestPreviewFrame(decodeThread.getHandler(), R.id.decode); in handleMessage()104 cameraManager.stopPreview(); in quitSynchronously()122 cameraManager.requestPreviewFrame(decodeThread.getHandler(), R.id.decode); in restartPreviewAndDecode()123 cameraManager.requestAutoFocus(this, R.id.auto_focus); in restartPreviewAndDecode()
57 private CameraManager cameraManager; field in CaptureActivity74 return cameraManager; in getCameraManager()100 cameraManager = new CameraManager(getApplication()); in onResume()102 viewfinderView.setCameraManager(cameraManager); in onResume()128 cameraManager.setManualFramingRect(width, height); in onResume()147 cameraManager.closeDriver(); in onPause()258 cameraManager.openDriver(surfaceHolder); in initCamera()262 handler = new CaptureActivityHandler(this, characterSet, cameraManager); in initCamera()
48 private CameraManager cameraManager; field in ViewfinderView77 public void setCameraManager(CameraManager cameraManager) { in setCameraManager() argument78 this.cameraManager = cameraManager; in setCameraManager()83 Rect frame = cameraManager.getFramingRect(); in onDraw()117 Rect previewFrame = cameraManager.getFramingRectInPreview(); in onDraw()
55 private final CameraManager cameraManager; field in Camera2Enumerator66 cameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in Camera2Enumerator()80 cameraCharacteristics = cameraManager.getCameraCharacteristics(Integer.toString(cameraId)); in getSupportedFormats()