Searched refs:mPreviewSizes (Results 1 – 4 of 4) sorted by relevance
82 private List<Camera.Size> mPreviewSizes; field in CameraFormatsActivity230 mNextPreviewSize = mPreviewSizes.get(mNextResolutionIndex); in setUntestedCombination()346 if (mPreviewSizes.get(position) != mPreviewSize) {347 mNextPreviewSize = mPreviewSizes.get(position);400 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()402 String[] availableSizeNames = new String[mPreviewSizes.size()]; in setUpCamera()403 for (int i = 0; i < mPreviewSizes.size(); i++) { in setUpCamera()405 Integer.toString(mPreviewSizes.get(i).width) + " x " + in setUpCamera()406 Integer.toString(mPreviewSizes.get(i).height); in setUpCamera()428 for (int resolutionIndex = 0; resolutionIndex < mPreviewSizes.size(); resolutionIndex++) { in setUpCamera()[all …]
90 private List<Size> mPreviewSizes; field in CameraVideoActivity733 for (int i = 0; i < mPreviewSizes.size(); i++) { in matchPreviewRecordSize()734 if (mPreviewSizes.get(i).equals(recordSize)) { in matchPreviewRecordSize()741 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()742 if (mPreviewSizes.get(i).width * recordSize.height == in matchPreviewRecordSize()743 mPreviewSizes.get(i).height * recordSize.width) { in matchPreviewRecordSize()744 matchedSize = mCamera.new Size(mPreviewSizes.get(i).width, in matchPreviewRecordSize()745 mPreviewSizes.get(i).height); in matchPreviewRecordSize()752 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()753 if (Math.abs((float)mPreviewSizes.get(i).width * recordSize.height / in matchPreviewRecordSize()[all …]
95 private Size[] mPreviewSizes = null; field in PhotoCaptureActivity150 mPreviewSizes = new Size[Camera.getNumberOfCameras()]; in onCreate()406 mPreviewSizes = null; in showNextDialogToChoosePreviewSize()414 mPreviewSizes[cameraId] = new Size( in showNextDialogToChoosePreviewSize()453 if (mPreviewSizes != null) { in initializeCamera()454 selectedPreviewSize = mPreviewSizes[mSelectedResolution.cameraId]; in initializeCamera()
69 private List<Camera.Size> mPreviewSizes; field in CameraOrientationActivity210 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()263 mOptimalPreviewSize = getOptimalSize(mPreviewSizes, VGA_WIDTH, VGA_HEIGHT); in startPreview()