/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_win.cc | 17 MONITORINFO monitor_info = { 0 }; local 18 monitor_info.cbSize = sizeof(monitor_info); 19 GetMonitorInfo(monitor, &monitor_info); 20 return monitor_info; 23 gfx::Display GetDisplay(MONITORINFO& monitor_info) { 25 gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); 26 display.set_work_area(gfx::Rect(monitor_info.rcWork));
|
desktop_root_window_host_win.cc | 264 MONITORINFO monitor_info; local 265 monitor_info.cbSize = sizeof(monitor_info); 268 &monitor_info); 269 gfx::Rect pixel_bounds = gfx::Rect(monitor_info.rcWork);
|
/external/chromium_org/ui/gfx/ |
screen_win.cc | 16 MONITORINFO monitor_info = { 0 }; local 17 monitor_info.cbSize = sizeof(monitor_info); 18 GetMonitorInfo(monitor, &monitor_info); 19 return monitor_info; 22 gfx::Display GetDisplay(MONITORINFO& monitor_info) { 24 gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor); 26 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 70 MONITORINFO monitor_info; local 71 monitor_info.cbSize = sizeof(monitor_info) 73 &monitor_info); local 89 MONITORINFO monitor_info = GetMonitorInfoForMonitor(MonitorFromRect( local [all...] |
/external/chromium/chrome/browser/ui/ |
window_sizer_win.cc | 35 MONITORINFO monitor_info = GetMonitorInfoForMonitor(MonitorFromRect( local 37 return gfx::Rect(monitor_info.rcWork); 43 MONITORINFO monitor_info = GetMonitorInfoForMonitor(MonitorFromRect( local 45 return gfx::Point(monitor_info.rcWork.left - monitor_info.rcMonitor.left, 46 monitor_info.rcWork.top - monitor_info.rcMonitor.top); 69 MONITORINFO monitor_info = { 0 }; local 70 monitor_info.cbSize = sizeof(monitor_info); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32windowpicker.cc | 76 MONITORINFO monitor_info = {0}; local 77 monitor_info.cbSize = sizeof(monitor_info); 78 bool primary = (GetMonitorInfo(h_monitor, &monitor_info) && 79 (monitor_info.dwFlags & MONITORINFOF_PRIMARY) != 0); 119 MONITORINFOEX monitor_info; local 120 monitor_info.cbSize = sizeof(MONITORINFOEX); 121 if (!GetMonitorInfo(id.id(), &monitor_info)) { 124 *width = monitor_info.rcMonitor.right - monitor_info.rcMonitor.left [all...] |
/external/chromium/chrome/browser/ |
fullscreen_win.cc | 62 MONITORINFO monitor_info = { sizeof(monitor_info) }; 63 if (!::GetMonitorInfo(monitor, &monitor_info)) 67 if (!(monitor_info.dwFlags & MONITORINFOF_PRIMARY)) 71 if (!::IntersectRect(&wnd_rect, &wnd_rect, &monitor_info.rcMonitor)) 73 if (!::EqualRect(&wnd_rect, &monitor_info.rcMonitor))
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
display_info_provider_win.cc | 31 MONITORINFOEX monitor_info; local 32 ZeroMemory(&monitor_info, sizeof(MONITORINFOEX)); 33 monitor_info.cbSize = sizeof(monitor_info); 34 GetMonitorInfo(monitor, &monitor_info); 38 if (!EnumDisplayDevices(monitor_info.szDevice, 0, &device, 0)) 41 gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); 42 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 47 unit->is_primary = monitor_info.dwFlags & MONITORINFOF_PRIMARY ? true : false;
|
/external/chromium_org/chrome/browser/ |
fullscreen_win.cc | 63 MONITORINFO monitor_info = { sizeof(monitor_info) }; 64 if (!::GetMonitorInfo(monitor, &monitor_info)) 68 if (!(monitor_info.dwFlags & MONITORINFOF_PRIMARY)) 72 if (!::IntersectRect(&wnd_rect, &wnd_rect, &monitor_info.rcMonitor)) 74 if (!::EqualRect(&wnd_rect, &monitor_info.rcMonitor))
|
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
port_monitor_dll.cc | 80 MONITOR_INFO_2 monitor_info = {0}; local 84 monitor_info.pDLLName = const_cast<LPWSTR>(dll_path.value().c_str()); 85 monitor_info.pName = const_cast<LPWSTR>(dll_path.value().c_str()); 86 if (AddMonitor(NULL, 2, reinterpret_cast<BYTE*>(&monitor_info))) {
|
/external/chromium_org/ui/views/win/ |
fullscreen_handler.cc | 76 MONITORINFO monitor_info; local 77 monitor_info.cbSize = sizeof(monitor_info); 79 &monitor_info); local 80 gfx::Rect window_rect(monitor_info.rcMonitor);
|
hwnd_message_handler.cc | 181 MONITORINFO monitor_info = { 0 }; 182 monitor_info.cbSize = sizeof(monitor_info); 183 GetMonitorInfo(*monitor, &monitor_info); 184 *monitor_rect = gfx::Rect(monitor_info.rcMonitor); 185 *work_area = gfx::Rect(monitor_info.rcWork); [all...] |
/external/chromium_org/remoting/host/setup/win/ |
host_configurer_window.cc | 93 MONITORINFO monitor_info = {0}; local 94 monitor_info.cbSize = sizeof(monitor_info); 95 if (::GetMonitorInfo(monitor, &monitor_info)) { 96 area_rect = monitor_info.rcWork;
|
/external/chromium_org/remoting/host/ |
verify_config_window_win.cc | 85 MONITORINFO monitor_info = {0}; local 86 monitor_info.cbSize = sizeof(monitor_info); 87 if (::GetMonitorInfo(monitor, &monitor_info)) { 88 area_rect = monitor_info.rcWork;
|
disconnect_window_win.cc | 286 MONITORINFO monitor_info = {sizeof(monitor_info)}; local 288 if (GetMonitorInfo(monitor, &monitor_info) && 292 int top = monitor_info.rcWork.bottom - window_height; 293 int left = (monitor_info.rcWork.right + monitor_info.rcWork.left -
|
/external/chromium_org/ui/snapshot/ |
snapshot_win.cc | 23 MONITORINFO monitor_info = {}; local 24 monitor_info.cbSize = sizeof(monitor_info); 26 &monitor_info)) { 27 content_rect = monitor_info.rcMonitor;
|
/external/chromium_org/chrome/test/base/ |
ui_test_utils.cc | 490 MONITORINFO monitor_info = {}; local 491 monitor_info.cbSize = sizeof(monitor_info); 493 if (GetMonitorInfo(main_monitor, &monitor_info)) { 494 RECT& rect = monitor_info.rcMonitor;
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_win.cc | 313 MONITORINFOEX monitor_info; local 314 monitor_info.cbSize = sizeof(MONITORINFOEX); 315 if (!GetMonitorInfo(monitor, &monitor_info)) 321 EnumDisplaySettings(monitor_info.szDevice, ENUM_CURRENT_SETTINGS, &dev_mode); 328 screen_info.rect = gfx::Rect(monitor_info.rcMonitor); 329 screen_info.availableRect = gfx::Rect(monitor_info.rcWork); [all...] |
/art/runtime/ |
debugger.cc | 672 MonitorInfo monitor_info(o); 677 if (monitor_info.owner != NULL) { 678 expandBufAddObjectId(reply, gRegistry->Add(monitor_info.owner->GetPeer())); 682 expandBufAdd4BE(reply, monitor_info.entry_count); 683 expandBufAdd4BE(reply, monitor_info.waiters.size()); 684 for (size_t i = 0; i < monitor_info.waiters.size(); ++i) { 685 expandBufAddObjectId(reply, gRegistry->Add(monitor_info.waiters[i]->GetPeer())); [all...] |