Searched refs:display_bounds (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/app_list/linux/
H A Dapp_list_linux.cc23 const gfx::Rect display_bounds = display.bounds(); local
29 if (work_area.y() - display_bounds.y() > winning_margin) {
30 winning_margin = work_area.y() - display_bounds.y();
34 if (work_area.x() - display_bounds.x() > winning_margin) {
35 winning_margin = work_area.x() - display_bounds.x();
39 if (display_bounds.right() - work_area.right() > winning_margin) {
40 winning_margin = display_bounds.right() - work_area.right();
44 if (display_bounds.bottom() - work_area.bottom() > winning_margin) {
45 winning_margin = display_bounds.bottom() - work_area.bottom();
/external/chromium_org/ui/views/corewm/
H A Dtooltip_aura.cc148 gfx::Rect display_bounds(screen->GetDisplayNearestPoint(location).bounds());
149 return (display_bounds.width() + 1) / 2;
157 gfx::Rect display_bounds(screen->GetDisplayNearestPoint(mouse_pos).bounds());
161 if (tooltip_rect.right() > display_bounds.right()) {
162 int h_offset = tooltip_rect.right() - display_bounds.right();
168 if (tooltip_rect.bottom() > display_bounds.bottom())
171 tooltip_rect.AdjustToFit(display_bounds);
/external/chromium_org/gpu/command_buffer/client/
H A Dcontext_support.h40 const gfx::Rect& display_bounds,
H A Dgles2_implementation.h231 const gfx::Rect& display_bounds,
H A Dgles2_implementation.cc2896 const gfx::Rect& display_bounds,
2901 display_bounds.x(),
2902 display_bounds.y(),
2903 display_bounds.width(),
2904 display_bounds.height(),
2892 ScheduleOverlayPlane( int plane_z_order, gfx::OverlayTransform plane_transform, unsigned overlay_texture_id, const gfx::Rect& display_bounds, const gfx::RectF& uv_rect) argument
/external/chromium_org/cc/test/
H A Dtest_context_support.cc89 const gfx::Rect& display_bounds,
95 display_bounds,
85 ScheduleOverlayPlane( int plane_z_order, gfx::OverlayTransform plane_transform, unsigned overlay_texture_id, const gfx::Rect& display_bounds, const gfx::RectF& uv_rect) argument
H A Dtest_context_support.h35 const gfx::Rect& display_bounds,
47 const gfx::Rect& display_bounds,
/external/chromium_org/ui/ozone/platform/dri/
H A Dhardware_display_controller.h35 const gfx::Rect& display_bounds,
43 gfx::Rect display_bounds; member in struct:ui::OverlayPlane
H A Dgbm_surface_factory.h47 const gfx::Rect& display_bounds,
H A Dhardware_display_controller.cc62 display_bounds(gfx::Point(), buffer->GetSize()),
69 const gfx::Rect& display_bounds,
74 display_bounds(display_bounds),
322 plane.display_bounds,
66 OverlayPlane(scoped_refptr<ScanoutBuffer> buffer, int z_order, gfx::OverlayTransform plane_transform, const gfx::Rect& display_bounds, const gfx::RectF& crop_rect) argument
H A Dgbm_surface_factory.cc195 const gfx::Rect& display_bounds,
210 display_bounds,
190 ScheduleOverlayPlane( gfx::AcceleratedWidget widget, int plane_z_order, gfx::OverlayTransform plane_transform, scoped_refptr<NativePixmap> buffer, const gfx::Rect& display_bounds, const gfx::RectF& crop_rect) argument
/external/chromium_org/ui/ozone/public/
H A Dsurface_factory_ozone.cc78 const gfx::Rect& display_bounds,
73 ScheduleOverlayPlane( gfx::AcceleratedWidget widget, int plane_z_order, gfx::OverlayTransform plane_transform, scoped_refptr<NativePixmap> buffer, const gfx::Rect& display_bounds, const gfx::RectF& crop_rect) argument
H A Dsurface_factory_ozone.h136 // |display_bounds| specify where it is supposed to be on the screen.
138 // inside |display_bounds|. This is specified in texture coordinates, in the
144 const gfx::Rect& display_bounds,
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dscreen_capturer_mac.mm684 DesktopRect display_bounds = display_config.pixel_bounds;
685 display_bounds.Translate(-desktop_config_.pixel_bounds.left(),
690 copy_region.IntersectWith(display_bounds);
695 copy_region.Translate(-display_bounds.left(), -display_bounds.top());
699 (display_bounds.left() * src_bytes_per_pixel) +
700 (display_bounds.top() * frame.stride());
756 DesktopRect display_bounds = display_config.pixel_bounds;
757 display_bounds.Translate(-screen_pixel_bounds_.left(),
762 copy_region.IntersectWith(display_bounds);
[all...]
/external/chromium_org/ash/display/
H A Ddisplay_change_observer_chromeos.cc215 gfx::Rect display_bounds(state.display->origin(), mode_info->size());
231 new_info.SetBounds(display_bounds);
/external/chromium_org/athena/wm/
H A Dsplit_view_controller.cc527 const gfx::Rect& display_bounds = local
531 delta > 0 ? display_bounds.x() - container_bounds.x()
532 : display_bounds.right() - container_bounds.x();
/external/chromium_org/ui/message_center/views/
H A Dmessage_popup_collection_unittest.cc72 const gfx::Rect& display_bounds) {
74 dummy_display.set_bounds(display_bounds);
71 SetDisplayInfo(const gfx::Rect& work_area, const gfx::Rect& display_bounds) argument
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer_ash_unittest.cc923 gfx::Rect display_bounds = ash::Shell::GetInstance()->GetScreen()-> local
925 gfx::Rect specified_bounds = display_bounds;
935 EXPECT_NE(display_bounds.ToString(), bounds.ToString());
936 EXPECT_TRUE(display_bounds.Contains(bounds));
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_window_resizer.cc1016 gfx::Rect display_bounds(ScreenUtil::GetDisplayBoundsInParent(GetTarget()));
1018 if (area.x() == display_bounds.x())
1021 if (area.right() == display_bounds.right())
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager_unittest.cc106 gfx::Rect display_bounds = display.bounds(); local
107 EXPECT_TRUE(screen_bottom_right.x() < display_bounds.width() &&
108 screen_bottom_right.y() < display_bounds.height());
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager_unittest.cc1056 gfx::Rect display_bounds(
1110 gfx::Rect display_bounds(
1113 gfx::Point off_shelf = display_bounds.CenterPoint();
1184 gfx::Rect display_bounds(
1190 gfx::Point off_shelf = display_bounds.CenterPoint();
/external/chromium_org/cc/output/
H A Doverlay_unittest.cc564 const gfx::Rect& display_bounds,

Completed in 859 milliseconds