HomeSort by relevance Sort by last modified time
    Searched refs:Insets (Results 1 - 25 of 303) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/gfx/geometry/
insets.cc 5 #include "ui/gfx/geometry/insets.h"
11 template class InsetsBase<Insets, int>;
13 Insets::Insets() : InsetsBase<Insets, int>(0, 0, 0, 0) {}
15 Insets::Insets(int top, int left, int bottom, int right)
16 : InsetsBase<Insets, int>(top, left, bottom, right) {}
18 Insets::~Insets() {}
    [all...]
insets.h 17 // An integer version of gfx::Insets.
18 class GFX_EXPORT Insets : public InsetsBase<Insets, int> {
20 Insets();
21 Insets(int top, int left, int bottom, int right);
23 ~Insets();
25 Insets Scale(float scale) const {
29 Insets Scale(float x_scale, float y_scale) const {
30 return Insets(static_cast<int>(top() * y_scale),
40 // Returns a string representation of the insets
    [all...]
insets_unittest.cc 5 #include "ui/gfx/geometry/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...]
  /external/chromium_org/ui/wm/core/
easy_resize_window_targeter.h 9 #include "ui/gfx/geometry/insets.h"
20 const gfx::Insets& mouse_extend,
21 const gfx::Insets& touch_extend);
26 void set_mouse_extend(const gfx::Insets& mouse_extend) {
30 void set_touch_extend(const gfx::Insets& touch_extend) {
45 gfx::Insets mouse_extend_;
46 gfx::Insets touch_extend_;
  /external/chromium_org/ui/gfx/
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(
nine_image_painter.h 15 class Insets;
21 NineImagePainter(const ImageSkia& image, const Insets& insets);
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);
  /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...]