Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/layout/
Dbox_layout.cc58 int flex_sum = 0; in Layout() local
67 flex_sum += GetFlexForView(child); in Layout()
79 if (!flex_sum) { in Layout()
129 int quot = (main_free_space * current_flex) / flex_sum; in Layout()
130 int rem = (main_free_space * current_flex) % flex_sum; in Layout()
133 if (std::abs(rem) * 2 >= flex_sum) in Layout()
150 if (flex_sum) in Layout()