/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_section_test.cpp | 43 auto newSection = SECTION_5; variable 44 newSection[3].itemsCount = 100; 45 s.ChangeData(0, 5, newSection); 49 newSection[4].itemsCount = 10; 50 s.ChangeData(4, 1, { newSection[4] }); 54 newSection[4].crossCount = 3; 55 s.ChangeData(4, 1, { newSection[4] }); 60 s.ChangeData(4, 20, { newSection[4] }); 64 s.ChangeData(5, 20, { newSection[4] }); 67 EXPECT_EQ(s.sections_[5], newSection[4]);
|
H A D | water_flow_segment_integrated.cpp | 378 newSection[0].itemsCount = 40; 379 secObj->ChangeData(3, 1, newSection); 427 newSection[0].itemsCount = 106; 428 secObj->ChangeData(0, 1, newSection); 449 newSection[0].itemsCount = 10; 450 secObj->ChangeData(0, 1, newSection); 488 newSection[0].itemsCount = 10; 489 secObj->ChangeData(2, 1, newSection); 528 auto newSection = SECTION_9; variable 529 newSection[0].itemsCount = 0; [all …]
|
H A D | water_flow_segment_common_test.cpp | 402 newSection[0].itemsCount = 40; 403 secObj->ChangeData(3, 1, newSection); 443 newSection[0].itemsCount = 106; 444 secObj->ChangeData(0, 1, newSection); 458 newSection[0].itemsCount = 10; 459 secObj->ChangeData(0, 1, newSection); 495 newSection[0].itemsCount = 10; 530 auto newSection = SECTION_9; variable 531 newSection[0].itemsCount = 0; 876 auto newSection = SECTION_8; variable [all …]
|
H A D | water_flow_segment_layout_test.cpp | 1495 std::vector<WaterFlowSections::Section> newSection = { WaterFlowSections::Section { variable 1497 secObj->ChangeData(1, 1, newSection);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | water_flow_modifier.cpp | 497 auto newSection = WaterFlowModelNG::GetOrCreateWaterFlowSections(frameNode)->GetSectionInfo(); in GetWaterFlowSectionOptions() local 498 auto sectionsCount = newSection.size(); in GetWaterFlowSectionOptions() 501 option.sections[i].itemsCount = newSection[i].itemsCount ? newSection[i].itemsCount : 0; in GetWaterFlowSectionOptions() 502 …option.sections[i].crossCount = newSection[i].crossCount.has_value() ? newSection[i].crossCount.va… in GetWaterFlowSectionOptions() 503 …option.sections[i].columnsGap = newSection[i].columnsGap.has_value() ? newSection[i].columnsGap->V… in GetWaterFlowSectionOptions() 504 …option.sections[i].rowsGap = newSection[i].rowsGap.has_value() ? newSection[i].rowsGap->Value() : … in GetWaterFlowSectionOptions() 506 … newSection[i].margin->top.has_value() ? newSection[i].margin->top->GetDimension().Value() : 0.0f; in GetWaterFlowSectionOptions() 508 …newSection[i].margin->right.has_value() ? newSection[i].margin->right->GetDimension().Value() : 0.… in GetWaterFlowSectionOptions() 510 …newSection[i].margin->bottom.has_value() ? newSection[i].margin->bottom->GetDimension().Value() : … in GetWaterFlowSectionOptions() 512 …newSection[i].margin->left.has_value() ? newSection[i].margin->left->GetDimension().Value() : 0.0f; in GetWaterFlowSectionOptions()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-waterflow.md | 908 let newSection: SectionOptions = { 916 this.sections.splice(0, oldLength, [newSection]) 923 let newSection: SectionOptions = { 937 const result: boolean = this.sections.update(1, newSection) 945 let newSection: SectionOptions = { 959 this.sections.update(1, newSection) 1000 let newSection: SectionOptions = sections[this.sections.length() - 1]; 1001 newSection.itemsCount += 100; 1002 this.sections.update(-1, newSection);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_water_flow.cpp | 82 auto newSection = sectionArray->GetValueAt(j); in ParseChanges() local 83 if (JSWaterFlowSections::ParseSectionOptions(args, newSection, section)) { in ParseChanges() 99 auto newSection = sectionArray->GetValueAt(j); in ParseSections() local 100 if (JSWaterFlowSections::ParseSectionOptions(args, newSection, section)) { in ParseSections()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-waterflow.md | 908 let newSection: SectionOptions = { 916 this.sections.splice(0, oldLength, [newSection]) 923 let newSection: SectionOptions = { 937 const result: boolean = this.sections.update(1, newSection) 945 let newSection: SectionOptions = { 959 this.sections.update(1, newSection) 1000 let newSection: SectionOptions = sections[this.sections.length() - 1]; 1001 newSection.itemsCount += 100; 1002 this.sections.update(-1, newSection);
|