Searched refs:kMinimumOnScreenArea (Results 1 – 4 of 4) sorted by relevance
216 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()
84 visible_area, kMinimumOnScreenArea, kMinimumOnScreenArea, bounds); in AdjustBoundsToEnsureMinimumWindowVisibility()
26 const int kMinimumOnScreenArea = 10; variable
877 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()