Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 6 of 6) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCameraOps2.java106 for (CameraDevice camera : mOpenCameras) { in openCamera()
107 if (camera.getId() == cameraId) { in openCamera()
184 public void onClosed(CameraDevice camera) { in onClosed() argument
185 mOpenCameras.remove(camera); in onClosed()
186 TLog.i("Camera %s now closed", camera.getId()); in onClosed()
187 mClientListener.onClosed(camera); in onClosed()
191 public void onDisconnected(CameraDevice camera) { in onDisconnected() argument
192 TLog.i("Camera %s now disconnected", camera.getId()); in onDisconnected()
193 mClientListener.onDisconnected(camera); in onDisconnected()
197 public void onError(CameraDevice camera, int error) { in onError() argument
[all …]
DRequestControlPane.java218 CameraControlPane camera = mCameraPanes.get(mCameraSpinner.getSelectedItemPosition());
220 CaptureRequest request = createRequest(camera);
222 camera.capture(request);
234 CameraControlPane camera = mCameraPanes.get(mCameraSpinner.getSelectedItemPosition());
236 CaptureRequest request = createRequest(camera);
238 camera.repeat(request);
243 private CaptureRequest createRequest(CameraControlPane camera) { in createRequest() argument
251 CaptureRequest.Builder builder = camera.getRequestBuilder(template.getTemplateValue()); in createRequest()
257 Surface targetSurface = target.getTargetSurfaceForCameraPane(camera.getPaneName()); in createRequest()
DCameraControlPane.java577 public void onClosed(CameraDevice camera) {
583 public void onDisconnected(CameraDevice camera) {
588 public void onError(CameraDevice camera, int error) {
593 public void onOpened(CameraDevice camera) {
594 mCurrentCamera = camera;
/pdk/apps/TestingCamera2/
DREADME.txt16 The left (or above) panel generally displays output from the camera subsystem, while the right
17 (or below) panel generally has controls for interacting with the camera subsystem.
24 camera, request, burst, and utility panes.
28 1. Add a camera pane, select camera to use
31 3. Open and configure the camera from the camera pane
32 4. Add a request pane, select the desired camera and targets, and the desired use case template.
41 The camera pane includes device-level controls for a single camera, which can be selected from all
43 camera characteristics information, for configuring a set of targets, and for stopping or flushing
44 the camera.
48 Target panes represent various destinations for camera data. The kind of destination desired, and
[all …]
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DInfoDialogFragment.java45 public void updateInfo(int cameraId, Camera camera) { in updateInfo() argument
61 Camera.Parameters p = camera.getParameters(); in updateInfo()
DTestingCamera.java700 public void onAutoFocus(boolean success, Camera camera) {
708 public void onAutoFocusMoving(boolean start, Camera camera) {
913 public void onPictureTaken(byte[] data, Camera camera) {
920 public void onPictureTaken(byte[] data, Camera camera) {
927 public void onPictureTaken(byte[] data, Camera camera) {
1526 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument
1550 public void onError(int error, Camera camera) { in onError() argument