Searched refs:pixel_bounds (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/
H A Ddesktop_configuration.mm78 display_config.pixel_bounds = NSRectToDesktopRect(ns_pixel_bounds);
80 display_config.pixel_bounds = display_config.bounds;
127 desktop_config.displays[0].pixel_bounds.left() * scaling_factor,
128 desktop_config.displays[0].pixel_bounds.top() * scaling_factor,
129 desktop_config.displays[0].pixel_bounds.right() * scaling_factor,
130 desktop_config.displays[0].pixel_bounds.bottom() * scaling_factor);
131 InvertRectYOrigin(primary_bounds, &display_config.pixel_bounds);
143 desktop_config.pixel_bounds =
144 JoinRects(desktop_config.pixel_bounds, display_config.pixel_bounds);
[all...]
H A Ddesktop_configuration.h34 DesktopRect pixel_bounds; member in struct:webrtc::MacDisplayConfiguration
67 DesktopRect pixel_bounds; member in struct:webrtc::MacDesktopConfiguration
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dscreen_capturer_mac_unittest.cc58 EXPECT_TRUE(!it.IsAtEnd() && it.rect().equals(config.pixel_bounds));
67 int width = config.pixel_bounds.width();
68 int height = config.pixel_bounds.height();
H A Dscreen_capturer_mac.mm167 // |pixel_bounds| should be in the primary display's coordinate in physical
169 CGImageRef CreateExcludedWindowRegionImage(const DesktopRect& pixel_bounds,
176 window_bounds.origin.x = pixel_bounds.left() / dip_to_pixel_scale;
177 window_bounds.origin.y = pixel_bounds.top() / dip_to_pixel_scale;
178 window_bounds.size.width = pixel_bounds.width();
179 window_bounds.size.height = pixel_bounds.height();
684 DesktopRect display_bounds = display_config.pixel_bounds;
685 display_bounds.Translate(-desktop_config_.pixel_bounds.left(),
686 -desktop_config_.pixel_bounds.top());
756 DesktopRect display_bounds = display_config.pixel_bounds;
[all...]
H A Dmouse_cursor_monitor_mac.mm209 if (!config->pixel_bounds.Contains(position))
/external/chromium_org/ui/gfx/win/
H A Ddpi.h52 GFX_EXPORT Rect ScreenToDIPRect(const Rect& pixel_bounds);
H A Ddpi.cc195 Rect ScreenToDIPRect(const Rect& pixel_bounds) { argument
201 return Rect(ScreenToDIPPoint(pixel_bounds.origin()),
202 ScreenToDIPSize(pixel_bounds.size()));
/external/chromium_org/remoting/host/
H A Dinput_injector_mac.cc252 webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
253 desktop_config.pixel_bounds.top()));
257 std::max(desktop_config.pixel_bounds.left(),
258 std::min(desktop_config.pixel_bounds.right(), mouse_pos_.x())),
259 std::max(desktop_config.pixel_bounds.top(),
260 std::min(desktop_config.pixel_bounds.bottom(), mouse_pos_.y())));
H A Dsingle_window_input_injector_mac.cc90 webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
91 desktop_config.pixel_bounds.top()));
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_win.cc141 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds); local
142 message_handler_->Init(parent_hwnd, pixel_bounds);
214 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(restored_bounds); local
215 message_handler_->ShowMaximizedWithBounds(pixel_bounds);
256 gfx::Rect pixel_bounds = message_handler_->GetWindowBoundsInScreen(); local
257 InsetBottomRight(&pixel_bounds, window_enlargement_);
258 return gfx::win::ScreenToDIPRect(pixel_bounds);
262 gfx::Rect pixel_bounds = message_handler_->GetClientAreaBoundsInScreen(); local
263 InsetBottomRight(&pixel_bounds, window_enlargement_);
264 return gfx::win::ScreenToDIPRect(pixel_bounds);
268 gfx::Rect pixel_bounds = message_handler_->GetRestoredBounds(); local
279 gfx::Rect pixel_bounds = gfx::Rect(monitor_info.rcWork); local
[all...]

Completed in 3009 milliseconds