Searched refs:supportedSizes (Results 1 – 3 of 3) sorted by relevance
132 Vector<Size> supportedSizes; in trySettingVideoSize() local133 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()135 if (supportedSizes.size() == 0) { in trySettingVideoSize()136 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()142 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()143 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()144 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
279 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument282 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()283 if (width == supportedSizes[i].width && in isVideoSizeSupported()284 height == supportedSizes[i].height) { in isVideoSizeSupported()
554 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument555 if (size == null || supportedSizes == null) { in findClosestSize()559 for (Size s : supportedSizes) { in findClosestSize()