Searched refs:EdgePx (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 198 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 204 …EdgePx(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 D | render_box_base.h | 175 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 D | render_box_base.cpp | 206 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 D | debug_boundary_painter.h | 38 …tDebugMargin(SkCanvas* canvas, const Offset& offset, const Size& layoutSize, const EdgePx& margin); 43 const Size& layoutSize, const EdgePx& margin);
|
H A D | debug_boundary_painter.cpp | 66 const Size& layoutSize, const EdgePx& margin) in PaintDebugMargin() 93 const Size& layoutSize, const EdgePx& margin) in PaintDebugMargin()
|
H A D | rosen_decoration_painter.h | 152 void SetMargin(const EdgePx& margin) in SetMargin() 241 EdgePx margin_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | render_list_item.cpp | 445 EdgePx RenderListItem::GetMarginInPx() const in ResetFocusEffect() 447 EdgePx marginInPx; in ResetFocusEffect()
|
H A D | render_list_item.h | 339 EdgePx GetMarginInPx() const;
|