Searched refs:supportedSizes (Results 1 – 3 of 3) sorted by relevance
130 Vector<Size> supportedSizes; in trySettingVideoSize() local131 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()133 if (supportedSizes.size() == 0) { in trySettingVideoSize()134 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()140 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()141 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()142 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
241 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument244 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()245 if (width == supportedSizes[i].width && in isVideoSizeSupported()246 height == supportedSizes[i].height) { in isVideoSizeSupported()
502 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument503 if (size == null || supportedSizes == null) { in findClosestSize()507 for (Size s : supportedSizes) { in findClosestSize()