Searched refs:windowHeight (Results 1 - 11 of 11) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DQTMovieGWorld.cpp409 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;
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DFullscreenVideoController.cpp56 static const int windowHeight = 59; variable
245 , m_timeSlider(HUDSlider::DiamondButton, timeSliderButtonSize, IntRect(IntPoint(windowWidth / 2 - timeSliderWidth / 2, windowHeight - margin - sliderHeight), IntSize(timeSliderWidth, sliderHeight)))
440 m_hudPosition.setY(m_fullscreenSize.height() * initialHUDPositionY - windowHeight / 2);
445 BitmapInfo bitmapInfo = BitmapInfo::createBottomUp(IntSize(windowWidth, windowHeight));
449 RECT clearRect = { m_hudPosition.x(), m_hudPosition.y(), m_hudPosition.x() + windowWidth, m_hudPosition.y() + windowHeight };
499 IntRect outerRect(0, 0, windowWidth, windowHeight);
501 IntRect innerRect(borderThickness, borderThickness, windowWidth - borderThickness * 2, windowHeight - borderThickness * 2);
540 context.drawText(font, leftText, IntPoint(windowWidth / 2 - timeSliderWidth / 2 - margin - font.width(leftText), windowHeight - margin - sliderHeight / 2 + fontHeight / 4));
546 context.drawText(font, rightText, IntPoint(windowWidth / 2 + timeSliderWidth / 2 + margin, windowHeight - margin - sliderHeight / 2 + fontHeight / 4));
550 SIZE size = { windowWidth, windowHeight };
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DWebVideoFullscreenHUDWindowController.mm142 static const CGFloat windowHeight = 59;
151 NSWindow *window = [[WebVideoFullscreenHUDWindow alloc] initWithContentRect:NSMakeRect(0, 0, windowWidth, windowHeight)
335 _playButton = (NSButton *)createControlWithMediaUIControlType(wkMediaUIControlPlayPauseButton, NSMakeRect(center, windowHeight - playButtonTopMargin - playButtonHeight, playButtonWidth, playButtonHeight));
342 NSControl *exitFullscreenButton = createControlWithMediaUIControlType(wkMediaUIControlExitFullscreenButton, NSMakeRect(closeToRight, windowHeight - exitFullscreenButtonTopMargin - exitFullscreenButtonHeight, exitFullscreenButtonWidth, exitFullscreenButtonHeight));
348 CGFloat volumeControlsBottom = windowHeight - volumeControlsTopMargin - volumeButtonHeight;
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXMenu.c946 int windowWidth, windowHeight, accelWidth;
961 windowHeight = maxWidth = lastColumnBreak = 0;
1108 if (y > windowHeight) {
1109 windowHeight = y;
1123 windowHeight += borderWidth;
1128 if (windowHeight <= 0) {
1129 windowHeight = 1;
1132 menuPtr->totalHeight = windowHeight;
934 int windowWidth, windowHeight, accelWidth; local
/macosx-10.9.5/tcl-102/tk/tk/unix/
H A DtkUnixMenu.c1615 int windowWidth, windowHeight, accelSpace, i, j, lastColumnBreak = 0;
1629 windowHeight = windowWidth = 0;
1732 if (y > windowHeight) {
1733 windowHeight = y;
1751 windowHeight += borderWidth;
1761 if (windowHeight <= 0) {
1762 windowHeight = 1;
1765 menuPtr->totalHeight = windowHeight;
1590 int windowWidth, windowHeight, accelSpace, i, j, lastColumnBreak = 0; local
/macosx-10.9.5/tcl-102/tk84/tk/unix/
H A DtkUnixMenu.c1614 int windowWidth, windowHeight, accelSpace;
1629 windowHeight = windowWidth = 0;
1736 if (y > windowHeight) {
1737 windowHeight = y;
1756 windowHeight += borderWidth;
1766 if (windowHeight <= 0) {
1767 windowHeight = 1;
1770 menuPtr->totalHeight = windowHeight;
1589 int windowWidth, windowHeight, accelSpace; local
/macosx-10.9.5/tcl-102/tcl_ext/tktreectrl/tktreectrl/demos/
H A Dbiglist.tcl198 set BigList(windowHeight) $height
251 $T item create -parent $I -height $BigList(windowHeight) -tags info
459 $T item conf {tag info} -height $BigList(windowHeight)
/macosx-10.9.5/tcl-102/tk/tk/win/
H A DtkWinMenu.c2848 int windowWidth, windowHeight, accelSpace;
2860 windowHeight = 0;
2955 if (y > windowHeight) {
2956 windowHeight = y;
2975 windowHeight += borderWidth;
2985 if (windowHeight <= 0) {
2986 windowHeight = 1;
2989 menuPtr->totalHeight = windowHeight;
2814 int windowWidth, windowHeight, accelSpace; local
/macosx-10.9.5/tcl-102/tk84/tk/win/
H A DtkWinMenu.c2652 int windowWidth, windowHeight, accelSpace;
2664 windowHeight = 0;
2761 if (y > windowHeight) {
2762 windowHeight = y;
2781 windowHeight += borderWidth;
2791 if (windowHeight <= 0) {
2792 windowHeight = 1;
2795 menuPtr->totalHeight = windowHeight;
2618 int windowWidth, windowHeight, accelSpace; local
/macosx-10.9.5/tcl-102/tk84/tk/macosx/
H A DtkMacOSXMenu.c3222 int windowWidth, windowHeight, accelWidth, maxAccelTextWidth;
3240 windowHeight = windowWidth = maxWidth = lastColumnBreak = 0;
3402 if (y > windowHeight) {
3403 windowHeight = y;
3429 windowHeight += borderWidth;
3439 if (windowHeight <= 0) {
3440 windowHeight = 1;
3443 menuPtr->totalHeight = windowHeight;
3174 int windowWidth, windowHeight, accelWidth, maxAccelTextWidth; local
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/
H A DWebNetscapePluginView.mm216 float windowHeight = [currentWindow frame].size.height;
224 MovePortTo(static_cast<short>(contentRect.origin.x), /* Flip Y */ static_cast<short>(windowHeight - NSMaxY(contentRect)));

Completed in 191 milliseconds