Home
last modified time | relevance | path

Searched refs:insets (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium/chrome/browser/chromeos/frame/
Dbubble_frame_view.cc100 gfx::Insets insets = GetInsets(); in GetWindowBoundsForClientBounds() local
112 int top_height = insets.top(); in GetWindowBoundsForClientBounds()
120 return gfx::Rect(std::max(0, client_bounds.x() - insets.left()), in GetWindowBoundsForClientBounds()
122 client_bounds.width() + insets.width(), in GetWindowBoundsForClientBounds()
123 client_bounds.height() + top_height + insets.bottom()); in GetWindowBoundsForClientBounds()
147 gfx::Insets insets(kTitleTopPadding, in GetInsets() local
151 insets += border_insets; in GetInsets()
152 return insets; in GetInsets()
163 gfx::Insets insets = GetInsets(); in Layout() local
177 insets.left(), insets.top(), in Layout()
[all …]
/external/proguard/src/proguard/gui/
DMemberSpecificationDialog.java84 constraints.insets = new Insets(1, 2, 1, 2); in MemberSpecificationDialog()
90 constraintsStretch.insets = constraints.insets; in MemberSpecificationDialog()
95 constraintsLast.insets = constraints.insets; in MemberSpecificationDialog()
102 constraintsLastStretch.insets = constraints.insets; in MemberSpecificationDialog()
110 panelConstraints.insets = constraints.insets; in MemberSpecificationDialog()
118 stretchPanelConstraints.insets = constraints.insets; in MemberSpecificationDialog()
122 labelConstraints.insets = new Insets(2, 10, 2, 10); in MemberSpecificationDialog()
127 lastLabelConstraints.insets = labelConstraints.insets; in MemberSpecificationDialog()
133 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in MemberSpecificationDialog()
139 okButtonConstraints.insets = advancedButtonConstraints.insets; in MemberSpecificationDialog()
[all …]
DClassSpecificationDialog.java88 constraints.insets = new Insets(1, 2, 1, 2); in ClassSpecificationDialog()
94 constraintsStretch.insets = constraints.insets; in ClassSpecificationDialog()
99 constraintsLast.insets = constraints.insets; in ClassSpecificationDialog()
106 constraintsLastStretch.insets = constraints.insets; in ClassSpecificationDialog()
114 panelConstraints.insets = constraints.insets; in ClassSpecificationDialog()
122 stretchPanelConstraints.insets = constraints.insets; in ClassSpecificationDialog()
126 labelConstraints.insets = new Insets(2, 10, 2, 10); in ClassSpecificationDialog()
131 lastLabelConstraints.insets = labelConstraints.insets; in ClassSpecificationDialog()
137 advancedButtonConstraints.insets = new Insets(4, 4, 8, 4); in ClassSpecificationDialog()
143 okButtonConstraints.insets = advancedButtonConstraints.insets; in ClassSpecificationDialog()
[all …]
DOptimizationsDialog.java64 constraintsLast.insets = new Insets(1, 2, 1, 2); in OptimizationsDialog()
71 constraintsLastStretch.insets = constraintsLast.insets; in OptimizationsDialog()
79 panelConstraints.insets = constraintsLast.insets; in OptimizationsDialog()
84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4); in OptimizationsDialog()
90 okButtonConstraints.insets = selectButtonConstraints.insets; in OptimizationsDialog()
96 cancelButtonConstraints.insets = selectButtonConstraints.insets; in OptimizationsDialog()
DFilterDialog.java77 textConstraints.insets = new Insets(10, 10, 10, 10); in FilterDialog()
81 labelConstraints.insets = new Insets(1, 2, 1, 2); in FilterDialog()
88 textFieldConstraints.insets = labelConstraints.insets; in FilterDialog()
96 panelConstraints.insets = labelConstraints.insets; in FilterDialog()
102 okButtonConstraints.insets = new Insets(4, 4, 8, 4); in FilterDialog()
108 cancelButtonConstraints.insets = okButtonConstraints.insets; in FilterDialog()
DProGuardGUI.java177 constraints.insets = new Insets(0, 4, 0, 4); in ProGuardGUI()
183 constraintsStretch.insets = constraints.insets; in ProGuardGUI()
188 constraintsLast.insets = constraints.insets; in ProGuardGUI()
195 constraintsLastStretch.insets = constraints.insets; in ProGuardGUI()
211 welcomeTextAreaConstraints.insets = new Insets(20, 40, 20, 40); in ProGuardGUI()
218 panelConstraints.insets = constraints.insets; in ProGuardGUI()
226 stretchPanelConstraints.insets = constraints.insets; in ProGuardGUI()
233 glueConstraints.insets = constraints.insets; in ProGuardGUI()
237 bottomButtonConstraints.insets = new Insets(2, 2, 4, 6); in ProGuardGUI()
244 lastBottomButtonConstraints.insets = bottomButtonConstraints.insets; in ProGuardGUI()
[all …]
DClassPathPanel.java339 jarNameLabelConstraints.insets = new Insets(1, 2, 1, 2); in MyListCellRenderer()
346 filterLabelConstraints.insets = jarNameLabelConstraints.insets; in MyListCellRenderer()
DListPanel.java57 listConstraints.insets = new Insets(0, 2, 0, 2); in ListPanel()
177 buttonConstraints.insets = new Insets(0, 2, 0, 2); in addButton()
/external/chromium/chrome/browser/ui/views/bubble/
Dborder_contents.cc69 gfx::Insets insets; in SizeAndGetBounds() local
70 bubble_border_->GetInsets(&insets); in SizeAndGetBounds()
71 contents_bounds->Inset(insets.left() + kLeftMargin, insets.top() + kTopMargin, in SizeAndGetBounds()
72 insets.right() + kRightMargin, insets.bottom() + kBottomMargin); in SizeAndGetBounds()
145 int BorderContents::GetInsetsLength(const gfx::Insets& insets, bool vertical) { in GetInsetsLength() argument
146 return vertical ? insets.height() : insets.width(); in GetInsetsLength()
Dbubble_border.cc38 gfx::Insets insets; in GetBounds() local
39 GetInsets(&insets); in GetBounds()
40 border_size.Enlarge(insets.left() + insets.right(), in GetBounds()
41 insets.top() + insets.bottom()); in GetBounds()
116 void BubbleBorder::GetInsets(gfx::Insets* insets) const { in GetInsets()
147 insets->Set(top, left, bottom, right); in GetInsets()
152 gfx::Insets insets; in SetArrowOffset() local
153 GetInsets(&insets); in SetArrowOffset()
154 border_size.Enlarge(insets.left() + insets.right(), in SetArrowOffset()
155 insets.top() + insets.bottom()); in SetArrowOffset()
[all …]
Dborder_contents.h75 static int GetInsetsLength(const gfx::Insets& insets, bool vertical);
Dbubble_border.h103 virtual void GetInsets(gfx::Insets* insets) const;
/external/chromium/chrome/browser/chromeos/status/
Dstatus_area_button.cc87 gfx::Insets insets = views::MenuButton::GetInsets(); in GetPreferredSize() local
88 gfx::Size prefsize(icon_width() + insets.width(), in GetPreferredSize()
89 icon_height() + insets.height()); in GetPreferredSize()
101 insets_.Set(insets.top() + 1, insets.left(), in GetPreferredSize()
102 insets.bottom(), insets.right()); in GetPreferredSize()
/external/chromium/chrome/browser/ui/views/
Dpinned_contents_info_bubble.cc20 gfx::Insets insets; in SizeAndGetBounds() local
21 bubble_border_->GetInsets(&insets); in SizeAndGetBounds()
22 offset += kLeftMargin + insets.left() + 1; in SizeAndGetBounds()
Dwrench_menu.cc70 gfx::Insets insets; in GetPreferredSize() local
72 border()->GetInsets(&insets); in GetPreferredSize()
73 pref.Enlarge(insets.width(), insets.height()); in GetPreferredSize()
91 virtual void GetInsets(gfx::Insets* insets) const { in GetInsets()
92 insets->Set(MenuConfig::instance().item_top_margin, in GetInsets()
515 gfx::Insets insets; in MaxWidthForZoomLabel() local
517 zoom_label_->border()->GetInsets(&insets); in MaxWidthForZoomLabel()
537 return max_w + insets.width(); in MaxWidthForZoomLabel()
Dsad_tab_view.cc128 gfx::Insets insets = learn_more_link_->GetInsets(); in Layout() local
131 insets.top(), sz.width(), sz.height()); in Layout()
/external/chromium/chrome/browser/
Daeropeek_manager.h47 virtual void GetContentInsets(gfx::Insets* insets) = 0;
103 void SetContentInsets(const gfx::Insets& insets);
133 virtual void GetContentInsets(gfx::Insets* insets);
Daeropeek_manager.cc1005 void AeroPeekManager::SetContentInsets(const gfx::Insets& insets) {
1006 content_insets_ = insets;
1202 void AeroPeekManager::GetContentInsets(gfx::Insets* insets) {
1203 *insets = content_insets_;
/external/chromium/chrome/browser/chromeos/login/
Dnew_user_view.cc365 gfx::Insets insets = GetInsets(); in Layout() local
369 this->width() - insets.right() - in Layout()
371 int y = insets.top() + kLanguagesMenuPad; in Layout()
372 int width = std::min(this->width() - insets.width() - 2 * kColumnPad, in Layout()
378 width = std::min(this->width() - insets.width() - 2 * kColumnPad, in Layout()
380 x = insets.left() + kLeftPad; in Layout()
381 int max_width = this->width() - x - std::max(insets.right(), x); in Layout()
401 y = this->height() - insets.bottom() - kBottomPad; in Layout()
Drounded_rect_painter.cc165 virtual void GetInsets(gfx::Insets* insets) const;
178 void RoundedRectBorder::GetInsets(gfx::Insets* insets) const { in GetInsets()
179 DCHECK(insets); in GetInsets()
182 insets->Set(inset - shadow / 3, inset, inset + shadow / 3, inset); in GetInsets()
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_popup_contents_view.cc95 virtual void GetInsets(gfx::Insets* insets) const { in GetInsets()
96 insets->Set(3, 8, 3, 8); in GetInsets()
110 gfx::Insets insets(h, w, h, w); in CreatePainter() local
111 return views::Painter::CreateImagePainter(*image, insets, true); in CreatePainter()
656 gfx::Insets insets; in CalculateTargetBounds() local
657 border->GetInsets(&insets); in CalculateTargetBounds()
658 location_bar_bounds.Inset(insets.left(), 0, insets.right(), 0); in CalculateTargetBounds()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_views.cc261 gfx::Insets insets = GetInsets(); in Layout() local
262 textfield_->SetBounds(insets.left(), insets.top(), in Layout()
263 width() - insets.width(), in Layout()
264 height() - insets.height()); in Layout()
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_button_border.h29 virtual void GetInsets(gfx::Insets* insets) const;
Dinfobar_button_border.cc51 void InfoBarButtonBorder::GetInsets(gfx::Insets* insets) const { in GetInsets()
54 insets->Set(kPreferredPaddingVertical, kPreferredPaddingHorizontal, in GetInsets()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc88 views::View* WrapWithPadding(views::View* view, const gfx::Insets& insets) { in WrapWithPadding() argument
93 layout->SetInsets(insets); in WrapWithPadding()
159 const gfx::Insets insets = in CreateWrappedShortcutLabel() local
164 WrapWithPadding(shortcut_label, insets); in CreateWrappedShortcutLabel()

12