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()
188 public void onClosed(CameraDevice camera) { in onClosed() argument
189 mOpenCameras.remove(camera); in onClosed()
190 TLog.i("Camera %s now closed", camera.getId()); in onClosed()
191 mClientListener.onClosed(camera); in onClosed()
195 public void onDisconnected(CameraDevice camera) { in onDisconnected() argument
196 TLog.i("Camera %s now disconnected", camera.getId()); in onDisconnected()
197 mClientListener.onDisconnected(camera); in onDisconnected()
201 public void onError(CameraDevice camera, int error) { in onError() argument
[all …]
DRequestControlPane.java203 CameraControlPane camera = mCameraPanes.get(mCameraSpinner.getSelectedItemPosition());
205 CaptureRequest request = createRequest(camera);
207 camera.capture(request);
219 CameraControlPane camera = mCameraPanes.get(mCameraSpinner.getSelectedItemPosition());
221 CaptureRequest request = createRequest(camera);
223 camera.repeat(request);
228 private CaptureRequest createRequest(CameraControlPane camera) { in createRequest() argument
236 CaptureRequest.Builder builder = camera.getRequestBuilder(template.getTemplateValue()); in createRequest()
242 Surface targetSurface = target.getTargetSurfaceForCameraPane(camera.getPaneName()); in createRequest()
DCameraControlPane.java539 public void onClosed(CameraDevice camera) {
545 public void onDisconnected(CameraDevice camera) {
550 public void onError(CameraDevice camera, int error) {
555 public void onOpened(CameraDevice camera) {
556 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
58 Camera.Parameters p = camera.getParameters(); in updateInfo()
DTestingCamera.java668 public void onAutoFocus(boolean success, Camera camera) {
676 public void onAutoFocusMoving(boolean start, Camera camera) {
881 public void onPictureTaken(byte[] data, Camera camera) {
888 public void onPictureTaken(byte[] data, Camera camera) {
895 public void onPictureTaken(byte[] data, Camera camera) {
1458 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument
1482 public void onError(int error, Camera camera) { in onError() argument