HomeSort by relevance Sort by last modified time
    Searched refs:child_area (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/ui/views/layout/
box_layout.cc 29 gfx::Rect child_area(host->GetLocalBounds());
30 child_area.Inset(host->GetInsets());
31 child_area.Inset(inside_border_insets_);
32 int x = child_area.x();
33 int y = child_area.y();
46 total += child->GetHeightForWidth(child_area.width()) +
55 padding = (child_area.width() - total) / visible;
57 padding = (child_area.height() - total) / visible;
67 gfx::Rect bounds(x, y, child_area.width(), child_area.height())
    [all...]
  /external/chromium_org/ui/views/controls/button/
label_button.cc 220 gfx::Rect child_area(GetLocalBounds());
221 child_area.Inset(GetInsets());
224 image_size.set_width(std::min(image_size.width(), child_area.width()));
225 image_size.set_height(std::min(image_size.height(), child_area.height()));
230 gfx::Size label_size(child_area.size());
233 std::max(child_area.width() - image_size.width() - kSpacing, 0));
243 gfx::Point image_origin(child_area.origin());
244 image_origin.Offset(0, (child_area.height() - image_size.height()) / 2);
248 image_origin.Offset((child_area.width() - total_width) / 2, 0);
250 image_origin.Offset(child_area.width() - image_size.width(), 0)
    [all...]
  /external/chromium_org/ash/system/drive/
tray_drive.cc 215 gfx::Rect child_area(GetLocalBounds());
216 if (child_area.IsEmpty())
219 int pos_x = child_area.x() + kSidePadding;
220 int pos_y = child_area.y() + kTopPadding;
224 pos_y + (child_area.height() - kTopPadding -
229 gfx::IntersectRects(bounds_status, child_area));
234 child_area.width() - 2 * kSidePadding -
240 gfx::IntersectRects(bounds_label, child_area));
245 pos_y + (child_area.height() - kTopPadding -
250 gfx::IntersectRects(bounds_button, child_area));
    [all...]
  /external/chromium_org/ui/message_center/views/
message_center_view.cc 278 gfx::Rect child_area = GetContentsBounds();
279 int top = child_area.y();
287 int height = child->GetHeightForWidth(child_area.width());
288 child->SetBounds(child_area.x(), top, child_area.width(), height);
462 gfx::Rect child_area = GetContentsBounds(); local
463 if (child_area.IsEmpty())
546 gfx::Rect child_area = GetContentsBounds(); local
548 child->SetBounds(child_area.right(), top, child_area.width(), height)
    [all...]

Completed in 166 milliseconds