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()477 newHeight = (int) (viewWidth * ((double) mOptimalSize.height /478 (double) mOptimalSize.width));482 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /483 (double) mOptimalSize.width));