Searched refs:supportedSizes (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 727 Size[] supportedSizes = getSupportedPreviewSizes(); in pickPreviewSize() local 732 Size size = CaptureModuleUtil.getOptimalPreviewSize(supportedSizes, in pickPreviewSize() 855 android.util.Size[] supportedSizes = configs.getOutputSizes(sCaptureImageFormat); in getDefaultPictureSize() local 858 android.util.Size largestSupportedSize = supportedSizes[0]; in getDefaultPictureSize() 861 for (int i = 1; i < supportedSizes.length; i++) { in getDefaultPictureSize() 862 long numPixels = supportedSizes[i].getWidth() * supportedSizes[i].getHeight(); in getDefaultPictureSize() 864 largestSupportedSize = supportedSizes[i]; in getDefaultPictureSize()
|
D | OneCameraZslImpl.java | 392 android.util.Size[] supportedSizes = configs.getOutputSizes(sCaptureImageFormat); in getDefaultPictureSize() local 395 android.util.Size largestSupportedSize = supportedSizes[0]; in getDefaultPictureSize() 398 for (int i = 0; i < supportedSizes.length; i++) { in getDefaultPictureSize() 399 long numPixels = supportedSizes[i].getWidth() * supportedSizes[i].getHeight(); in getDefaultPictureSize() 401 largestSupportedSize = supportedSizes[i]; in getDefaultPictureSize()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 371 private boolean findBestPreviewSize(List<Size> supportedSizes, boolean need4To3, in findBestPreviewSize() argument 375 for (Size size : supportedSizes) { in findBestPreviewSize() 398 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams() local 399 if (!findBestPreviewSize(supportedSizes, true, true)) { in setupCaptureParams() 401 if (!findBestPreviewSize(supportedSizes, false, true)) { in setupCaptureParams() 403 findBestPreviewSize(supportedSizes, false, false); in setupCaptureParams()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 74 public Size getFromSetting(String sizeSetting, List<Size> supportedSizes) { in getFromSetting() argument 83 if (supportedSizes.contains(desiredSize)) { in getFromSetting()
|