Home
last modified time | relevance | path

Searched refs:rowGap (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp99 CalcDimension rowGap; in ParseGaps() local
100 if (!JSViewAbstract::ParseJsDimensionVp(rowsGap, rowGap) || rowGap.Value() < 0) { in ParseGaps()
101 rowGap.SetValue(0.0); in ParseGaps()
103 section.rowsGap = rowGap; in ParseGaps()
H A Djs_water_flow.cpp279 CalcDimension rowGap; in SetRowsGap() local
280 if (!ParseJsDimensionVp(info[0], rowGap) || rowGap.Value() < 0) { in SetRowsGap()
281 rowGap.SetValue(0.0); in SetRowsGap()
283 WaterFlowModel::GetInstance()->SetRowsGap(rowGap); in SetRowsGap()
H A Djs_grid.cpp283 CalcDimension rowGap; in SetRowsGap() local
285 if (!ParseJsDimensionVp(info[0], rowGap) || rowGap.Value() < 0) { in SetRowsGap()
286 rowGap.SetValue(0.0); in SetRowsGap()
289 GridModel::GetInstance()->SetRowsGap(rowGap); in SetRowsGap()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dwaterflow_section_option.cpp108 void OH_ArkUI_WaterFlowSectionOption_SetRowGap(ArkUI_WaterFlowSectionOption* option, int32_t index, float rowGap) in OH_ArkUI_WaterFlowSectionOption_SetRowGap() argument
114 if (rowGap < 0) { in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
115 rowGap = 0.0; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
120 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
122 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
H A Dstyle_modifier.cpp12573 ArkUIResourceLength rowGap = { item->value[NUM_0].f32, GetDefaultUnit(node, UNIT_VP), nullptr }; in SetGridRowsGap() local
12574 fullImpl->getNodeModifiers()->getGridModifier()->setGridRowsGap(node->uiNodeHandle, &rowGap); in SetGridRowsGap()
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Dgrid_layout_component.cpp123 void GridLayoutComponent::SetRowGap(const Dimension& rowGap) in SetRowGap() argument
125 if (rowGap.Value() < 0.0) { in SetRowGap()
130 rowGap_ = rowGap; in SetRowGap()
H A Dgrid_layout_component.h62 void SetRowGap(const Dimension& rowGap);
/foundation/arkui/ace_engine/frameworks/core/components/declaration/div/
H A Ddiv_declaration.h39 double rowGap = 0.0; member
H A Ddiv_declaration.cpp126 divStyle.rowGap = StringToDouble(value); in SetSpecializedStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_water_flow_bridge.cpp173 CalcDimension rowGap; in SetRowsGap() local
175 if (rowsGapArg->IsUndefined() || !ArkTSUtils::ParseJsDimensionVpNG(vm, rowsGapArg, rowGap)) { in SetRowsGap()
178 if (LessNotEqual(rowGap.Value(), DIMENSION_DEFAULT)) { in SetRowsGap()
179 rowGap.SetValue(DIMENSION_DEFAULT); in SetRowsGap()
181 if (rowGap.Unit() == DimensionUnit::CALC) { in SetRowsGap()
183 nativeNode, 0, static_cast<int32_t>(rowGap.Unit()), rowGap.CalcValue().c_str()); in SetRowsGap()
186 nativeNode, rowGap.Value(), static_cast<int32_t>(rowGap.Unit()), calcStr.c_str()); in SetRowsGap()
/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() local
223 mainGaps_[i] = ConvertToPx(rowGap, scale, frameSize.Height()).value_or(0.0f); in SegmentedInit()
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_type.h2343 * @param rowGap Indicates the gap between rows to set.
2347 int32_t index, float rowGap);

Completed in 38 milliseconds