Searched defs:windowWidth (Results 1 - 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
H A DQTMovieGWorld.cpp408 int windowWidth = rect.right - rect.left; local
410 float windowRatio = static_cast<float>(windowWidth) / windowHeight;
411 int actualWidth = (windowRatio > movieRatio) ? (windowHeight * movieRatio) : windowWidth;
412 int actualHeight = (windowRatio < movieRatio) ? (windowWidth / movieRatio) : windowHeight;
413 int offsetX = (windowWidth - actualWidth) / 2;
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp54 static const int windowWidth = 438; variable
233 , m_playPauseButton(HUDButton::PlayPauseButton, IntPoint((windowWidth - buttonSize) / 2, marginTop))
238 , m_exitFullscreenButton(HUDButton::ExitFullscreenButton, IntPoint(windowWidth - 2 * margin - buttonMiniSize, marginTop + (buttonSize - buttonMiniSize) / 2))
240 , m_timeSlider(HUDSlider::DiamondButton, timeSliderButtonSize, IntRect(IntPoint(windowWidth / 2 - timeSliderWidth / 2, windowHeight - margin - sliderHeight), IntSize(timeSliderWidth, sliderHeight)))
433 m_hudPosition.setX((m_fullscreenSize.width() - windowWidth) / 2);
439 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(windowWidth, windowHeight));
443 RECT clearRect = { m_hudPosition.x(), m_hudPosition.y(), m_hudPosition.x() + windowWidth, m_hudPosition.y() + windowHeight };
495 IntRect outerRect(0, 0, windowWidth, windowHeight);
497 IntRect innerRect(borderThickness, borderThickness, windowWidth - borderThickness * 2, windowHeight - borderThickness * 2);
538 context.drawText(font, leftText, IntPoint(windowWidth /
[all...]
/external/webkit/Source/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp1340 int windowWidth; local
1343 windowWidth = m_baseWidth;
1346 windowWidth = baseWidth + scrollbarWidth + paddingWidth;
1349 if (windowWidth < m_baseWidth) {
1350 windowWidth = m_baseWidth;
1356 resize(windowWidth, windowHeight);

Completed in 85 milliseconds