/external/chromium_org/ash/wm/ |
window_util.cc | 43 int ideal_width = local 45 return std::min(work_area_width, std::max(ideal_width, min_width));
|
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer_unittest.cc | 66 int ideal_width() const { return DockedWindowLayoutManager::kIdealWidth; } function in class:ash::DockedWindowResizerTest 406 gfx::Rect(0, 0, ideal_width() + 10, 201))); 413 EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); 452 gfx::Rect(0, 0, ideal_width() + 10, 201))); 459 EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); 465 window.get(), ideal_width() - 10, 0)); 479 window.get(), ideal_width() - 10, 0)); [all...] |
docked_window_layout_manager_unittest.cc | 65 int ideal_width() const { return DockedWindowLayoutManager::kIdealWidth; } function in class:ash::DockedWindowLayoutManagerTest 236 EXPECT_EQ(ideal_width(), window->bounds().width()); 598 EXPECT_EQ(ideal_width(), w1->bounds().width()); 602 EXPECT_EQ(ideal_width(), w2->bounds().width()); 632 EXPECT_EQ(ideal_width(), w1->bounds().width()); [all...] |
docked_window_layout_manager.cc | 1138 int ideal_width = std::max(largest_min_width, local [all...] |