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 CameraVideoActivity753 for (int i = 0; i < mPreviewSizes.size(); i++) { in matchPreviewRecordSize()754 if (mPreviewSizes.get(i).equals(recordSize)) { in matchPreviewRecordSize()761 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()762 if (mPreviewSizes.get(i).width * recordSize.height == in matchPreviewRecordSize()763 mPreviewSizes.get(i).height * recordSize.width) { in matchPreviewRecordSize()764 matchedSize = mCamera.new Size(mPreviewSizes.get(i).width, in matchPreviewRecordSize()765 mPreviewSizes.get(i).height); in matchPreviewRecordSize()772 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()773 if (Math.abs((float)mPreviewSizes.get(i).width * recordSize.height / in matchPreviewRecordSize()[all …]
99 private Size[] mPreviewSizes = null; field in PhotoCaptureActivity150 mPreviewSizes = new Size[Camera.getNumberOfCameras()]; in onCreate()420 mPreviewSizes = null; in showNextDialogToChoosePreviewSize()428 mPreviewSizes[cameraId] = new Size( in showNextDialogToChoosePreviewSize()497 if (mPreviewSizes != null) { in initializeCamera()498 selectedPreviewSize = mPreviewSizes[mSelectedResolution.cameraId]; in initializeCamera()
73 private List<Camera.Size> mPreviewSizes; field in CameraOrientationActivity215 mPreviewSizes = new ArrayList<Camera.Size>(sortedResolutions); in setUpCamera()268 mOptimalPreviewSize = getOptimalSize(mPreviewSizes, VGA_WIDTH, VGA_HEIGHT); in startPreview()273 mOptimalPreviewSize = getOptimalSize(mPreviewSizes, mOptimalPictureSize.width, in startPreview()