Home
last modified time | relevance | path

Searched refs:cameraManager (Results 1 – 3 of 3) sorted by relevance

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivityHandler.java43 private final CameraManager cameraManager; field in CaptureActivityHandler
53 CameraManager cameraManager) { in CaptureActivityHandler() argument
61 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()
DCaptureActivity.java57 private CameraManager cameraManager; field in CaptureActivity
74 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()
DViewfinderView.java48 private CameraManager cameraManager; field in ViewfinderView
77 public void setCameraManager(CameraManager cameraManager) { in setCameraManager() argument
78 this.cameraManager = cameraManager; in setCameraManager()
83 Rect frame = cameraManager.getFramingRect(); in onDraw()
117 Rect previewFrame = cameraManager.getFramingRectInPreview(); in onDraw()