Home
last modified time | relevance | path

Searched refs:itemsCount (Results 1 - 18 of 18) 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 },
142 WaterFlowSections::Section { .itemsCount = 5,
146 WaterFlowSections::Section { .itemsCount = 5,
150 WaterFlowSections::Section { .itemsCount = 0, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 1 },
151 WaterFlowSections::Section { .itemsCount = 30,
155 WaterFlowSections::Section { .itemsCount = 20,
169 WaterFlowSections::Section { .itemsCount
[all...]
H A Dwater_flow_section_test.cpp44 newSection[3].itemsCount = 100; in HWTEST_F()
49 newSection[4].itemsCount = 10; in HWTEST_F()
92 ++sections[2].itemsCount; in HWTEST_F()
96 --sections[3].itemsCount; in HWTEST_F()
H A Dwater_flow_segment_integrated.cpp117 EXPECT_EQ(secObj->GetSectionInfo()[0].itemsCount, 4); in HWTEST_F()
118 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 10); in HWTEST_F()
119 EXPECT_EQ(secObj->GetSectionInfo()[3].itemsCount, 30); in HWTEST_F()
211 EXPECT_EQ(secObj->GetSectionInfo()[0].itemsCount, 4); in HWTEST_F()
252 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 30); in HWTEST_F()
297 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 10); in HWTEST_F()
378 newSection[0].itemsCount = 40; in HWTEST_F()
427 newSection[0].itemsCount = 106; in HWTEST_F()
449 newSection[0].itemsCount = 10; in HWTEST_F()
488 newSection[0].itemsCount in HWTEST_F()
[all...]
H A Dwater_flow_segment_common_test.cpp160 EXPECT_EQ(secObj->GetSectionInfo()[0].itemsCount, 4); in HWTEST_F()
161 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 10); in HWTEST_F()
162 EXPECT_EQ(secObj->GetSectionInfo()[3].itemsCount, 30); in HWTEST_F()
262 EXPECT_EQ(secObj->GetSectionInfo()[0].itemsCount, 4); in HWTEST_F()
298 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 30); in HWTEST_F()
336 EXPECT_EQ(secObj->GetSectionInfo()[1].itemsCount, 10); in HWTEST_F()
402 newSection[0].itemsCount = 40; in HWTEST_F()
443 newSection[0].itemsCount = 106; in HWTEST_F()
458 newSection[0].itemsCount = 10; in HWTEST_F()
493 newSection[0].itemsCount in HWTEST_F()
[all...]
H A Dwater_flow_sw_layout_test.cpp333 section.itemsCount += 4; in HWTEST_F()
346 section.itemsCount -= 4; in HWTEST_F()
947 .itemsCount = 7, .crossCount = 5 } }; in HWTEST_F()
962 newSections = { WaterFlowSections::Section { .itemsCount = 2, .crossCount = 5 } }; in HWTEST_F()
979 newSections = { WaterFlowSections::Section { .itemsCount = 30, .crossCount = 5 } }; in HWTEST_F()
1235 .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()
1321 std::vector<WaterFlowSections::Section> newSection = { WaterFlowSections::Section { .itemsCount in HWTEST_F()
[all...]
H A Dwater_flow_segment_layout_test.cpp1496 .itemsCount = 10, .onGetItemMainSizeByIndex = GET_MAIN_SIZE_FUNC, .crossCount = 5, .margin = MARGIN_1 } }; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_sections.h35 return itemsCount == other.itemsCount && crossCount == other.crossCount && columnsGap == other.columnsGap && in operator ==()
49 int32_t itemsCount = 0; member
H A Dwater_flow_sections.cpp76 addItemCount += newSections[i].itemsCount; in NotifySectionChange()
80 deleteItemCount += sections_[i].itemsCount; in NotifySectionChange()
84 itemCount += sections_[i].itemsCount; in NotifySectionChange()
H A Dwater_flow_pattern.cpp827 res.append("{ itemCount:" + std::to_string(section.itemsCount) + " },")
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp124 if (!obj->HasProperty("itemsCount")) { in ParseSectionOptions()
127 auto itemsCount = obj->GetProperty("itemsCount"); in ParseSectionOptions() local
128 JSViewAbstract::ParseJsInteger(itemsCount, section.itemsCount); in ParseSectionOptions()
129 if (section.itemsCount < 0) { in ParseSectionOptions()
130 LOGW("itemsCount can not be less than 0"); in ParseSectionOptions()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dlist_adapter.h29 int16_t itemsCount; // list-item inside "For type" child count member
31 ListItemValue() : descriptorOrElement(UNDEFINED), getterRetList(UNDEFINED), itemsCount(0), startIndex(0) {} in ListItemValue()
H A Dlist_adapter.cpp129 listItems_[listItemsIndex].itemsCount = 1; in GenerateListItems()
133 itemsCount_ = itemsCount_ + listItems_[listItemsIndex].itemsCount; in GenerateListItems()
136 startIndex = startIndex + listItems_[listItemsIndex].itemsCount; in GenerateListItems()
165 listItems_[listItemsIndex].itemsCount = jerry_get_array_length(getterRetList); in AddForDescriptorToList()
179 itemIndex <= (listItems_[listItemsIndex].startIndex + listItems_[listItemsIndex].itemsCount - 1) && in CalculateItemIndex()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dwaterflow_section_option.h25 int32_t itemsCount = 0; member
H A Dwaterflow_section_option.cpp65 option->sections[index].itemsCount = itemCount; in OH_ArkUI_WaterFlowSectionOption_SetItemCount()
67 option->sections[index].itemsCount = itemCount; in OH_ArkUI_WaterFlowSectionOption_SetItemCount()
161 return option->sections[index].itemsCount; in OH_ArkUI_WaterFlowSectionOption_GetItemCount()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dwater_flow_modifier.cpp453 section.itemsCount = sectionData.itemsCount; in SetWaterFlowSectionOptions()
496 option.sections[i].itemsCount = newSection[i].itemsCount ? newSection[i].itemsCount : 0; in GetWaterFlowSectionOptions()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp448 segmentTails_ = { sections[0].itemsCount - 1 }; in InitSegments()
450 segmentTails_.push_back(segmentTails_[i - 1] + sections[i].itemsCount); in InitSegments()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp557 segmentTails_ = { sections[0].itemsCount - 1 };
559 segmentTails_.push_back(segmentTails_[i - 1] + sections[i].itemsCount);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js2690 if (!this.isNonNegativeInt32(section.itemsCount)) {
2716 if (!this.isNonNegativeInt32(section.itemsCount)) {
2727 if (!this.isNonNegativeInt32(section.itemsCount)) {

Completed in 16 milliseconds