Searched refs:InsetsF (Results 1 – 11 of 11) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | insets_f.h | 15 class GFX_EXPORT InsetsF { 17 constexpr InsetsF() : top_(0.f), left_(0.f), bottom_(0.f), right_(0.f) {} in InsetsF() function 18 constexpr explicit InsetsF(float all) in InsetsF() function 20 constexpr InsetsF(float vertical, float horizontal) in InsetsF() function 25 constexpr InsetsF(float top, float left, float bottom, float right) in InsetsF() function 51 bool operator==(const InsetsF& insets) const { 56 bool operator!=(const InsetsF& insets) const { 60 void operator+=(const InsetsF& insets) { 67 void operator-=(const InsetsF& insets) { 74 InsetsF operator-() const { [all …]
|
D | insets_unittest.cc | 72 gfx::InsetsF insets; in TEST() 74 insets += gfx::InsetsF(5.8f, 6.7f, 7.6f, 8.5f); in TEST() 80 insets -= gfx::InsetsF(-1.f, 0, 1.1f, 2.2f); in TEST() 86 insets = gfx::InsetsF(10, 10.1f, 10.01f, 10.001f) + in TEST() 87 gfx::InsetsF(5.5f, 5.f, 0, -20.2f); in TEST() 93 insets = gfx::InsetsF(10, 10.1f, 10.01f, 10.001f) - in TEST() 94 gfx::InsetsF(5.5f, 5.f, 0, -20.2f); in TEST()
|
D | rect_f.h | 23 class InsetsF; variable 86 void Inset(const InsetsF& insets); 97 InsetsF InsetsFrom(const RectF& inner) const;
|
D | insets.h | 103 operator InsetsF() const { in InsetsF() function 104 return InsetsF(static_cast<float>(top()), static_cast<float>(left()), in InsetsF()
|
D | insets_f.cc | 11 std::string InsetsF::ToString() const { in ToString()
|
D | rect_f.cc | 45 void RectF::Inset(const InsetsF& insets) { in Inset() 67 InsetsF RectF::InsetsFrom(const RectF& inner) const { in InsetsFrom() 68 return InsetsF(inner.y() - y(), in InsetsFrom()
|
/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry_struct_traits.h | 36 struct StructTraits<gfx::mojom::InsetsFDataView, gfx::InsetsF> { 37 static float top(const gfx::InsetsF& p) { return p.top(); } 38 static float left(const gfx::InsetsF& p) { return p.left(); } 39 static float bottom(const gfx::InsetsF& p) { return p.bottom(); } 40 static float right(const gfx::InsetsF& p) { return p.right(); } 41 static bool Read(gfx::mojom::InsetsFDataView data, gfx::InsetsF* out) {
|
D | geometry_traits_test_service.mojom | 34 EchoInsetsF(InsetsF i) => (InsetsF pass);
|
D | geometry_struct_traits_unittest.cc | 59 void EchoInsetsF(const InsetsF& i, EchoInsetsFCallback callback) override { in EchoInsetsF() 169 TEST_F(GeometryStructTraitsTest, InsetsF) { in TEST_F() argument 174 gfx::InsetsF input(top, left, bottom, right); in TEST_F() 176 gfx::InsetsF output; in TEST_F()
|
D | geometry.typemap | 30 "gfx.mojom.InsetsF=gfx::InsetsF",
|
D | geometry.mojom | 55 struct InsetsF {
|