Searched refs:button_spacing (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/app_list/views/
H A Dpage_switcher.cc197 int button_spacing = kMinButtonSpacing; local
199 button_spacing = (contents_width - button_width * button_count) /
201 button_spacing = std::min(kMaxButtonSpacing,
202 std::max(kMinButtonSpacing, button_spacing));
205 button_width = (contents_width - (button_count - 1) * button_spacing) /
211 views::BoxLayout::kHorizontal, kButtonStripPadding, 0, button_spacing));
/external/chromium_org/ash/shelf/
H A Dshelf_view.cc718 int button_spacing = kShelfButtonSpacing; local
730 x = layout_manager_->PrimaryAxisValue(x + w + button_spacing, x);
731 y = layout_manager_->PrimaryAxisValue(y, y + h + button_spacing);
741 int end_position = available_size - button_spacing;
746 x = layout_manager_->PrimaryAxisValue(x - w - button_spacing, x);
747 y = layout_manager_->PrimaryAxisValue(y, y - h - button_spacing);
808 x = layout_manager_->PrimaryAxisValue(x + button_spacing, x);
809 y = layout_manager_->PrimaryAxisValue(y, y + button_spacing);

Completed in 275 milliseconds