Home
last modified time | relevance | path

Searched refs:EdgePx (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dedge.h198 class EdgePx : public Edge {
200 EdgePx() = default;
201 explicit EdgePx(double value) : EdgePx(value, value, value, value) {} in EdgePx() function
202 explicit EdgePx(const std::string& value) : EdgePx(value, value, value, value) {} in EdgePx() function
203 EdgePx(double left, double top, double right, double bottom) : Edge(left, top, right, bottom) {} in EdgePx() function
204EdgePx(const std::string& left, const std::string& top, const std::string& right, const std::strin… in EdgePx() function
206 ~EdgePx() override = default;
334 EdgePx operator+(const EdgePx& edge) const
336 return EdgePx(LeftPx() + edge.LeftPx(), TopPx() + edge.TopPx(), RightPx() + edge.RightPx(),
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box_base.h175 EdgePx GetMargin() const in GetMargin()
180 EdgePx GetPadding() const in GetPadding()
300 EdgePx ConvertEdgeToPx(const Edge& edge, bool additional);
326 EdgePx padding_;
327 EdgePx margin_;
H A Drender_box_base.cpp206 EdgePx RenderBoxBase::ConvertEdgeToPx(const Edge& edge, bool additional) in ConvertEdgeToPx()
208 EdgePx edgePx; in ConvertEdgeToPx()
841 padding_ = EdgePx(); in ClearRenderObject()
842 margin_ = EdgePx(); in ClearRenderObject()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Ddebug_boundary_painter.h38 …tDebugMargin(SkCanvas* canvas, const Offset& offset, const Size& layoutSize, const EdgePx& margin);
43 const Size& layoutSize, const EdgePx& margin);
H A Ddebug_boundary_painter.cpp66 const Size& layoutSize, const EdgePx& margin) in PaintDebugMargin()
93 const Size& layoutSize, const EdgePx& margin) in PaintDebugMargin()
H A Drosen_decoration_painter.h152 void SetMargin(const EdgePx& margin) in SetMargin()
241 EdgePx margin_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.cpp445 EdgePx RenderListItem::GetMarginInPx() const in ResetFocusEffect()
447 EdgePx marginInPx; in ResetFocusEffect()
H A Drender_list_item.h339 EdgePx GetMarginInPx() const;