/external/chromium_org/ui/gfx/ |
insets.cc | 5 #include "ui/gfx/insets.h" 15 template class InsetsBase<Insets, int>; 17 Insets::Insets() : InsetsBase<Insets, int>(0, 0, 0, 0) {} 19 Insets::Insets(int top, int left, int bottom, int right) 20 : InsetsBase<Insets, int>(top, left, bottom, right) {} 23 Insets::Insets(const GtkBorder& border [all...] |
insets.h | 20 // An integer version of gfx::Insets. 21 class UI_EXPORT Insets : public InsetsBase<Insets, int> { 23 Insets(); 24 Insets(int top, int left, int bottom, int right); 26 explicit Insets(const GtkBorder& border); 29 ~Insets(); 31 Insets Scale(float scale) const { 35 Insets Scale(float x_scale, float y_scale) const { 36 return Insets(static_cast<int>(top() * y_scale) [all...] |
shadow_value_unittest.cc | 7 #include "ui/gfx/insets.h" 14 Insets expected_margin; 19 Insets(), 0, {}, 22 Insets(-2, -2, -2, -2), 27 Insets(0, -1, -4, -3), 32 Insets(-4, -3, 0, -1), 37 Insets(0, -1, -5, -4), 45 Insets(-4, -3, -5, -4), 55 Insets margin = ShadowValue::GetMargin(
|
insets_unittest.cc | 5 #include "ui/gfx/insets.h" 10 gfx::Insets insets; local 11 EXPECT_EQ(0, insets.top()); 12 EXPECT_EQ(0, insets.left()); 13 EXPECT_EQ(0, insets.bottom()); 14 EXPECT_EQ(0, insets.right()); 15 EXPECT_EQ(0, insets.width()); 16 EXPECT_EQ(0, insets.height()); 17 EXPECT_TRUE(insets.empty()) 32 gfx::Insets insets; local 41 gfx::Insets insets; local [all...] |
shadow_value.h | 17 class Insets; 40 // Gets margin space needed for shadows. Note that values in returned Insets 42 static Insets GetMargin(const ShadowValues& shadows);
|
/external/chromium_org/chrome/browser/chromeos/display/ |
overscan_calibrator.h | 12 #include "ui/gfx/insets.h" 26 const gfx::Insets& initial_insets); 29 // Commits the current insets data to the system. 32 // Reset the overscan insets to default value. If the display has 37 // Updates the insets and redraw the visual feedback. 38 void UpdateInsets(const gfx::Insets& insets); 40 const gfx::Insets& insets() const { return insets_; } function in class:chromeos::OverscanCalibrator 51 // The current insets [all...] |
display_preferences.h | 19 class Insets;
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
infobar_label_button_border.h | 20 virtual gfx::Insets GetInsets() const OVERRIDE;
|
infobar_label_button_border.cc | 32 gfx::Insets InfoBarLabelButtonBorder::GetInsets() const{ 33 gfx::Insets insets = views::LabelButtonBorder::GetInsets(); local 34 return gfx::Insets(browser_defaults::kInfoBarBorderPaddingVertical, 35 insets.left(), 37 insets.right());
|
infobar_button_border.cc | 20 gfx::Insets insets = GetInsets(); local 21 SetInsets(gfx::Insets(browser_defaults::kInfoBarBorderPaddingVertical, 22 insets.left(), 24 insets.right()));
|
/frameworks/base/graphics/java/android/graphics/ |
Insets.java | 20 * An Insets instance holds four integer offsets which describe changes to the four 24 * Insets are immutable so may be treated as values. 28 public class Insets { 29 public static final Insets NONE = new Insets(0, 0, 0, 0); 36 private Insets(int left, int top, int right, int bottom) { 46 * Return an Insets instance with the appropriate values. 53 * @return Insets instance with the appropriate values 55 public static Insets of(int left, int top, int right, int bottom) { 59 return new Insets(left, top, right, bottom) [all...] |
/external/chromium_org/ui/aura/ |
root_window_transformer.h | 11 class Insets; 38 // Returns the insets that specifies the effective area of 40 virtual gfx::Insets GetHostInsets() const = 0;
|
/external/chromium_org/ui/views/controls/ |
focusable_border.h | 15 class Insets; 25 // Sets the insets of the border. 40 virtual gfx::Insets GetInsets() const OVERRIDE; 44 gfx::Insets insets_;
|
/external/chromium_org/ui/views/ |
mouse_watcher_view_host.h | 21 MouseWatcherViewHost(View* view, const gfx::Insets& hot_zone_insets); 34 // Insets added to the bounds of the view. 35 const gfx::Insets hot_zone_insets_;
|
border.h | 10 #include "ui/gfx/insets.h" 64 // |insets| define size of an area allocated for a Border. 66 const gfx::Insets& insets); 71 // Sets the specified insets to the the border insets. 72 virtual gfx::Insets GetInsets() const = 0;
|
border.cc | 23 virtual gfx::Insets GetInsets() const OVERRIDE; 27 const gfx::Insets insets_; 54 gfx::Insets SidedSolidBorder::GetInsets() const { 77 virtual gfx::Insets GetInsets() const OVERRIDE { 82 const gfx::Insets insets_; 89 explicit BorderPainter(Painter* painter, const gfx::Insets& insets) 91 insets_(insets) { 102 virtual gfx::Insets GetInsets() const OVERRIDE { 108 const gfx::Insets insets_ [all...] |
/external/chromium_org/ui/views/controls/button/ |
label_button_border.h | 11 #include "ui/gfx/insets.h" 28 virtual gfx::Insets GetInsets() const OVERRIDE; 30 void set_insets(const gfx::Insets& insets) { insets_ = insets; } 44 gfx::Insets insets_;
|
/external/chromium_org/ui/oak/ |
oak_pretty_print.h | 11 class Insets; 26 const gfx::Insets& insets);
|
/external/chromium_org/apps/ |
native_app_window.h | 11 #include "ui/gfx/insets.h" 48 virtual gfx::Insets GetFrameInsets() const = 0;
|
/external/chromium_org/ash/system/tray/ |
tray_popup_label_button_border.h | 24 virtual gfx::Insets GetInsets() const OVERRIDE;
|
/external/chromium_org/ui/views/bubble/ |
bubble_frame_view.h | 11 #include "ui/gfx/insets.h" 28 // Insets to make bubble contents align horizontal with the bubble title. 30 static gfx::Insets GetTitleInsets(); 32 explicit BubbleFrameView(const gfx::Insets& content_margins); 47 virtual gfx::Insets GetInsets() const OVERRIDE; 60 gfx::Insets content_margins() const { return content_margins_; } 94 gfx::Insets content_margins_;
|
/external/chromium/chrome/browser/chromeos/status/ |
status_area_button.h | 37 virtual gfx::Insets GetInsets() const OVERRIDE; 56 // Insets to use for this button. 57 gfx::Insets insets_;
|
/external/chromium/chrome/browser/extensions/ |
extension_icon_manager.h | 16 #include "ui/gfx/insets.h" 41 void set_padding(const gfx::Insets& value) { padding_ = value; } 68 gfx::Insets padding_;
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents.h | 71 gfx::Insets* offscreen_insets); 73 // Convenience method that returns the height of |insets| if |vertical| is 75 static int GetInsetsLength(const gfx::Insets& insets, bool vertical);
|
/external/chromium_org/chrome/browser/extensions/ |
extension_icon_manager.h | 15 #include "ui/gfx/insets.h" 44 void set_padding(const gfx::Insets& value) { padding_ = value; } 72 gfx::Insets padding_;
|