Lines Matching refs:available_width
1219 float available_width,
1221 if (available_width <= 0 || text.empty())
1224 return ElideEmail(text, available_width);
1235 if (render_text->GetContentWidth() <= available_width)
1247 if (insert_ellipsis && (ellipsis_width > available_width))
1303 if (guess_width == available_width)
1305 if (guess_width > available_width) {
1319 float available_width) {
1339 available_width -= GetStringWidthF(kAtSignUTF16, font_list());
1344 const float available_domain_width = available_width -
1356 std::max<float>(available_width - full_username_width,
1357 available_width / 2));
1368 available_width -= GetStringWidthF(domain, font_list());
1369 username = Elide(username, available_width, ELIDE_TAIL);