Home
last modified time | relevance | path

Searched refs:monitor_rect (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ash/shelf/
Doverflow_bubble_view.cc114 const gfx::Rect monitor_rect = Shell::GetScreen()->GetDisplayNearestPoint( in GetPreferredSize() local
116 if (!monitor_rect.IsEmpty()) { in GetPreferredSize()
120 static_cast<int>(monitor_rect.width() * in GetPreferredSize()
125 static_cast<int>(monitor_rect.height() * in GetPreferredSize()
197 gfx::Rect monitor_rect = Shell::GetScreen()->GetDisplayNearestPoint( in GetBubbleBounds() local
202 if (bubble_rect.x() < monitor_rect.x()) in GetBubbleBounds()
203 offset = monitor_rect.x() - bubble_rect.x(); in GetBubbleBounds()
204 else if (bubble_rect.right() > monitor_rect.right()) in GetBubbleBounds()
205 offset = monitor_rect.right() - bubble_rect.right(); in GetBubbleBounds()
210 if (bubble_rect.y() < monitor_rect.y()) in GetBubbleBounds()
[all …]
/external/chromium_org/ui/gfx/win/
Dhwnd_util.cc29 Rect monitor_rect(mi.rcWork); in AdjustWindowToFit() local
31 new_window_rect.AdjustToFit(monitor_rect); in AdjustWindowToFit()
/external/chromium_org/ui/views/win/
Dhwnd_message_handler.cc174 gfx::Rect* monitor_rect, in GetMonitorAndRects() argument
177 DCHECK(monitor_rect); in GetMonitorAndRects()
185 *monitor_rect = gfx::Rect(monitor_info.rcMonitor); in GetMonitorAndRects()
2225 gfx::Rect monitor_rect, work_area; in OnWindowPosChanging() local
2227 GetMonitorAndRects(window_rect, &monitor, &monitor_rect, &work_area)) { in OnWindowPosChanging()
2228 bool work_area_changed = (monitor_rect == last_monitor_rect_) && in OnWindowPosChanging()
2244 new_window_rect = monitor_rect; in OnWindowPosChanging()
2272 last_monitor_rect_ = monitor_rect; in OnWindowPosChanging()
/external/chromium_org/chrome/browser/ui/views/
Dstatus_bubble_views.cc786 gfx::Rect monitor_rect = gfx::Screen::GetScreenFor(window)-> in AvoidMouse() local
790 if (bubble_bottom_y + offset > monitor_rect.height() || in AvoidMouse()