Searched refs:supportedSizes (Results 1 – 3 of 3) sorted by relevance
133 Vector<Size> supportedSizes; in trySettingVideoSize() local134 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()136 if (supportedSizes.size() == 0) { in trySettingVideoSize()137 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()143 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()144 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()145 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
281 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument284 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()285 if (width == supportedSizes[i].width && in isVideoSizeSupported()286 height == supportedSizes[i].height) { in isVideoSizeSupported()
611 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument612 if (size == null || supportedSizes == null) { in findClosestSize()616 for (Size s : supportedSizes) { in findClosestSize()