Home
last modified time | relevance | path

Searched refs:onGetItemMainSizeByIndex (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_item_maps.h127 WaterFlowSections::Section { .itemsCount = 20, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 3 },
128 WaterFlowSections::Section { .itemsCount = 10, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 5 },
129 WaterFlowSections::Section { .itemsCount = 0, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 2 },
130 WaterFlowSections::Section { .itemsCount = 30, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC },
143 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC,
147 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC,
150 WaterFlowSections::Section { .itemsCount = 0, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 1 },
152 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC,
156 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC,
170 .onGetItemMainSizeByIndex
[all...]
H A Dwater_flow_sw_layout_test.cpp1235 .itemsCount = 2, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 3, .margin = MARGIN_1 }, in HWTEST_F()
1237 .itemsCount = 3, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 3, .margin = MARGIN_1 } in HWTEST_F()
1264 .itemsCount = 4, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 3, .margin = MARGIN_1 }, in HWTEST_F()
1266 .itemsCount = 1, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 3, .margin = MARGIN_1 } in HWTEST_F()
1322 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_2, in HWTEST_F()
1347 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_2, in HWTEST_F()
1380 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_2, in HWTEST_F()
1411 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_2, in HWTEST_F()
1442 .onGetItemMainSizeByIndex = GET_MAIN_SIZE_2, in HWTEST_F()
1467 .onGetItemMainSizeByIndex in HWTEST_F()
[all...]
H A Dwater_flow_segment_common_test.cpp163 EXPECT_TRUE(secObj->GetSectionInfo()[1].onGetItemMainSizeByIndex); in HWTEST_F()
586 sections[3].onGetItemMainSizeByIndex = nullptr; in HWTEST_F()
616 sections[3].onGetItemMainSizeByIndex = nullptr; in HWTEST_F()
779 .itemsCount = 10, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 5, .margin = MARGIN_1 } }; in HWTEST_F()
1034 .itemsCount = 1, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 1, .margin = MARGIN_1 } }; in HWTEST_F()
H A Dwater_flow_segment_layout_test.cpp1496 .itemsCount = 10, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 5, .margin = MARGIN_1 } }; in HWTEST_F()
1591 EXPECT_TRUE(secObj->GetSectionInfo()[0].onGetItemMainSizeByIndex); in HWTEST_F()
1618 EXPECT_TRUE(secObj->GetSectionInfo()[0].onGetItemMainSizeByIndex); in HWTEST_F()
H A Dwater_flow_segment_integrated.cpp120 EXPECT_TRUE(secObj->GetSectionInfo()[1].onGetItemMainSizeByIndex); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp146 if (!obj->HasProperty("onGetItemMainSizeByIndex")) { in ParseSectionOptions()
149 auto getSizeByIndex = obj->GetProperty("onGetItemMainSizeByIndex"); in ParseSectionOptions()
154 auto onGetItemMainSizeByIndex = [execCtx = args.GetExecutionContext(), in ParseSectionOptions() local
165 section.onGetItemMainSizeByIndex = std::move(onGetItemMainSizeByIndex); in ParseSectionOptions()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dwaterflow_section_option.h30 void* onGetItemMainSizeByIndex; member
H A Dwaterflow_section_option.cpp217 option->sections[index].onGetItemMainSizeByIndex = reinterpret_cast<void*>(callback); in OH_ArkUI_WaterFlowSectionOption_RegisterGetItemMainSizeCallbackByIndex()
229 option->sections[index].onGetItemMainSizeByIndex = reinterpret_cast<void*>(callback); in OH_ArkUI_WaterFlowSectionOption_RegisterGetItemMainSizeCallbackByIndexWithUserData()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_utils.cpp155 if (section.onGetItemMainSizeByIndex) { in GetUserDefHeight()
156 Dimension len(section.onGetItemMainSizeByIndex(idx), DimensionUnit::VP); in GetUserDefHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_sections.h51 GetItemMainSizeByIndex onGetItemMainSizeByIndex; member
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dwater_flow_modifier.cpp464 if (sectionData.onGetItemMainSizeByIndex) { in SetWaterFlowSectionOptions()
465 section.onGetItemMainSizeByIndex = [sectionData](int32_t value) -> float { in SetWaterFlowSectionOptions()
466 // onGetItemMainSizeByIndex是一个返回float的函数指针 in SetWaterFlowSectionOptions()
468 FuncType func = reinterpret_cast<FuncType>(sectionData.onGetItemMainSizeByIndex); in SetWaterFlowSectionOptions()
473 section.onGetItemMainSizeByIndex = nullptr; in SetWaterFlowSectionOptions()

Completed in 10 milliseconds