Searched refs:mPreviewSizes (Results 1 – 4 of 4) sorted by relevance
85 private List<Size> mPreviewSizes; field in CameraVideoActivity545 for (int i = 0; i < mPreviewSizes.size(); i++) { in matchPreviewRecordSize()546 if (mPreviewSizes.get(i).equals(recordSize)) { in matchPreviewRecordSize()553 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()554 if (mPreviewSizes.get(i).width * recordSize.height == in matchPreviewRecordSize()555 mPreviewSizes.get(i).height * recordSize.width) { in matchPreviewRecordSize()556 matchedSize = mCamera.new Size(mPreviewSizes.get(i).width, in matchPreviewRecordSize()557 mPreviewSizes.get(i).height); in matchPreviewRecordSize()564 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()565 if (Math.abs((float)mPreviewSizes.get(i).width * recordSize.height / in matchPreviewRecordSize()[all …]
80 private List<Camera.Size> mPreviewSizes; field in CameraFormatsActivity284 if (mPreviewSizes.get(position) != mPreviewSize) {285 mNextPreviewSize = mPreviewSizes.get(position);340 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()342 String[] availableSizeNames = new String[mPreviewSizes.size()]; in setUpCamera()343 for (int i = 0; i < mPreviewSizes.size(); i++) { in setUpCamera()345 Integer.toString(mPreviewSizes.get(i).width) + " x " + in setUpCamera()346 Integer.toString(mPreviewSizes.get(i).height); in setUpCamera()369 for (Camera.Size previewSize: mPreviewSizes) { in setUpCamera()383 mNextPreviewSize = mPreviewSizes.get(0); in setUpCamera()
92 private Size[] mPreviewSizes = null; field in PhotoCaptureActivity140 mPreviewSizes = new Size[Camera.getNumberOfCameras()]; in onCreate()380 mPreviewSizes = null; in showNextDialogToChoosePreviewSize()388 mPreviewSizes[cameraId] = new Size( in showNextDialogToChoosePreviewSize()426 … Size selectedPreviewSize = (mPreviewSizes != null) ? mPreviewSizes[mSelectedResolution.cameraId] : in initializeCamera()
67 private List<Camera.Size> mPreviewSizes; field in CameraOrientationActivity205 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()248 mOptimalSize = getOptimalPreviewSize(mPreviewSizes, 640, 480); in startPreview()