Home
last modified time | relevance | path

Searched refs:kMinimumOnScreenArea (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ash/wm/
Dwindow_resizer.cc216 new_bounds.right() < work_area.x() + kMinimumOnScreenArea) { in CalculateBoundsForDrag()
217 int delta = work_area.x() + kMinimumOnScreenArea - new_bounds.right(); in CalculateBoundsForDrag()
219 } else if (new_bounds.x() > work_area.right() - kMinimumOnScreenArea) { in CalculateBoundsForDrag()
221 kMinimumOnScreenArea; in CalculateBoundsForDrag()
222 new_bounds.set_x(work_area.right() - kMinimumOnScreenArea); in CalculateBoundsForDrag()
228 new_bounds.y() > work_area.bottom() - kMinimumOnScreenArea) { in CalculateBoundsForDrag()
230 kMinimumOnScreenArea; in CalculateBoundsForDrag()
231 new_bounds.set_y(work_area.bottom() - kMinimumOnScreenArea); in CalculateBoundsForDrag()
282 screen_work_area.Inset(kMinimumOnScreenArea, 0); in CalculateBoundsForDrag()
Dwindow_util.cc84 visible_area, kMinimumOnScreenArea, kMinimumOnScreenArea, bounds); in AdjustBoundsToEnsureMinimumWindowVisibility()
Dwindow_util.h26 const int kMinimumOnScreenArea = 10; variable
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc877 base::IntToString(kMinimumOnScreenArea - window_x) + in TEST_F()
894 EXPECT_EQ(base::IntToString(right - kMinimumOnScreenArea) + in TEST_F()
897 kMinimumOnScreenArea) + in TEST_F()
914 base::IntToString(bottom - kMinimumOnScreenArea) + in TEST_F()
917 kMinimumOnScreenArea)), in TEST_F()
938 EXPECT_EQ(base::IntToString(right - kMinimumOnScreenArea) + in TEST_F()