Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_win.cc141 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds); in Init() local
142 message_handler_->Init(parent_hwnd, pixel_bounds); in Init()
214 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(restored_bounds); in ShowMaximizedWithBounds() local
215 message_handler_->ShowMaximizedWithBounds(pixel_bounds); in ShowMaximizedWithBounds()
256 gfx::Rect pixel_bounds = message_handler_->GetWindowBoundsInScreen(); in GetWindowBoundsInScreen() local
257 InsetBottomRight(&pixel_bounds, window_enlargement_); in GetWindowBoundsInScreen()
258 return gfx::win::ScreenToDIPRect(pixel_bounds); in GetWindowBoundsInScreen()
262 gfx::Rect pixel_bounds = message_handler_->GetClientAreaBoundsInScreen(); in GetClientAreaBoundsInScreen() local
263 InsetBottomRight(&pixel_bounds, window_enlargement_); in GetClientAreaBoundsInScreen()
264 return gfx::win::ScreenToDIPRect(pixel_bounds); in GetClientAreaBoundsInScreen()
[all …]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dscreen_capturer_mac_unittest.cc58 EXPECT_TRUE(!it.IsAtEnd() && it.rect().equals(config.pixel_bounds)); in CaptureDoneCallback1()
67 int width = config.pixel_bounds.width(); in CaptureDoneCallback2()
68 int height = config.pixel_bounds.height(); in CaptureDoneCallback2()
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 …]
Dmouse_cursor_monitor_mac.mm209 if (!config->pixel_bounds.Contains(position))
/external/chromium_org/remoting/host/
Dinput_injector_mac.cc252 webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
253 desktop_config.pixel_bounds.top())); in InjectMouseEvent()
257 std::max(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
258 std::min(desktop_config.pixel_bounds.right(), mouse_pos_.x())), in InjectMouseEvent()
259 std::max(desktop_config.pixel_bounds.top(), in InjectMouseEvent()
260 std::min(desktop_config.pixel_bounds.bottom(), mouse_pos_.y()))); in InjectMouseEvent()
Dsingle_window_input_injector_mac.cc90 webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
91 desktop_config.pixel_bounds.top())); in InjectMouseEvent()
/external/chromium_org/ui/gfx/win/
Ddpi.cc195 Rect ScreenToDIPRect(const Rect& pixel_bounds) { in ScreenToDIPRect() argument
201 return Rect(ScreenToDIPPoint(pixel_bounds.origin()), in ScreenToDIPRect()
202 ScreenToDIPSize(pixel_bounds.size())); in ScreenToDIPRect()
Ddpi.h52 GFX_EXPORT Rect ScreenToDIPRect(const Rect& pixel_bounds);