Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/
Dborder.cc29 const gfx::Insets insets_; member in views::__anon16a0121e0111::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::__anon9a1486d30111::DashedFocusPainter
43 : insets_(insets) { in DashedFocusPainter()
55 rect.Inset(insets_); in Paint()
72 const gfx::Insets insets_; member in views::__anon9a1486d30111::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()
54 gfx::Insets insets_; variable
/external/chromium_org/ui/views/controls/
Dfocusable_border.cc21 : insets_(kInsetSize, kInsetSize, kInsetSize, kInsetSize), in FocusableBorder()
57 return insets_; in GetInsets()
65 insets_.Set(top, left, bottom, right); in SetInsets()
Dfocusable_border.h40 gfx::Insets insets_;
/external/chromium_org/chrome/browser/ui/views/profiles/
Davatar_label.cc34 gfx::Insets insets_; member in __anon0ae6ded10111::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()
/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::__anon2c3d56e60111::MirrorRootWindowTransformer
/external/chromium_org/mojo/examples/media_viewer/
Dmedia_viewer.cc60 insets_(2, 6, 2, 6) { in CustomButtonBorder()
81 return insets_; in GetInsets()
116 gfx::Insets insets_; member in mojo::examples::CustomButtonBorder
/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/content/browser/renderer_host/
Drender_widget_host_view_aura.h619 gfx::Insets insets_; variable
Drender_widget_host_view_aura.cc827 requested_rect.Inset(insets_); in GetVisibleViewportSize()
832 if (insets != insets_) { in SetInsets()
833 insets_ = insets; in SetInsets()