Searched defs:windowHeight (Results 1 - 3 of 3) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | QTMovieGWorld.cpp | 409 int windowHeight = rect.bottom - rect.top; 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; 414 int offsetY = (windowHeight - actualHeight) / 2;
|
/external/webkit/Source/WebKit/win/ |
H A D | FullscreenVideoController.cpp | 53 static const int windowHeight = 59; variable 240 , m_timeSlider(HUDSlider::DiamondButton, timeSliderButtonSize, IntRect(IntPoint(windowWidth / 2 - timeSliderWidth / 2, windowHeight - margin - sliderHeight), IntSize(timeSliderWidth, sliderHeight))) 434 m_hudPosition.setY(m_fullscreenSize.height() * initialHUDPositionY - windowHeight / 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 / 2 - timeSliderWidth / 2 - margin - font.width(leftText), windowHeight - margin - sliderHeight / 2 + fontHeight / 4)); 544 context.drawText(font, rightText, IntPoint(windowWidth / 2 + timeSliderWidth / 2 + margin, windowHeight - margin - sliderHeight / 2 + fontHeight / 4)); 548 SIZE size = { windowWidth, windowHeight }; [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | PopupMenuChromium.cpp | 1313 int windowHeight = 0; local 1320 if (windowHeight + rowHeight > m_maxHeight) { 1325 windowHeight += rowHeight; 1356 resize(windowWidth, windowHeight);
|
Completed in 219 milliseconds