Home
last modified time | relevance | path

Searched refs:cameraId (Results 1 – 8 of 8) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCameraOps2.java54 for (String cameraId : cameraIds) { in CameraOps2()
55 TLog.i(" Camera %s", cameraId); in CameraOps2()
87 public void onCameraAvailable(String cameraId) { in onCameraAvailable() argument
88 TLog.i("Camera %s is now available", cameraId); in onCameraAvailable()
92 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable() argument
93 TLog.i("Camera %s is now unavailable", cameraId); in onCameraUnavailable()
105 public boolean openCamera(String cameraId, CameraDevice.StateCallback listener) { in openCamera() argument
107 if (camera.getId() == cameraId) { in openCamera()
108 TLog.e("Camera %s is already open", cameraId); in openCamera()
116 mDelayedOpenId = cameraId; in openCamera()
[all …]
DCameraInfoDialogFragment.java52 public void setCameraId(String cameraId) { in setCameraId() argument
53 mCameraId = cameraId; in setCameraId()
DCameraControlPane.java193 String cameraId = getAttributeString(configParser, CAMERA_ID, null); in CameraControlPane() local
202 if (mCameraIds != null && cameraId != null) { in CameraControlPane()
204 if (cameraId.equals(mCameraIds[i])) { in CameraControlPane()
236 public void showCameraInfo(String cameraId); in showCameraInfo() argument
710 public void onCameraAvailable(String cameraId) {
716 public void onCameraUnavailable(String cameraId) {
DTestingCamera21.java269 public void showCameraInfo(String cameraId) { in showCameraInfo() argument
273 infoDialog.setCameraId(cameraId); in showCameraInfo()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DInfoDialogFragment.java45 public void updateInfo(int cameraId, Camera camera) { in updateInfo() argument
46 mTitleString = "Current camera " + cameraId + " state"; in updateInfo()
50 Camera.getCameraInfo(cameraId, cameraInfo); in updateInfo()
DTestingCamera.java530 int cameraId = pos - 1;
531 if (mCameraId != cameraId) {
533 mCameraId = cameraId;
1228 private void updatePreviewFrameRate(int cameraId) { in updatePreviewFrameRate() argument
1301 private void updateCamcorderProfile(int cameraId) { in updateCamcorderProfile() argument
1349 if (CamcorderProfile.hasProfile(cameraId, PROFILES[i])) { in updateCamcorderProfile()
1351 mCamcorderProfiles.add(CamcorderProfile.get(cameraId, PROFILES[i])); in updateCamcorderProfile()
1361 log("Camera " + cameraId + " doesn't support camcorder profile"); in updateCamcorderProfile()
1371 private void updateVideoRecordSize(int cameraId) { in updateVideoRecordSize() argument
1397 private void updateVideoFrameRate(int cameraId) { in updateVideoFrameRate() argument
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java752 String cameraId = mAvailableCameraIds[position];
754 if (cameraId != mCameraId) {
755 Log.i(TAG, "Switch to camera " + cameraId);
757 mCameraOps.minimalPreviewConfig(cameraId, mPreviewView.getHolder(),
767 mCameraId = cameraId;
779 public void onCameraOpened(String cameraId, CameraCharacteristics characteristics) {
DCameraOps.java59 void onCameraOpened(String cameraId, CameraCharacteristics characteristics); in onCameraOpened() argument
253 public void minimalPreviewConfig(String cameraId, SurfaceHolder previewHolder, in minimalPreviewConfig() argument
256 mCameraId = cameraId; in minimalPreviewConfig()