Searched refs:display_bounds (Results 1 – 6 of 6) sorted by relevance
166 gfx::Rect display_bounds = GetBoundsForTooltip(location); in GetMaxWidth() local167 return (display_bounds.width() + 1) / 2; in GetMaxWidth()194 gfx::Rect display_bounds = GetBoundsForTooltip(mouse_pos); in SetTooltipBounds() local198 if (tooltip_rect.right() > display_bounds.right()) { in SetTooltipBounds()199 int h_offset = tooltip_rect.right() - display_bounds.right(); in SetTooltipBounds()205 if (tooltip_rect.bottom() > display_bounds.bottom()) in SetTooltipBounds()208 tooltip_rect.AdjustToFit(display_bounds); in SetTooltipBounds()
175 const gfx::Rect display_bounds = display.bounds();176 if (work_area.bottom() != display_bounds.bottom())179 if (work_area.x() != display_bounds.x())182 if (work_area.right() != display_bounds.right())198 const gfx::Rect display_bounds = display.bounds();202 if (work_area.x() - display_bounds.x() <= kAutohideDockThreshold)206 if (display_bounds.right() - work_area.right() <= kAutohideDockThreshold)210 if (display_bounds.bottom() - work_area.bottom() <=
145 gfx::Rect display_bounds( in OnDisplayModeChanged() local168 displays.back().SetBounds(display_bounds); in OnDisplayModeChanged()
107 gfx::Rect display_bounds = display.bounds(); in PanelInScreen() local108 EXPECT_TRUE(screen_bottom_right.x() < display_bounds.width() && in PanelInScreen()109 screen_bottom_right.y() < display_bounds.height()); in PanelInScreen()
1019 gfx::Rect display_bounds(ScreenAsh::GetDisplayBoundsInParent(window())); in GetSnapType() local1021 if (area.x() == display_bounds.x()) in GetSnapType()1024 if (area.right() == display_bounds.right()) in GetSnapType()
1028 gfx::Rect display_bounds( in TEST_F() local1075 gfx::Rect display_bounds( in TEST_F() local1078 gfx::Point off_shelf = display_bounds.CenterPoint(); in TEST_F()1149 gfx::Rect display_bounds( in TEST_F() local1155 gfx::Point off_shelf = display_bounds.CenterPoint(); in TEST_F()