Home
last modified time | relevance | path

Searched refs:mCameraId (Results 1 – 4 of 4) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCameraInfoDialogFragment.java40 private String mCameraId; field in CameraInfoDialogFragment
44 mCameraId = null; in CameraInfoDialogFragment()
53 mCameraId = cameraId; in setCameraId()
60 String title = String.format("Info: Camera %s", mCameraId); in onCreateDialog()
63 if (mCameraId != null) { in onCreateDialog()
66 getCameraCharacteristics(mCameraId); in onCreateDialog()
68 TLog.e(String.format("Can't get characteristics for camera %s: %s", mCameraId, e)); in onCreateDialog()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraOps.java73 private String mCameraId; field in CameraOps
187 if (mCamera == null || !mCameraId.equals(mCamera.getId())) { in minimalOpenCamera()
194 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(mCameraId); in minimalOpenCamera()
212 Log.i(TAG, "Opening " + mCameraId); in minimalOpenCamera()
213 mCamera = mBlockingCameraManager.openCamera(mCameraId, in minimalOpenCamera()
215 mCameraCharacteristics = mCameraManager.getCameraCharacteristics(mCameraId); in minimalOpenCamera()
228 mListener.onCameraOpened(mCameraId, characteristics); in minimalOpenCamera()
256 mCameraId = cameraId; in minimalPreviewConfig()
DTestingCamera2.java76 private String mCameraId; field in TestingCamera2
207 mCameraId = mAvailableCameraIds[0]; in onCreate()
271 mCameraOps.minimalPreviewConfig(mCameraId, mPreviewView.getHolder(), in setUpPreview()
754 if (cameraId != mCameraId) {
767 mCameraId = cameraId;
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java128 private int mCameraId; field in TestingCamera
328 mCameraId = 0; in onCreate()
329 mCameraSpinner.setSelection(mCameraId + 1); in onCreate()
483 android.hardware.Camera.getCameraInfo(mCameraId, info); in setCameraDisplayOrientation()
531 if (mCameraId != cameraId) {
533 mCameraId = cameraId;
548 if (mCameraId != NO_CAMERA_ID) {
551 infoDialog.updateInfo(mCameraId, mCamera);
1007 if (mCameraId == NO_CAMERA_ID) return; in setUpCamera()
1009 log("Setting up camera " + mCameraId); in setUpCamera()
[all …]