Searched refs:computed_width (Results 1 – 2 of 2) sorted by relevance
48 double computed_width; member65 computed_width(0) { in LocationBarDecoration()113 (*i)->computed_width = (*i)->view->GetPreferredSize().width(); in LayoutPass1()114 *entry_width -= (*i)->computed_width; in LayoutPass1()125 (*i)->computed_width = in LayoutPass2()128 *entry_width -= (*i)->computed_width; in LayoutPass2()142 (*i)->computed_width = (*i)->view->GetPreferredSize().width(); in LayoutPass3()143 if ((*i)->computed_width + padding > *available_width) in LayoutPass3()144 (*i)->computed_width = (*i)->view->GetMinimumSize().width(); in LayoutPass3()145 if ((*i)->computed_width + padding > *available_width) { in LayoutPass3()[all …]
487 int computed_width = std::max(computed_size.width(), target_size.width()); in AdjustClippingSizeToAspectRatio() local489 float computed_aspect = static_cast<float>(computed_width) / computed_height; in AdjustClippingSizeToAspectRatio()498 int new_computed_width = computed_width; in AdjustClippingSizeToAspectRatio()503 static_cast<float>(image_size.width()) / computed_width; in AdjustClippingSizeToAspectRatio()514 static_cast<int>(computed_width / desired_aspect + 0.5f)); in AdjustClippingSizeToAspectRatio()525 static_cast<int>(computed_width / desired_aspect + 0.5f)); in AdjustClippingSizeToAspectRatio()550 new_computed_height = computed_width / desired_aspect + 0.5f; in AdjustClippingSizeToAspectRatio()567 computed_width = new_computed_width; in AdjustClippingSizeToAspectRatio()574 return gfx::Size(computed_width, computed_height); in AdjustClippingSizeToAspectRatio()