Home
last modified time | relevance | path

Searched refs:rowsGap (Results 1 – 25 of 86) sorted by relevance

1234

/ohos5.0/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,
197 .rowsGap = 2.0_px,
240 .rowsGap = 5.0_vp,
245 .rowsGap = 5.0_vp,
254 .rowsGap = 2.0_px,
262 .rowsGap = 5.0_vp,
267 .rowsGap = 5.0_vp,
277 .rowsGap = 2.0_px,
282 .rowsGap = 2.0_px,
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_sections.h36 rowsGap == other.rowsGap && margin == other.margin;
45 …urn crossCount == other.crossCount && columnsGap == other.columnsGap && rowsGap == other.rowsGap && in OnlyCountDiff()
53 std::optional<Dimension> rowsGap; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/
H A Dgrid_adaptive_layout_algorithm.cpp76 …auto rowsGap = ConvertToPx(gridLayoutProperty->GetRowsGap().value_or(0.0_vp), scale, refHeight).va… in Measure() local
79 auto mainGap = (axis == Axis::HORIZONTAL) ? columnsGap : rowsGap; in Measure()
80 auto crossGap = (axis == Axis::HORIZONTAL) ? rowsGap : columnsGap; in Measure()
97 rowCount * gridCellSize_.Height() + (rowCount - 1) * rowsGap)); in Measure()
179 …auto rowsGap = ConvertToPx(layoutProperty->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height(… in CalculateChildOffset() local
209 auto positionY = rowIndex * (gridCellSize_.Height() + rowsGap); in CalculateChildOffset()
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dwaterflow_optimization.md33 .rowsGap(5)
79 .rowsGap(5)
135 .rowsGap(5)
175 .rowsGap(5)
H A DarkUI-inspector.md40 .rowsGap(0)
90 .rowsGap(0)
H A Dgrid_optimization.md74 .rowsGap(10)
210 .rowsGap(10)
308 .rowsGap(10)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-grid.md175 ### rowsGap subsection
807 .rowsGap(10)
831 .rowsGap(10)
874 .rowsGap(10)
969 .rowsGap(10)
994 .rowsGap(10)
1240 .rowsGap(10)
1366 .rowsGap(10)
1425 .rowsGap(10)
1441 .rowsGap(10)
[all …]
H A Dts-container-waterflow.md181 | rowsGap | [Dimension](ts-types.md#dimension10) | 否 | 该分组的行间距,不设置时使用瀑布流的rowsGap,设置非法值时使用0vp。 |
296 ### rowsGap subsection
298 rowsGap(value: Length)
707 .rowsGap(5)
782 .rowsGap(5)
843 rowsGap: 10,
927 rowsGap: 10,
949 rowsGap: 10,
987 .rowsGap(5)
1097 .rowsGap(5)
[all …]
H A Dts-container-griditem.md298 .rowsGap(4)
322 .rowsGap(4)
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp98 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()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-color-effect.md96 .rowsGap(10)
211 .rowsGap(10)
320 .rowsGap(10)
H A Darkts-layout-development-create-grid.md206 通过Grid的rowsGap和columnsGap可以设置网格布局的行列间距。在图5所示的计算器中,行间距为15vp,列间距为10vp。
214 .rowsGap(15)
247 .rowsGap(15)
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.3.3/
H A Dchangelogs-arkui.md149 Scroller调用scrollTo方法控制Grid组件跳转超过Grid当前页面主轴方向高度距离时,存在跳转位置会有rowsGap*行数的误差的Bug。现问题已修复。
165 变更前:Grid组件,调用Scroller的scrollTo接口,跳转超过一屏时,跳转位置会有rowsGap*行数的误差。
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dwaterflow_section_option.cpp125 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
127 option->sections[index].rowsGap = rowGap; in OH_ArkUI_WaterFlowSectionOption_SetRowGap()
196 return option->sections[index].rowsGap; in OH_ArkUI_WaterFlowSectionOption_GetRowGap()
H A Dwaterflow_section_option.h28 float rowsGap; member
/ohos5.0/docs/en/application-dev/performance/
H A Dwaterflow_optimization.md33 .rowsGap(5)
81 .rowsGap(5)
136 .rowsGap(5)
178 .rowsGap(5)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgrid_modifier.cpp95 void SetGridRowsGap(ArkUINodeHandle node, const struct ArkUIResourceLength* rowsGap) in SetGridRowsGap() argument
99 auto unitEnum = static_cast<OHOS::Ace::DimensionUnit>(rowsGap->unit); in SetGridRowsGap()
102 gap = CalcDimension(rowsGap->string, DimensionUnit::CALC); in SetGridRowsGap()
104 gap = CalcDimension(rowsGap->value, unitEnum); in SetGridRowsGap()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-color-effect.md96 .rowsGap(10)
211 .rowsGap(10)
320 .rowsGap(10)
/ohos5.0/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()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-grid.md175 ### rowsGap subsection
805 .rowsGap(10)
829 .rowsGap(10)
872 .rowsGap(10)
967 .rowsGap(10)
992 .rowsGap(10)
1238 .rowsGap(10)
1364 .rowsGap(10)
1423 .rowsGap(10)
1439 .rowsGap(10)
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dwater-wave-animation.md46 .rowsGap(10)
184 .rowsGap(10)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_segmented_layout.cpp228 auto rowGap = options[i].rowsGap.value_or(props->GetRowsGap().value_or(0.0_vp)); in SegmentedInit()
256 …auto rowsGap = ConvertToPx(props->GetRowsGap().value_or(0.0_vp), scale, frameSize.Height()).value_… in RegularInit() local
258 mainGaps_ = { axis_ == Axis::HORIZONTAL ? columnsGap : rowsGap }; in RegularInit()
259 crossGaps_ = { axis_ == Axis::VERTICAL ? columnsGap : rowsGap }; in RegularInit()
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/
H A DtestGrid.ets45 .rowsGap(8)
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/
H A DtestGrid.ets46 .rowsGap(8)

1234