Home
last modified time | relevance | path

Searched refs:marginProperty (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/
H A Drich_editor_drag_overlay_modifier.cpp118 const auto& marginProperty = layoutProperty->GetMarginProperty(); in PaintImageNode() local
119 if (marginProperty) { in PaintImageNode()
121marginProperty->left.has_value() ? marginProperty->left->GetDimension().ConvertToPx() : 0.0f; in PaintImageNode()
122 …marginTop = marginProperty->top.has_value() ? marginProperty->top->GetDimension().ConvertToPx() : … in PaintImageNode()
159 const auto& marginProperty = layoutProperty->GetMarginProperty(); in PaintFrameNode() local
160 if (marginProperty) { in PaintFrameNode()
162marginProperty->left.has_value() ? marginProperty->left->GetDimension().ConvertToPx() : 0.0f; in PaintFrameNode()
163 …marginTop = marginProperty->top.has_value() ? marginProperty->top->GetDimension().ConvertToPx() : … in PaintFrameNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp108 NG::MarginProperty marginProperty; in ParseGaps() local
109 ParseMargin(margin, marginProperty); in ParseGaps()
110 section.margin = marginProperty; in ParseGaps()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.cpp1645 CHECK_NULL_VOID(marginProperty); in CheckLocalizedMargin()
1646 if (!marginProperty->start.has_value() && !marginProperty->end.has_value()) { in CheckLocalizedMargin()
1650 if (marginProperty->start.has_value()) { in CheckLocalizedMargin()
1651 margin.start = marginProperty->start; in CheckLocalizedMargin()
1658 if (marginProperty->end.has_value()) { in CheckLocalizedMargin()
1659 margin.end = marginProperty->end; in CheckLocalizedMargin()
1661 margin.left = marginProperty->end; in CheckLocalizedMargin()
1663 margin.right = marginProperty->end; in CheckLocalizedMargin()
1666 if (marginProperty->top.has_value()) { in CheckLocalizedMargin()
1667 margin.top = marginProperty->top; in CheckLocalizedMargin()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_dialog_view.cpp312 MarginProperty marginProperty; in CreateIconItemNode() local
313 marginProperty.left = CalcLength(pickerTheme->GetPaddingHorizontal()); in CreateIconItemNode()
315 layoutProps->UpdateMargin(marginProperty); in CreateIconItemNode()
330 MarginProperty marginProperty; in CreateTextItemNode() local
331 marginProperty.left = CalcLength(pickerTheme->GetPaddingHorizontal()); in CreateTextItemNode()
333 textLayout->UpdateMargin(marginProperty); in CreateTextItemNode()
343 MarginProperty marginProperty; in CreateMixtureItemNode() local
344 marginProperty.left = CalcLength(pickerTheme->GetPaddingHorizontal()); in CreateMixtureItemNode()
346 rowProperty->UpdateMargin(marginProperty); in CreateMixtureItemNode()
397 MarginProperty marginProperty; in CreateStackNode() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_content_modifier.cpp317 const auto& marginProperty = layoutProperty->GetMarginProperty(); in DrawImage() local
320 if (marginProperty) { in DrawImage()
321 …marginLeft = marginProperty->left.has_value() ? marginProperty->left->GetDimension().ConvertToPx()… in DrawImage()
322 …marginTop = marginProperty->top.has_value() ? marginProperty->top->GetDimension().ConvertToPx() : … in DrawImage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp1131 MarginProperty marginProperty; in UpdateLoadingMarginTop() local
1132 marginProperty.left = CalcLength(0.0f); in UpdateLoadingMarginTop()
1133 marginProperty.right = CalcLength(0.0f); in UpdateLoadingMarginTop()
1134 marginProperty.bottom = CalcLength(0.0f); in UpdateLoadingMarginTop()
1135 marginProperty.top = CalcLength(top); in UpdateLoadingMarginTop()
1136 progressLayoutProperty->UpdateMargin(marginProperty); in UpdateLoadingMarginTop()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp4366 Dimension marginProperty(marginHeight, DimensionUnit::PX); in UpdateCounterMargin() local
4368 margin.bottom = CalcLength(marginProperty); in UpdateCounterMargin()
4373 if (LessNotEqual(systemMargin.ConvertToPx(), marginProperty.ConvertToPx())) { in UpdateCounterMargin()
4374 margin.bottom = CalcLength(marginProperty); in UpdateCounterMargin()