Searched refs:originalRatio (Results 1 - 2 of 2) sorted by relevance

/external/webkit/Source/WebKit/mac/WebView/
H A DWebVideoFullscreenController.mm254 double originalRatio = frame->size.width / frame->size.height;
256 if (newRatio > originalRatio) {
257 double newWidth = originalRatio * frameToConstrain->size.height;
262 double newHeight = frameToConstrain->size.width / originalRatio;
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DMediaPlayerPrivateAndroid.cpp264 float originalRatio = static_cast<float>(m_poster->width()) / static_cast<float>(m_poster->height()); local
266 int posterHeight = posterWidth / originalRatio;

Completed in 128 milliseconds