Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_alert.mm27 - (void)layoutButtonsWithWindowWidth:(CGFloat)windowWidth;
32 windowWidth:(CGFloat)windowWidth;
36 windowWidth:(CGFloat)windowWidth;
40 - (void)layoutCloseButtonWithWindowWidth:(CGFloat)windowWidth
158 CGFloat windowWidth = buttonWidth;
160 windowWidth = std::max(windowWidth, NSWidth([accessoryView_ frame]));
161 windowWidth += chrome_style::kHorizontalPadding * 2;
162 windowWidth = std::max(windowWidth, kWindowMinWidth);
165 [self layoutButtonsWithWindowWidth:windowWidth];
169 windowWidth - chrome_style::GetCloseButtonSize() - kButtonGap;
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.cpp786 int windowWidth = baseWidth + scrollbarWidth + paddingWidth; in layout() local
787 if (windowWidth > m_maxWindowWidth) { in layout()
789 windowWidth = m_maxWindowWidth; in layout()
790 baseWidth = windowWidth - scrollbarWidth - paddingWidth; in layout()
793 int contentWidth = windowWidth - scrollbarWidth; in layout()
795 if (windowWidth < m_baseWidth) { in layout()
796 windowWidth = m_baseWidth; in layout()
802 resize(windowWidth, windowHeight); in layout()
/external/deqp/modules/glshared/
DglsFragmentOpUtil.hpp96 IntegerQuad (int windowWidth, int windowHeight) in IntegerQuad()
98 , posB(windowWidth-1, windowHeight-1) in IntegerQuad()
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/
DPostSubBuffer.cpp144 size_t windowWidth = getWindow()->getWidth(); in swap() local
148 mPostSubBufferNV(display, surface, 60, 60, windowWidth - 120, windowHeight - 120); in swap()
/external/deqp/modules/egl/
DteglCreateSurfaceTests.cpp148 EGLint windowWidth = 0; in executeForConfig() local
151 …_CALL(eglQuerySurface(display.getEGLDisplay(), surface.getEGLSurface(), EGL_WIDTH, &windowWidth)); in executeForConfig()
154 if (windowWidth <= 0 || windowHeight <= 0) in executeForConfig()
156 …log << TestLog::Message << " Fail, invalid surface size " << windowWidth << "x" << windowHeight <… in executeForConfig()
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-docs.js77 var windowWidth = $(window).width() + "px";
81 …content.css({width:parseInt(windowWidth) - parseInt(navWidth) - 6 + "px"}); // necessary in order …
282 var windowWidth = $(window).width() + "px";
291 …content.css({width:parseInt(windowWidth) - parseInt(sidenavWidth) - 6 + "px"}); // necessary in or…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DViewportDescription.cpp241 int windowWidth = mainFrame->document()->settings()->pinchVirtualViewportEnabled() in reportMobilePageStats() local
244 int overviewZoomPercent = 100 * windowWidth / static_cast<float>(viewportWidth); in reportMobilePageStats()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.h191 - (NSPoint)windowTopLeftForWidth:(int)windowWidth
Dbookmark_bar_folder_controller.mm464 - (CGFloat)childFolderWindowLeftForWidth:(int)windowWidth {
478 if ((x + windowWidth +
491 windowWidth;
501 return NSMaxX([screen_ visibleFrame]) - windowWidth;
508 // their parent (if a sub-folder) so we need to know |windowWidth|.
509 - (NSPoint)windowTopLeftForWidth:(int)windowWidth height:(int)windowHeight {
532 CGFloat spillOff = (newWindowTopLeft.x + windowWidth) - NSMaxX(screenFrame);
550 newWindowTopLeft.x = [self childFolderWindowLeftForWidth:windowWidth];
775 CGFloat windowWidth = [self adjustButtonWidths] + padding_;
776 NSPoint newWindowTopLeft = [self windowTopLeftForWidth:windowWidth
[all …]
/external/chromium_org/third_party/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc1046 int windowWidth = 0; // Parent window width in ScreenUpdateProcess() local
1068 windowWidth = globalBounds.right - globalBounds.left; in ScreenUpdateProcess()
1078 _lastWindowWidth = windowWidth; in ScreenUpdateProcess()
1092 windowWidth != _lastWindowWidth) in ScreenUpdateProcess()
1132 _lastWindowWidth = windowWidth; in ScreenUpdateProcess()
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
Dtimeline_explorer.js149 var windowWidth = document.documentElement.clientWidth;
153 var graphWidth = windowWidth - 20 - inspectorNode.offsetWidth;
/external/chromium_org/chrome/browser/ui/cocoa/
Dstatus_bubble_mac_unittest.mm656 int windowWidth = NSWidth([window frame]);
657 for (int x = 0; x < windowWidth; x += smallValue) {
662 for (int x = windowWidth; x >= 0; x -= smallValue) {
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp857 int windowWidth = 100; in TEST_F() local
869 webViewHelper.webView()->resize(WebSize(windowWidth, windowHeight)); in TEST_F()