Home
last modified time | relevance | path

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

/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java86 private Camera getCameraInstance(int cameraId) { in getCameraInstance() argument
89 c = Camera.open(cameraId); // attempt to get a Camera instance in getCameraInstance()
92 Toast.makeText(this, "Camera " + cameraId + " is not available: " + e.getMessage(), in getCameraInstance()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java100 public static Camera getCameraInstance(int cameraId) { in getCameraInstance() argument
103 c = Camera.open(cameraId); // attempt to get a Camera instance in getCameraInstance()
106 Log.d(TAG, "Camera " + cameraId + " is not available: " + e.getMessage()); in getCameraInstance()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DCameraOps.java84 public void openCamera(final String cameraId) { in openCamera() argument
93 mCameraManager.openCamera(cameraId, mCameraDeviceListener, mCameraHandler); in openCamera()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java705 for (String cameraId : manager.getCameraIdList()) { in setUpCameraOutputs()
707 = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs()
749 mCameraId = cameraId; in setUpCameraOutputs()
783 String cameraId; in openCamera() local
786 cameraId = mCameraId; in openCamera()
792 manager.openCamera(cameraId, mStateCallback, backgroundHandler); in openCamera()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java431 String cameraId = manager.getCameraIdList()[0]; in openCamera() local
434 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in openCamera()
450 manager.openCamera(cameraId, mStateCallback, null); in openCamera()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java495 for (String cameraId : manager.getCameraIdList()) { in setUpCameraOutputs()
497 = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs()
586 mCameraId = cameraId; in setUpCameraOutputs()