Searched refs:child_area (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/ui/views/layout/ |
D | box_layout.cc | 52 gfx::Rect child_area(host->GetLocalBounds()); in Layout() local 53 child_area.Inset(host->GetInsets()); in Layout() 54 child_area.Inset(inside_border_insets_); in Layout() 65 MainAxisSizeForView(child, child_area.width()) + between_child_spacing_; in Layout() 75 int main_free_space = MainAxisSize(child_area) - total_main_axis_size; in Layout() 77 int position = MainAxisPosition(child_area); in Layout() 78 int size = MainAxisSize(child_area); in Layout() 96 gfx::Rect new_child_area(child_area); in Layout() 99 child_area.Intersect(new_child_area); in Layout() 102 int main_position = MainAxisPosition(child_area); in Layout() [all …]
|
/external/chromium_org/ui/views/controls/button/ |
D | label_button.cc | 290 gfx::Rect child_area(GetChildAreaBounds()); in Layout() local 291 child_area.Inset(GetInsets()); in Layout() 294 image_size.SetToMin(child_area.size()); in Layout() 300 gfx::Size label_size(child_area.width(), height()); in Layout() 302 label_size.set_width(std::max(child_area.width() - in Layout() 311 gfx::Point image_origin(child_area.origin()); in Layout() 312 image_origin.Offset(0, (child_area.height() - image_size.height()) / 2); in Layout() 318 image_origin.Offset((child_area.width() - total_width) / 2, 0); in Layout() 320 image_origin.Offset(child_area.width() - image_size.width(), 0); in Layout() 323 gfx::Point label_origin(child_area.x(), 0); in Layout()
|
/external/chromium_org/ui/message_center/views/ |
D | message_center_view.cc | 211 gfx::Rect child_area = GetContentsBounds(); in Layout() local 212 int top = child_area.y(); in Layout() 220 int height = child->GetHeightForWidth(child_area.width()); in Layout() 221 child->SetBounds(child_area.x(), top, child_area.width(), height); in Layout() 404 gfx::Rect child_area = GetContentsBounds(); in DoUpdateIfPossible() local 405 if (child_area.IsEmpty()) in DoUpdateIfPossible() 490 gfx::Rect child_area = GetContentsBounds(); in AnimateChild() local 492 child->SetBounds(child_area.right(), top, child_area.width(), height); in AnimateChild() 494 child, gfx::Rect(child_area.x(), top, child_area.width(), height)); in AnimateChild() 502 gfx::Rect target(child_area.x(), top, child_area.width(), height); in AnimateChild()
|