Home
last modified time | relevance | path

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

/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc49 const int DockedWindowLayoutManager::kMinDockGap = 2; member in ash::internal::DockedWindowLayoutManager
545 if (GetWindowHeightCloseTo(window, work_area.height() - 2 * kMinDockGap) > in CanDockWindow()
546 work_area.height() - 2 * kMinDockGap) { in CanDockWindow()
813 int available_room = work_area.height() - kMinDockGap; in MaybeMinimizeChildrenExcept()
815 available_room -= (GetWindowHeightCloseTo(child, 0) + kMinDockGap); in MaybeMinimizeChildrenExcept()
823 int room_needed = GetWindowHeightCloseTo(window, 0) + kMinDockGap; in MaybeMinimizeChildrenExcept()
1003 int available_room = work_area.height() - kMinDockGap; in CalculateWindowHeightsAndRemainingRoom()
1018 iter->window(), available_room / remaining_windows - kMinDockGap); in CalculateWindowHeightsAndRemainingRoom()
1019 available_room -= (iter->height_ + kMinDockGap); in CalculateWindowHeightsAndRemainingRoom()
1062 const float delta = kMinDockGap + (float)available_room / in FanOutChildren()
[all …]
Ddocked_window_layout_manager.h183 static const int kMinDockGap; variable
Ddocked_window_layout_manager_unittest.cc67 int min_dock_gap() const { return DockedWindowLayoutManager::kMinDockGap; } in min_dock_gap()
Ddocked_window_resizer_unittest.cc68 int min_dock_gap() const { return DockedWindowLayoutManager::kMinDockGap; } in min_dock_gap()