Searched refs:screenResolution (Results 1 – 2 of 2) sorted by relevance
184 Point screenResolution = configManager.getScreenResolution(); in getFramingRect() local185 int width = screenResolution.x * 3 / 4; in getFramingRect()191 int height = screenResolution.y * 3 / 4; in getFramingRect()197 int leftOffset = (screenResolution.x - width) / 2; in getFramingRect()198 int topOffset = (screenResolution.y - height) / 2; in getFramingRect()220 Point screenResolution = configManager.getScreenResolution(); in getFramingRectInPreview() local221 rect.left = rect.left * cameraResolution.x / screenResolution.x; in getFramingRectInPreview()222 rect.right = rect.right * cameraResolution.x / screenResolution.x; in getFramingRectInPreview()223 rect.top = rect.top * cameraResolution.y / screenResolution.y; in getFramingRectInPreview()224 rect.bottom = rect.bottom * cameraResolution.y / screenResolution.y; in getFramingRectInPreview()[all …]
41 private Point screenResolution; field in CameraConfigurationManager65 screenResolution = new Point(width, height); in initFromCameraParameters()66 Log.i(TAG, "Screen resolution: " + screenResolution); in initFromCameraParameters()67 cameraResolution = findBestPreviewSizeValue(parameters, screenResolution, false); in initFromCameraParameters()98 return screenResolution; in getScreenResolution()135 Point screenResolution, in findBestPreviewSizeValue() argument146 …int newDiff = Math.abs(screenResolution.x * supportedHeight - supportedWidth * screenResolution.y); in findBestPreviewSizeValue()