Searched refs:mOptimalSize (Results 1 – 1 of 1) sorted by relevance
68 private Camera.Size mOptimalSize; field in CameraOrientationActivity248 mOptimalSize = getOptimalPreviewSize(mPreviewSizes, 640, 480); in startPreview()250 + mOptimalSize.width + "x" + mOptimalSize.height); in startPreview()251 p.setPictureSize(mOptimalSize.width, mOptimalSize.height); in startPreview()253 + mOptimalSize.width + "x" + mOptimalSize.height); in startPreview()254 p.setPreviewSize(mOptimalSize.width, mOptimalSize.height); in startPreview()473 newHeight = (int) (viewWidth * ((double) mOptimalSize.height /474 (double) mOptimalSize.width));478 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /479 (double) mOptimalSize.width));