Searched refs:ideal_x (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dstacked_tab_strip_layout.cc43 mini_tab_to_non_mini_tab_ = x - ideal_x(mini_tab_count - 1);
44 first_tab_x_ = ideal_x(0);
46 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index())));
68 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index())));
77 int initial_x = ideal_x(active_index());
117 if (ideal_x(0) != first_tab_x_) {
120 int delta = ideal_x(0) - first_tab_x_;
124 mini_bounds.set_x(ideal_x(i) - delta);
128 const int exposed = tab_offset() - (ideal_x(i + 1) - ideal_x(
[all...]
H A Dstacked_tab_strip_layout.h190 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); } function in class:StackedTabStripLayout
H A Dstacked_tab_strip_layout_unittest.cc124 EXPECT_LE(ideal_x(j) - ideal_x(j - 1), max_width - 100);
127 int ideal_x(int index) const { function in class:StackedTabStripLayoutTest
H A Dtab.cc995 const int ideal_x = (GetMiniWidth() - bounds->width()) / 2; local
998 (ideal_x - bounds->x())));

Completed in 93 milliseconds