/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_item_maps.h | 127 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 D | water_flow_section_test.cpp | 44 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 D | water_flow_segment_integrated.cpp | 117 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 D | water_flow_segment_common_test.cpp | 160 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 D | water_flow_sw_layout_test.cpp | 333 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 D | water_flow_segment_layout_test.cpp | 1496 .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 D | water_flow_sections.h | 35 return itemsCount == other.itemsCount && crossCount == other.crossCount && columnsGap == other.columnsGap && in operator ==() 49 int32_t itemsCount = 0; member
|
H A D | water_flow_sections.cpp | 76 addItemCount += newSections[i].itemsCount; in NotifySectionChange() 80 deleteItemCount += sections_[i].itemsCount; in NotifySectionChange() 84 itemCount += sections_[i].itemsCount; in NotifySectionChange()
|
H A D | water_flow_pattern.cpp | 827 res.append("{ itemCount:" + std::to_string(section.itemsCount) + " },")
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_water_flow_sections.cpp | 124 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 D | list_adapter.h | 29 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 D | list_adapter.cpp | 129 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 D | waterflow_section_option.h | 25 int32_t itemsCount = 0; member
|
H A D | waterflow_section_option.cpp | 65 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 D | water_flow_modifier.cpp | 453 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 D | water_flow_layout_info.cpp | 448 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 D | water_flow_layout_info_sw.cpp | 557 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 D | jsEnumStyle.js | 2690 if (!this.isNonNegativeInt32(section.itemsCount)) { 2716 if (!this.isNonNegativeInt32(section.itemsCount)) { 2727 if (!this.isNonNegativeInt32(section.itemsCount)) {
|