Home
last modified time | relevance | path

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

/external/chromium_org/ash/wm/
Dwindow_util.cc43 int ideal_width = in GetDefaultSnappedWindowWidth() local
45 return std::min(work_area_width, std::max(ideal_width, min_width)); in GetDefaultSnappedWindowWidth()
/external/chromium_org/ash/wm/dock/
Ddocked_window_resizer_unittest.cc66 int ideal_width() const { return DockedWindowLayoutManager::kIdealWidth; } in ideal_width() function in ash::DockedWindowResizerTest
406 gfx::Rect(0, 0, ideal_width() + 10, 201))); in TEST_P()
413 EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); in TEST_P()
452 gfx::Rect(0, 0, ideal_width() + 10, 201))); in TEST_P()
459 EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); in TEST_P()
465 window.get(), ideal_width() - 10, 0)); in TEST_P()
479 window.get(), ideal_width() - 10, 0)); in TEST_P()
1185 EXPECT_EQ(ideal_width(), docked_width(manager)); in TEST_P()
1243 EXPECT_EQ(ideal_width(), w1->bounds().width()); in TEST_P()
1330 EXPECT_EQ(ideal_width(), docked_width(manager)); in TEST_P()
[all …]
Ddocked_window_layout_manager_unittest.cc65 int ideal_width() const { return DockedWindowLayoutManager::kIdealWidth; } in ideal_width() function in ash::DockedWindowLayoutManagerTest
236 EXPECT_EQ(ideal_width(), window->bounds().width()); in TEST_P()
598 EXPECT_EQ(ideal_width(), w1->bounds().width()); in TEST_P()
602 EXPECT_EQ(ideal_width(), w2->bounds().width()); in TEST_P()
632 EXPECT_EQ(ideal_width(), w1->bounds().width()); in TEST_P()
828 EXPECT_EQ(ideal_width(), window->bounds().width()); in TEST_P()
Ddocked_window_layout_manager.cc1138 int ideal_width = std::max(largest_min_width, in CalculateIdealWidth() local
1141 ideal_width = std::max(std::min(ideal_width, kMaxDockWidth), kMinDockWidth); in CalculateIdealWidth()
1142 return ideal_width; in CalculateIdealWidth()