Home
last modified time | relevance | path

Searched refs:rowsGap (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_item_maps.h145 .rowsGap = 5.0_px },
153 .rowsGap = 1.0_px,
158 .rowsGap = 2.0_px },
172 .rowsGap = 5.0_px },
197 .rowsGap = 2.0_px,
220 { .itemsCount = 3, .crossCount = 3, .margin = MARGIN_2, .rowsGap = Dimension(5.0f) },
221 { .itemsCount = 2, .crossCount = 2, .margin = MARGIN_2, .rowsGap = Dimension(5.0f) },
240 .rowsGap = 5.0_vp,
245 .rowsGap = 5.0_vp,
254 .rowsGap
[all...]
H A Dwater_flow_sw_layout_test.cpp1324 .rowsGap = 5.0_vp, in HWTEST_F()
1349 .rowsGap = 5.0_vp, in HWTEST_F()
1382 .rowsGap = 5.0_vp, in HWTEST_F()
1413 .rowsGap = 5.0_vp, in HWTEST_F()
1444 .rowsGap = 5.0_vp, in HWTEST_F()
1469 .rowsGap = 5.0_vp, in HWTEST_F()
1515 .rowsGap = 10.0_vp, in HWTEST_F()
1561 .rowsGap = 10.0_vp, in HWTEST_F()
1566 .rowsGap = 10.0_vp, in HWTEST_F()
1646 .rowsGap in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_sections.h36 rowsGap == other.rowsGap && margin == other.margin; in operator ==()
45 return crossCount == other.crossCount && columnsGap == other.columnsGap && rowsGap == other.rowsGap && in OnlyCountDiff()
53 std::optional<Dimension> rowsGap; member
H A Dwater_flow_pattern.cpp830 .append("{ rowsGap:" + section.rowsGap.value_or(Dimension(0.0)).ToString() + " },")
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_component.cpp42 void WaterFlowComponent::SetRowsGap(const Dimension& rowsGap) in SetRowsGap() argument
44 if (LessNotEqual(rowsGap.Value(), 0.0)) { in SetRowsGap()
49 rowsGap_ = rowsGap; in SetRowsGap()
H A Dwater_flow_component.h39 void SetRowsGap(const Dimension& rowsGap);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/
H A Dgrid_adaptive_layout_algorithm.cpp63 auto rowsGap = ConvertToPx(gridLayoutProperty->GetRowsGap().value_or(0.0_vp), scale, refHeight).value_or(0); in Measure() local
66 auto mainGap = (axis == Axis::HORIZONTAL) ? columnsGap : rowsGap; in Measure()
67 auto crossGap = (axis == Axis::HORIZONTAL) ? rowsGap : columnsGap; in Measure()
84 rowCount * gridCellSize_.Height() + (rowCount - 1) * rowsGap)); in Measure()
166 auto rowsGap = ConvertToPx(layoutProperty->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_or(0); in CalculateChildOffset() local
196 auto positionY = rowIndex * (gridCellSize_.Height() + rowsGap); in CalculateChildOffset()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp97 if (obj->HasProperty("rowsGap")) { in ParseGaps()
98 auto rowsGap = obj->GetProperty("rowsGap"); in ParseGaps() local
100 if (!JSViewAbstract::ParseJsDimensionVp(rowsGap, rowGap) || rowGap.Value() < 0) { in ParseGaps()
103 section.rowsGap = rowGap; in ParseGaps()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dwaterflow_section_option.h28 float rowsGap; member
H A Dwaterflow_section_option.cpp120 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
122 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
191 return option->sections[index].rowsGap; in OH_ArkUI_WaterFlowSectionOption_GetRowGap()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgrid_modifier.cpp91 void SetGridRowsGap(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap) in SetGridRowsGap() argument
95 auto unitEnum = static_cast<OHOS::Ace::DimensionUnit>(rowsGap->unit); in SetGridRowsGap()
98 gap = CalcDimension(rowsGap->string, DimensionUnit::CALC); in SetGridRowsGap()
100 gap = CalcDimension(rowsGap->value, unitEnum); in SetGridRowsGap()
H A Dwater_flow_modifier.cpp456 section.rowsGap = Dimension(sectionData.rowsGap); in SetWaterFlowSectionOptions()
499 option.sections[i].rowsGap = newSection[i].rowsGap.has_value() ? newSection[i].rowsGap->Value() : 0.0f; in GetWaterFlowSectionOptions()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_segmented_layout.cpp221 auto rowGap = options[i].rowsGap.value_or(props_->GetRowsGap().value_or(0.0_vp)); in SegmentedInit()
248 auto rowsGap = ConvertToPx(props_->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_or(0); in RegularInit() local
250 mainGaps_ = { axis_ == Axis::HORIZONTAL ? columnsGap : rowsGap }; in RegularInit()
251 crossGaps_ = { axis_ == Axis::VERTICAL ? columnsGap : rowsGap }; in RegularInit()
H A Dwater_flow_layout_algorithm.cpp47 auto rowsGap = ConvertToPx(layoutProperty->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_or(0); in InitialItemsCrossSize() local
50 mainGap_ = axis_ == Axis::HORIZONTAL ? columnsGap : rowsGap; in InitialItemsCrossSize()
51 crossGap_ = axis_ == Axis::VERTICAL ? columnsGap : rowsGap; in InitialItemsCrossSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_model_ng.cpp408 void GridModelNG::SetRowsGap(FrameNode* frameNode, const Dimension& rowsGap) in SetRowsGap() argument
410 if (rowsGap.IsNonNegative()) { in SetRowsGap()
411 ACE_UPDATE_NODE_LAYOUT_PROPERTY(GridLayoutProperty, RowsGap, rowsGap, frameNode); in SetRowsGap()
H A Dgrid_model_ng.h84 static void SetRowsGap(FrameNode* frameNode, const Dimension& rowsGap);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_grid_bridge.cpp222 struct ArkUIResourceLength rowsGap = { 0.0, 0, nullptr }; in SetRowsGap() local
227 rowsGap.unit = static_cast<int32_t>(DimensionUnit::CALC); in SetRowsGap()
229 rowsGap.string = calcStr.c_str(); in SetRowsGap()
230 GetArkUINodeModifiers()->getGridModifier()->setGridRowsGap(nativeNode, &rowsGap); in SetRowsGap()
232 rowsGap.value = size.Value(); in SetRowsGap()
233 rowsGap.unit = static_cast<int32_t>(size.Unit()); in SetRowsGap()
234 rowsGap.string = calcStr.c_str(); in SetRowsGap()
235 GetArkUINodeModifiers()->getGridModifier()->setGridRowsGap(nativeNode, &rowsGap); in SetRowsGap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_sw.cpp127 auto rowsGap = ConvertToPx(props_->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_or(0); in SingleInit() local
129 mainGaps_ = { axis_ == Axis::HORIZONTAL ? columnsGap : rowsGap }; in SingleInit()
130 crossGaps_ = { axis_ == Axis::VERTICAL ? columnsGap : rowsGap }; in SingleInit()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp323 auto rowsGap = ConvertToPx(layoutProperty->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_or(0); in InitialItemsCrossSize() local
326 mainGap_ = axis_ == Axis::HORIZONTAL ? columnsGap : rowsGap; in InitialItemsCrossSize()
327 crossGap_ = axis_ == Axis::VERTICAL ? columnsGap : rowsGap; in InitialItemsCrossSize()
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h1108 void (*setGridRowsGap)(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap);
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h2647 void (*setGridRowsGap)(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js5767 rowsGap(value) {
29379 RowsGapModifier.identity = Symbol('rowsGap');
29617 rowsGap(value) {

Completed in 73 milliseconds