Searched refs:mCameraIds (Results 1 – 5 of 5) sorted by relevance
59 private String[] mCameraIds; field in MultiCameraPreviewActivity111 mCameraIds = mCameraManager.getCameraIdListNoLazy(); in onCreate()112 if (mCameraIds.length == 0) { in onCreate()117 for (int camIdx = 0; camIdx < mCameraIds.length; camIdx++) { in onCreate()118 Log.i(TAG, "Creating preview for camera with ID " + mCameraIds[camIdx]); in onCreate()120 mCameraIds[camIdx], in onCreate()137 int numColumns = (int) Math.ceil(Math.sqrt(mCameraIds.length)); in addPreviewCells()138 int numRows = -Math.floorDiv(-mCameraIds.length, numColumns); //==ceilDiv(nCameras, nCols) in addPreviewCells()139 int numPadded = numColumns * numRows - mCameraIds.length; in addPreviewCells()197 getString(R.string.camera2_selection_checkbox, mCameraIds[camIdx])); in addPreviewSurfaceView()[all …]
50 private String[] mCameraIds; field in Camera2PermissionTest68 mCameraIds = mCameraManager.getCameraIdList(); in setUp()69 assertNotNull("Camera ids shouldn't be null", mCameraIds); in setUp()89 for (String id : mCameraIds) { in testCameraOpen()107 for (String id : mCameraIds) { in testSystemCameraDiscovery()126 for (String id : mCameraIds) { in testCameraCharacteristicsNeedingPermission()
69 BaseUseCase(vector<string> cameraIds) : mCameraIds(cameraIds) {}; in BaseUseCase()74 vector<string> mCameraIds;
59 string cameraId = mCameraIds[0]; in initialize()111 mResourceManager->releaseStreamHandler(mCameraIds[0]); in stopVideoStream()
88 string cameraId = mCameraIds[0]; in initialize()181 mResourceManager->releaseStreamHandler(mCameraIds[0]); in stopVideoStream()