Searched refs:pixel_bounds (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
D | desktop_configuration.mm | 78 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 …]
|
D | desktop_configuration.h | 34 DesktopRect pixel_bounds; member 67 DesktopRect pixel_bounds; member
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
D | desktop_window_tree_host_win.cc | 141 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/ |
D | screen_capturer_mac_unittest.cc | 58 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()
|
D | screen_capturer_mac.mm | 167 // |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 …]
|
D | mouse_cursor_monitor_mac.mm | 209 if (!config->pixel_bounds.Contains(position))
|
/external/chromium_org/remoting/host/ |
D | input_injector_mac.cc | 252 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()
|
D | single_window_input_injector_mac.cc | 90 webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent() 91 desktop_config.pixel_bounds.top())); in InjectMouseEvent()
|
/external/chromium_org/ui/gfx/win/ |
D | dpi.cc | 195 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()
|
D | dpi.h | 52 GFX_EXPORT Rect ScreenToDIPRect(const Rect& pixel_bounds);
|