Home
last modified time | relevance | path

Searched refs:InsetsF (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Dinsets_f.h15 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 …]
Drect_f.h23 class InsetsF; variable
86 void Inset(const InsetsF& insets);
97 InsetsF InsetsFrom(const RectF& inner) const;
Dinsets.h103 operator InsetsF() const { in InsetsF() function
104 return InsetsF(static_cast<float>(top()), static_cast<float>(left()), in InsetsF()
Dinsets_f.cc11 std::string InsetsF::ToString() const { in ToString()
Drect_f.cc45 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/
Dgeometry_struct_traits.h36 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) {
Dgeometry_struct_traits_unittest.cc59 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()
Dgeometry_traits_test_service.mojom34 EchoInsetsF(InsetsF i) => (InsetsF pass);
Dgeometry.typemap30 "gfx.mojom.InsetsF=gfx::InsetsF",
Dgeometry.mojom55 struct InsetsF {