Searched refs:supportedSizes (Results 1 – 5 of 5) sorted by relevance
129 Vector<Size> supportedSizes; in trySettingVideoSize() local130 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()132 if (supportedSizes.size() == 0) { in trySettingVideoSize()133 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()139 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()140 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()141 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
189 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument192 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()193 if (width == supportedSizes[i].width && in isVideoSizeSupported()194 height == supportedSizes[i].height) { in isVideoSizeSupported()
238 Size[] supportedSizes = streamMap.getOutputSizes(format); in generateSupportedSizes() local239 if ((ret.isEmpty()) && (supportedSizes != null)) { in generateSupportedSizes()240 ret.addAll(Arrays.asList(supportedSizes)); in generateSupportedSizes()250 HashSet<Size> supportedSizes = extensionSizes.isEmpty() ? new HashSet<>(Arrays.asList( in generateJpegSupportedSizes() local254 supportedSizes.retainAll(supportedJpegSizes); in generateJpegSupportedSizes()256 return new ArrayList<>(supportedSizes); in generateJpegSupportedSizes()
197 List<Size> supportedSizes = extensionChars.getExtensionSupportedSizes( in createCameraAdvancedExtensionSession() local199 if (supportedSizes != null) { in createCameraAdvancedExtensionSession()200 supportedCaptureSizes.put(format, supportedSizes); in createCameraAdvancedExtensionSession()
197 List<Size> supportedSizes = extensionChars.getExtensionSupportedSizes( in createCameraExtensionSession() local199 if (supportedSizes != null) { in createCameraExtensionSession()200 supportedCaptureSizes.put(format, supportedSizes); in createCameraExtensionSession()