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 …]
93 private List<Size> mPreviewSizes; field in CameraVideoActivity731 for (int i = 0; i < mPreviewSizes.size(); i++) { in matchPreviewRecordSize()732 if (mPreviewSizes.get(i).equals(recordSize)) { in matchPreviewRecordSize()739 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()740 if (mPreviewSizes.get(i).width * recordSize.height == in matchPreviewRecordSize()741 mPreviewSizes.get(i).height * recordSize.width) { in matchPreviewRecordSize()742 matchedSize = mCamera.new Size(mPreviewSizes.get(i).width, in matchPreviewRecordSize()743 mPreviewSizes.get(i).height); in matchPreviewRecordSize()750 for (int i = mPreviewSizes.size() - 1; i >= 0; i--) { in matchPreviewRecordSize()751 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()
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()