Home
last modified time | relevance | path

Searched refs:insets_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ui/views/
Dborder.cc29 const gfx::Insets insets_; member in views::__anonb786450b0111::SidedSolidBorder
40 insets_(top, left, bottom, right) { in SidedSolidBorder()
45 canvas->FillRect(gfx::Rect(0, 0, view.width(), insets_.top()), color_); in Paint()
47 canvas->FillRect(gfx::Rect(0, 0, insets_.left(), view.height()), color_); in Paint()
49 canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(), in Paint()
50 insets_.bottom()), color_); in Paint()
52 canvas->FillRect(gfx::Rect(view.width() - insets_.right(), 0, insets_.right(), in Paint()
57 return insets_; in GetInsets()
61 return gfx::Size(insets_.width(), insets_.height()); in GetMinimumSize()
78 : insets_(top, left, bottom, right) {} in EmptyBorder()
[all …]
Dpainter.cc37 const gfx::Insets insets_; member in views::__anon57c117600111::DashedFocusPainter
43 : insets_(insets) { in DashedFocusPainter()
55 rect.Inset(insets_); in Paint()
72 const gfx::Insets insets_; member in views::__anon57c117600111::SolidFocusPainter
80 insets_(insets) { in SolidFocusPainter()
92 rect.Inset(insets_); in Paint()
/external/chromium_org/chrome/browser/chromeos/display/
Doverscan_calibrator.cc65 insets_(initial_insets), in OverscanCalibrator()
101 display_.id(), insets_); in Commit()
106 insets_ = initial_insets_; in Reset()
111 insets_.Set(std::max(insets.top(), 0), in UpdateInsets()
122 inner_bounds.Inset(insets_); in OnPaintLayer()
Doverscan_calibrator.h40 const gfx::Insets& insets() const { return insets_; } in insets()
52 gfx::Insets insets_; variable
/external/chromium_org/ui/views/controls/
Dfocusable_border.cc25 : insets_(kTopInsetSize, kLeftInsetSize, in FocusableBorder()
59 return insets_; in GetInsets()
67 insets_.Set(top, left, bottom, right); in SetInsets()
Dfocusable_border.h39 gfx::Insets insets_;
/external/chromium_org/chrome/browser/devtools/
Ddevtools_contents_resizing_strategy.h26 const gfx::Insets& insets() const { return insets_; } in insets()
32 gfx::Insets insets_;
Ddevtools_contents_resizing_strategy.cc14 : insets_(insets), in DevToolsContentsResizingStrategy()
26 insets_ = strategy.insets(); in CopyFrom()
33 return insets_ == strategy.insets() && min_size_ == strategy.min_size() && in Equals()
/external/chromium_org/chrome/browser/ui/views/profiles/
Davatar_label.cc34 gfx::Insets insets_; member in __anon5514e67e0111::AvatarLabelBorder
49 insets_ = gfx::Insets(kVerticalInsetTop + addToTop, in AvatarLabelBorder()
84 return insets_; in GetInsets()
/external/chromium_org/ui/views/controls/button/
Dlabel_button_border.h31 void set_insets(const gfx::Insets& insets) { insets_ = insets; } in set_insets()
45 gfx::Insets insets_; variable
Dlabel_button_border.cc128 return insets_; in GetInsets()
Dtext_button.cc80 return insets_; in GetInsets()
88 insets_ = insets; in SetInsets()
Dtext_button.h38 gfx::Insets insets_;
/external/chromium_org/ash/display/
Droot_window_transformers.cc221 insets_.Set(0, margin, 0, margin); in MirrorRootWindowTransformer()
233 insets_.Set(margin, 0, margin, 0); in MirrorRootWindowTransformer()
254 return insets_; in GetHostInsets()
262 gfx::Insets insets_; member in ash::__anona8f7dff30111::MirrorRootWindowTransformer
/external/chromium_org/ui/views/layout/
Dgrid_layout.cc679 insets_.Set(top, left, bottom, right); in SetInsets()
683 insets_ = insets; in SetInsets()
813 insets_.left(); in Layout()
818 int y = rows_[view_state->start_row]->Location() + insets_.top(); in Layout()
863 pref->set_width(pref->width() + insets_.width()); in SizeRowsAndColumns()
870 (*i)->Resize(width - (*i)->LayoutWidth() - insets_.left() - in SizeRowsAndColumns()
871 insets_.right()); in SizeRowsAndColumns()
941 rows_[rows_.size() - 1]->Size() + insets_.height()); in SizeRowsAndColumns()
Dgrid_layout.h245 gfx::Insets insets_; variable
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.cc121 insets_(config.item_top_margin, horizontal_padding_, in MenuButtonBorder()
131 return insets_; in GetInsets()
144 const gfx::Insets insets_; member in __anon8a55d7ea0111::MenuButtonBorder
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_aura.h570 gfx::Insets insets_; variable
Drender_widget_host_view_aura.cc787 requested_rect.Inset(insets_); in GetVisibleViewportSize()
792 if (insets != insets_) { in SetInsets()
793 insets_ = insets; in SetInsets()