Searched refs:pixel_bounds (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/remoting/host/ |
D | input_injector_mac.cc | 191 mouse_pos_.add(webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent() 192 desktop_config.pixel_bounds.top())); in InjectMouseEvent() 196 std::max(desktop_config.pixel_bounds.left(), in InjectMouseEvent() 197 std::min(desktop_config.pixel_bounds.right(), mouse_pos_.x())), in InjectMouseEvent() 198 std::max(desktop_config.pixel_bounds.top(), in InjectMouseEvent() 199 std::min(desktop_config.pixel_bounds.bottom(), mouse_pos_.y()))); in InjectMouseEvent()
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
D | desktop_root_window_host_win.cc | 150 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds); in Init() local 151 message_handler_->Init(parent_hwnd, pixel_bounds); in Init() 218 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(restored_bounds); in ShowMaximizedWithBounds() local 219 message_handler_->ShowMaximizedWithBounds(pixel_bounds); in ShowMaximizedWithBounds() 260 gfx::Rect pixel_bounds = message_handler_->GetWindowBoundsInScreen(); in GetWindowBoundsInScreen() local 261 InsetBottomRight(&pixel_bounds, window_enlargement_); in GetWindowBoundsInScreen() 262 return gfx::win::ScreenToDIPRect(pixel_bounds); in GetWindowBoundsInScreen() 266 gfx::Rect pixel_bounds = message_handler_->GetClientAreaBoundsInScreen(); in GetClientAreaBoundsInScreen() local 267 InsetBottomRight(&pixel_bounds, window_enlargement_); in GetClientAreaBoundsInScreen() 268 return gfx::win::ScreenToDIPRect(pixel_bounds); in GetClientAreaBoundsInScreen() [all …]
|
/external/chromium_org/ui/gfx/win/ |
D | dpi.cc | 141 Rect ScreenToDIPRect(const Rect& pixel_bounds) { in ScreenToDIPRect() argument 144 ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor())); in ScreenToDIPRect()
|
D | dpi.h | 50 GFX_EXPORT Rect ScreenToDIPRect(const Rect& pixel_bounds);
|
/external/chromium_org/ui/views/widget/ |
D | native_widget_win.cc | 120 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds); in InitNativeWidget() local 122 params_in_pixel.bounds = pixel_bounds; in InitNativeWidget() 124 message_handler_->Init(params.parent, pixel_bounds); in InitNativeWidget() 309 gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(restored_bounds); in ShowMaximizedWithBounds() local 310 message_handler_->ShowMaximizedWithBounds(pixel_bounds); in ShowMaximizedWithBounds()
|
/external/chromium_org/content/renderer/ |
D | render_widget.cc | 1603 gfx::Rect pixel_bounds = gfx::ToEnclosingRect( in DoDeferredUpdate() local 1608 pixel_bounds)); in DoDeferredUpdate() 1616 DCHECK_EQ(pixel_bounds.width(), canvas->getDevice()->width()); in DoDeferredUpdate() 1617 DCHECK_EQ(pixel_bounds.height(), canvas->getDevice()->height()); in DoDeferredUpdate() 1618 pixel_bounds.set_width(canvas->getDevice()->width()); in DoDeferredUpdate() 1619 pixel_bounds.set_height(canvas->getDevice()->height()); in DoDeferredUpdate() 1620 bounds.set_width(pixel_bounds.width() / device_scale_factor_); in DoDeferredUpdate() 1621 bounds.set_height(pixel_bounds.height() / device_scale_factor_); in DoDeferredUpdate() 1640 PaintRect(rect, pixel_bounds.origin(), canvas.get()); in DoDeferredUpdate()
|