Searched refs:rowGap (Results 1 - 12 of 12) sorted by relevance
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_water_flow_sections.cpp | 99 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 D | js_water_flow.cpp | 279 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 D | js_grid.cpp | 283 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 D | waterflow_section_option.cpp | 108 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 D | style_modifier.cpp | 12573 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 D | grid_layout_component.cpp | 123 void GridLayoutComponent::SetRowGap(const Dimension& rowGap) in SetRowGap() argument 125 if (rowGap.Value() < 0.0) { in SetRowGap() 130 rowGap_ = rowGap; in SetRowGap()
|
H A D | grid_layout_component.h | 62 void SetRowGap(const Dimension& rowGap);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/div/ |
H A D | div_declaration.h | 39 double rowGap = 0.0; member
|
H A D | div_declaration.cpp | 126 divStyle.rowGap = StringToDouble(value); in SetSpecializedStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_water_flow_bridge.cpp | 173 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 D | water_flow_segmented_layout.cpp | 221 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 D | native_type.h | 2343 * @param rowGap Indicates the gap between rows to set. 2347 int32_t index, float rowGap);
|
Completed in 38 milliseconds