/external/chromium_org/third_party/WebKit/Source/web/resources/ |
pickerCommon.js | 112 var windowRect = new Rectangle(0, 0, width, height); 115 return windowRect; 120 _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight); 121 _adjustWindowRectHorizontally(windowRect, availRect, anchorRect, minWidth); 123 return windowRect; 126 function _adjustWindowRectVertically(windowRect, availRect, anchorRect, minHeight) { 133 if (windowRect.height > availableSpaceBelow && availableSpaceBelow < availableSpaceAbove) { 134 windowRect.height = Math.min(windowRect.height, availableSpaceAbove); 135 windowRect.height = Math.max(windowRect.height, minHeight) [all...] |
suggestionPicker.js | 162 var windowRect = adjustWindowRect(desiredWindowWidth, desiredWindowHeight, desiredWindowWidth, 0); 163 this._containerElement.style.height = (windowRect.height - ListBorder) + "px"; 164 setWindowRect(windowRect);
|
/external/chromium_org/third_party/angle/tests/angle_tests/win32/ |
ANGLETest_win32.cpp | 103 RECT windowRect; 104 if (!GetWindowRect(mNativeWindow, &windowRect)) 109 if (!MoveWindow(mNativeWindow, windowRect.left, windowRect.top, width, height, FALSE))
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
CreateWindow.cpp | 95 FloatRect windowRect = host->chrome().windowRect(); 99 windowRect.setX(features.x); 101 windowRect.setY(features.y); 103 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width())); 105 windowRect.setHeight(features.height + (windowRect.height() - viewportSize.height())); 108 FloatRect newWindowRect = LocalDOMWindow::adjustWindowRect(frame, windowRect);
|
Chrome.h | 78 FloatRect windowRect() const;
|
ChromeClient.h | 87 virtual FloatRect windowRect() = 0;
|
Chrome.cpp | 102 FloatRect Chrome::windowRect() const 104 return m_client->windowRect();
|
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/ |
APPRTCAppDelegate.m | 51 NSRect windowRect = NSMakeRect(NSMidX(visibleRect), 56 _window = [[NSWindow alloc] initWithContentRect:windowRect
|
/external/chromium_org/third_party/skia/src/utils/win/ |
SkWGL_win.cpp | 149 RECT windowRect; 150 windowRect.left = 0; 151 windowRect.right = 8; 152 windowRect.top = 0; 153 windowRect.bottom = 8; 176 AdjustWindowRectEx(&windowRect, style, false, exStyle); 182 windowRect.right-windowRect.left, 183 windowRect.bottom-windowRect.top [all...] |
/external/skia/src/utils/win/ |
SkWGL_win.cpp | 149 RECT windowRect; 150 windowRect.left = 0; 151 windowRect.right = 8; 152 windowRect.top = 0; 153 windowRect.bottom = 8; 176 AdjustWindowRectEx(&windowRect, style, false, exStyle); 182 windowRect.right-windowRect.left, 183 windowRect.bottom-windowRect.top [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
WebWidgetClient.h | 127 virtual WebRect windowRect() { return WebRect(); }
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Widget.cpp | 103 IntRect Widget::convertFromContainingWindow(const IntRect& windowRect) const 106 IntRect parentRect = parentWidget->convertFromContainingWindow(windowRect); 109 return windowRect;
|
/external/chromium_org/third_party/angle/src/libEGL/ |
Surface.cpp | 104 RECT windowRect; 105 if (!GetClientRect(getWindowHandle(), &windowRect)) 113 width = windowRect.right - windowRect.left; 114 height = windowRect.bottom - windowRect.top;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
PopupContainerTest.cpp | 81 const FloatRect windowRect(0, 0, 512, 512); 84 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, verticalOffset, transformOffset, content, needToResizeView); 87 static IntRect calculatePosition(const IntRect& initialRect, PopupContent* content, FloatRect windowRect = FloatRect(0, 0, 512, 512), bool isRTL = true) 93 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, 0, IntSize(), content, needToResizeView);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PopupContainer.h | 112 static WebCore::IntRect layoutAndCalculateWidgetRectInternal(WebCore::IntRect widgetRectInScreen, int targetControlHeight, const WebCore::FloatRect& windowRect, const WebCore::FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const WebCore::IntSize& transformOffset, PopupContent*, bool& needToResizeView);
|
ChromeClientImpl.cpp | 152 FloatRect ChromeClientImpl::windowRect() 172 return windowRect(); 516 WebRect windowRect = m_webView->client()->windowRect(); 517 screenRect.move(windowRect.x, windowRect.y);
|
PopupContainer.cpp | 107 IntRect PopupContainer::layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent* listBox, bool& needToResizeView) 110 if (windowRect.x() >= screen.x() && windowRect.maxX() <= screen.maxX() && (widgetRectInScreen.x() < screen.x() || widgetRectInScreen.maxX() > screen.maxX())) { 204 FloatRect windowRect = chromeClient().windowRect(); 207 widgetRectInScreen = layoutAndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, rtlOffset, verticalOffset, transformOffset, m_listBox.get(), needToResizeView);
|
WebPluginContainerImpl.cpp | 136 IntRect windowRect = view->contentsToWindow(damageRect); 137 m_webPlugin->paint(canvas, windowRect); 411 IntRect windowRect, clipRect; 413 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); 415 m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible()); 880 IntRect& windowRect, 884 windowRect = toScrollView(parent())->contentsToWindow(frameRect); 888 clipRect.move(-windowRect.x(), -windowRect.y());
|
WebPluginContainerImpl.h | 181 WebCore::IntRect& windowRect,
|
ChromeClientImpl.h | 80 virtual WebCore::FloatRect windowRect() OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
LocalDOMWindow.cpp | 270 FloatRect window = host->chrome().windowRect(); [all...] |
/external/chromium_org/ui/gl/ |
gl_surface_egl.cc | 248 RECT windowRect; 249 if (GetClientRect(window_, &windowRect)) 250 size_ = gfx::Rect(windowRect).size();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
SystemServicesProxy.java | 485 Rect windowRect = new Rect(); 486 if (mWm == null) return windowRect; 490 windowRect.set(0, 0, p.x, p.y); 491 return windowRect;
|
/external/chromium_org/content/renderer/ |
render_widget.h | 153 virtual blink::WebRect windowRect(); 461 // size. If JS code sets the WindowRect, and then immediately calls
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
EmptyClients.h | 75 virtual FloatRect windowRect() OVERRIDE { return FloatRect(); }
|