/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_item_maps.h | 145 .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 D | water_flow_sw_layout_test.cpp | 1324 .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 D | water_flow_sections.h | 36 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 D | water_flow_pattern.cpp | 830 .append("{ rowsGap:" + section.rowsGap.value_or(Dimension(0.0)).ToString() + " },")
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | water_flow_component.cpp | 42 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 D | water_flow_component.h | 39 void SetRowsGap(const Dimension& rowsGap);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/ |
H A D | grid_adaptive_layout_algorithm.cpp | 63 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 D | js_water_flow_sections.cpp | 97 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 D | waterflow_section_option.h | 28 float rowsGap; member
|
H A D | waterflow_section_option.cpp | 120 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 D | grid_modifier.cpp | 91 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 D | water_flow_modifier.cpp | 456 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 D | water_flow_segmented_layout.cpp | 221 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 D | water_flow_layout_algorithm.cpp | 47 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 D | grid_model_ng.cpp | 408 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 D | grid_model_ng.h | 84 static void SetRowsGap(FrameNode* frameNode, const Dimension& rowsGap);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_grid_bridge.cpp | 222 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 D | water_flow_layout_sw.cpp | 127 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 D | grid_scroll_layout_algorithm.cpp | 323 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 D | cjui_api.h | 1108 void (*setGridRowsGap)(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2647 void (*setGridRowsGap)(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 5767 rowsGap(value) { 29379 RowsGapModifier.identity = Symbol('rowsGap'); 29617 rowsGap(value) {
|