Searched refs:visible_area (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ash/wm/
H A Dwindow_util.cc109 void AdjustBoundsToEnsureMinimumWindowVisibility(const gfx::Rect& visible_area, argument
112 visible_area, kMinimumOnScreenArea, kMinimumOnScreenArea, bounds);
115 void AdjustBoundsToEnsureWindowVisibility(const gfx::Rect& visible_area, argument
119 AdjustBoundsSmallerThan(visible_area.size(), bounds);
121 min_width = std::min(min_width, visible_area.width());
122 min_height = std::min(min_height, visible_area.height());
124 if (bounds->right() < visible_area.x() + min_width) {
125 bounds->set_x(visible_area.x() + min_width - bounds->width());
126 } else if (bounds->x() > visible_area.right() - min_width) {
127 bounds->set_x(visible_area
[all...]
H A Dwindow_util.h66 // Move the given bounds inside the given |visible_area| in parent coordinates,
70 const gfx::Rect& visible_area,
73 // Move the given bounds inside the given |visible_area| in parent coordinates,
77 const gfx::Rect& visible_area,

Completed in 647 milliseconds