Lines Matching refs:available_width
1102 int available_width,
1105 if (!calculated_heights_.count(available_width)) {
1113 sizing_view.label_->SetSize(gfx::Size(available_width, 0));
1114 sizing_view.label_line_2_->SetSize(gfx::Size(available_width, 0));
1119 if (layout->GetPreferredSize(&sizing_view).width() <= available_width) {
1120 calculated_heights_[available_width] = std::make_pair(
1122 layout->GetPreferredHeightForWidth(&sizing_view, available_width));
1125 calculated_heights_[available_width] = std::make_pair(
1127 layout->GetPreferredHeightForWidth(&sizing_view, available_width));
1131 const std::pair<bool, int>& values = calculated_heights_[available_width];