Home
last modified time | relevance | path

Searched refs:top_margin (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/
Dnine_box.cc66 NineBox::NineBox(int image, int top_margin, int bottom_margin, int left_margin, in NineBox() argument
74 int inset_height = top_margin + bottom_margin; in NineBox()
76 images_[0] = gdk_pixbuf_new_subpixbuf(pixbuf, 0, 0, left_margin, top_margin); in NineBox()
78 width - inset_width, top_margin); in NineBox()
80 right_margin, top_margin); in NineBox()
81 images_[3] = gdk_pixbuf_new_subpixbuf(pixbuf, 0, top_margin, in NineBox()
83 images_[4] = gdk_pixbuf_new_subpixbuf(pixbuf, left_margin, top_margin, in NineBox()
87 top_margin, right_margin, in NineBox()
Dnine_box.h31 NineBox(int image, int top_margin, int bottom_margin, int left_margin,
/external/chromium_org/chrome/browser/ui/gtk/
Dnine_box.cc77 NineBox::NineBox(int image, int top_margin, int bottom_margin, int left_margin, in NineBox() argument
85 int inset_height = top_margin + bottom_margin; in NineBox()
88 pixbuf, 0, 0, left_margin, top_margin)); in NineBox()
90 pixbuf, left_margin, 0, width - inset_width, top_margin)); in NineBox()
92 pixbuf, width - right_margin, 0, right_margin, top_margin)); in NineBox()
94 pixbuf, 0, top_margin, left_margin, height - inset_height)); in NineBox()
96 pixbuf, left_margin, top_margin, width - inset_width, in NineBox()
99 pixbuf, width - right_margin, top_margin, right_margin, in NineBox()
Dnine_box.h31 NineBox(int image, int top_margin, int bottom_margin, int left_margin,
/external/chromium/chrome/browser/bookmarks/
Dbookmark_drop_info.cc15 BookmarkDropInfo::BookmarkDropInfo(gfx::NativeWindow wnd, int top_margin) in BookmarkDropInfo() argument
21 top_margin_(top_margin), in BookmarkDropInfo()
Dbookmark_drop_info.h24 BookmarkDropInfo(gfx::NativeWindow hwnd, int top_margin);
/external/chromium_org/media/base/
Dvideo_util_unittest.cc361 for (int top_margin = 0; top_margin <= 10; top_margin += 10) { in TEST_F() local
363 gfx::Rect view_area(left_margin, top_margin, in TEST_F()
365 height - top_margin - bottom_margin); in TEST_F()
/external/chromium_org/ui/views/controls/menu/
Dmenu_item_view.cc544 void MenuItemView::SetMargins(int top_margin, int bottom_margin) { in SetMargins() argument
545 top_margin_ = top_margin; in SetMargins()
742 int top_margin = GetTopMargin(); in PaintButton() local
744 int icon_y = top_margin + (height() - config.item_top_margin - in PaintButton()
747 int available_height = height() - top_margin - bottom_margin; in PaintButton()
781 top_margin + in PaintButton()
782 (height() - top_margin - bottom_margin - in PaintButton()
813 gfx::Rect text_bounds(label_start, top_margin, width, in PaintButton()
842 top_margin + (available_height - in PaintButton()
Dmenu_item_view.h325 void SetMargins(int top_margin, int bottom_margin);
/external/chromium_org/ui/views/controls/
Dscroll_view.h194 FixedRowHeightScrollHelper(int top_margin, int row_height);
Dscroll_view.cc580 FixedRowHeightScrollHelper::FixedRowHeightScrollHelper(int top_margin, in FixedRowHeightScrollHelper() argument
583 top_margin_(top_margin), in FixedRowHeightScrollHelper()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view.cc1637 int top_margin = IsDetached() ? kDetachedTopMargin : 0; in LayoutItems() local
1638 int y = top_margin; in LayoutItems()
1640 int height = -top_margin - kBottomMargin; in LayoutItems()
1726 y - top_margin, in LayoutItems()
1728 height + top_margin + kBottomMargin - in LayoutItems()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view.cc1723 int top_margin = IsDetached() ? kDetachedTopMargin : 0; in LayoutItems() local
1724 int y = top_margin; in LayoutItems()
1815 y - top_margin, in LayoutItems()
1817 height + top_margin + kBottomMargin - in LayoutItems()