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()
256 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument259 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()260 if (width == supportedSizes[i].width && in isVideoSizeSupported()261 height == supportedSizes[i].height) { in isVideoSizeSupported()
556 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument557 if (size == null || supportedSizes == null) { in findClosestSize()561 for (Size s : supportedSizes) { in findClosestSize()