/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 GFX_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);
|
rect.h | 36 class Insets; 39 : public RectBase<Rect, Point, Size, Insets, Vector2d, int> { 41 Rect() : RectBase<Rect, Point, Size, Insets, Vector2d, int>(Point()) {} 44 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 48 : RectBase<Rect, Point, Size, Insets, Vector2d, int> 60 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(size) {} 63 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(origin, size) {} 140 extern template class RectBase<Rect, Point, Size, Insets, Vector2d, int>;
|
/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;
|
/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/ash/wm/caption_buttons/ |
alternate_frame_size_button_delegate.h | 12 class Insets; 43 // |pressed_button_hittest_insets| indicates how much the hittest insets for 45 // |position_in_screen| using the normal button hittest insets. 49 const gfx::Insets& pressed_button_hittest_insets) const = 0;
|
/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. 35 virtual gfx::Insets GetInsets() const OVERRIDE; 39 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.cc | 24 virtual gfx::Insets GetInsets() const OVERRIDE; 29 const gfx::Insets insets_; 56 gfx::Insets SidedSolidBorder::GetInsets() const { 83 virtual gfx::Insets GetInsets() const OVERRIDE { 92 const gfx::Insets insets_; 99 explicit BorderPainter(Painter* painter, const gfx::Insets& insets) 101 insets_(insets) { 112 virtual gfx::Insets GetInsets() const OVERRIDE { 122 const gfx::Insets insets_ [all...] |
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 // Returns the border insets. 72 virtual gfx::Insets GetInsets() const = 0; 75 // the same as the insets. For example, a Border may paint images to draw 78 // insets may be larger or smaller, depending on how the view wanted its
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
back_button.cc | 7 #include "ui/gfx/insets.h" 27 // Adjust border insets to follow the margin change, 30 gfx::Insets insets(border()->GetInsets()); 32 gfx::Insets(insets.top(), insets.left() + margin - margin_leading_, 33 insets.bottom(), insets.right())); 41 gfx::Insets(kFocusRectInset, kFocusRectInset + margin [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; 31 void set_insets(const gfx::Insets& insets) { insets_ = insets; } 45 gfx::Insets insets_;
|
/external/chromium_org/ui/oak/ |
oak_pretty_print.h | 11 class Insets; 26 const gfx::Insets& insets);
|
/external/chromium_org/ash/system/tray/ |
tray_popup_label_button.cc | 26 gfx::Insets(1, 1, 2, 2)));
|
/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; 62 gfx::Insets content_margins() const { return content_margins_; } 98 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" 47 void set_padding(const gfx::Insets& value) { padding_ = value; } 75 gfx::Insets padding_;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/laf/ |
UnifiedContentBorder.java | 38 public Insets getBorderInsets(Component component) { 39 return new Insets(1, 0, 2, 0);
|