Home
last modified time | relevance | path

Searched refs:pixel_bounds (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/mac/
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);
157 left.pixel_bounds.equals(right.pixel_bounds) &&
[all …]
Ddesktop_configuration.h34 DesktopRect pixel_bounds; member
67 DesktopRect pixel_bounds; member
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_mac_unittest.cc56 EXPECT_TRUE(!it.IsAtEnd() && it.rect().equals(config.pixel_bounds)); in CaptureDoneCallback1()
65 int width = config.pixel_bounds.width(); in CaptureDoneCallback2()
66 int height = config.pixel_bounds.height(); in CaptureDoneCallback2()
Dscreen_capturer_mac.mm166 // |pixel_bounds| should be in the primary display's coordinate in physical
168 CGImageRef CreateExcludedWindowRegionImage(const DesktopRect& pixel_bounds,
175 window_bounds.origin.x = pixel_bounds.left() / dip_to_pixel_scale;
176 window_bounds.origin.y = pixel_bounds.top() / dip_to_pixel_scale;
177 window_bounds.size.width = pixel_bounds.width();
178 window_bounds.size.height = pixel_bounds.height();
609 DesktopRect display_bounds = display_config.pixel_bounds;
610 display_bounds.Translate(-desktop_config_.pixel_bounds.left(),
611 -desktop_config_.pixel_bounds.top());
681 DesktopRect display_bounds = display_config.pixel_bounds;
[all …]
Dmouse_cursor_monitor_mac.mm209 if (!config->pixel_bounds.Contains(position))