Searched refs:top_margin (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/media/base/
H A Dvideo_util_unittest.cc361 for (int top_margin = 0; top_margin <= 10; top_margin += 10) {
363 gfx::Rect view_area(left_margin, top_margin,
365 height - top_margin - bottom_margin);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_item_view.cc562 void MenuItemView::SetMargins(int top_margin, int bottom_margin) { argument
563 top_margin_ = top_margin;
781 const int top_margin = GetTopMargin(); local
783 const int available_height = height() - top_margin - bottom_margin;
791 top_margin + (available_height - check.height()) / 2,
800 top_margin + (available_height - image.height()) / 2,
836 gfx::Rect text_bounds(label_start, top_margin, width,
862 top_margin + (available_height - arrow.height()) / 2,
H A Dmenu_item_view.h316 void SetMargins(int top_margin, int bottom_margin);
/external/chromium_org/ui/views/controls/
H A Dscroll_view.h207 // Creates a FixedRowHeightScrollHelper. top_margin gives the distance from
210 FixedRowHeightScrollHelper(int top_margin, int row_height);
H A Dscroll_view.cc628 FixedRowHeightScrollHelper::FixedRowHeightScrollHelper(int top_margin, argument
631 top_margin_(top_margin),
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dwrench_menu.cc1102 int top_margin = config.item_top_margin + config.separator_height / 2; local
1108 top_margin += 4;
1112 item->SetMargins(top_margin, bottom_margin);
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_view.cc1869 int top_margin = IsDetached() ? kDetachedTopMargin : 0; local
1870 int y = top_margin;
1957 y - top_margin,
1959 height + top_margin + kBottomMargin -

Completed in 395 milliseconds