Searched refs:footerIndex (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_layout_algorithm.h | 32 MenuItemGroupLayoutAlgorithm(int32_t headerIndex, int32_t footerIndex, int32_t itemStartIndex) in MenuItemGroupLayoutAlgorithm() argument 33 : headerIndex_(headerIndex), footerIndex_(footerIndex), itemStartIndex_(itemStartIndex) in MenuItemGroupLayoutAlgorithm()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_group_algorithm_test_ng.cpp | 378 const int32_t footerIndex = 0; variable 385 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), expectOffset); 387 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), expectOffset + ITEM_HEIGHT); 397 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), expectOffset); 399 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), expectOffset + ITEM_HEIGHT); 498 const int32_t footerIndex = 0; variable 506 EXPECT_EQ(GetChildX(secondGroupNode, footerIndex), 60.f); 508 EXPECT_EQ(GetChildX(secondGroupNode, footerIndex), 60.f); 518 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), 0.f); 520 EXPECT_EQ(GetChildY(secondGroupNode, footerIndex), 0.f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_layout_algorithm.h | 70 ListItemGroupLayoutAlgorithm(int32_t headerIndex, int32_t footerIndex, int32_t itemStartIndex) in ListItemGroupLayoutAlgorithm() argument 71 :headerIndex_(headerIndex), footerIndex_(footerIndex), itemStartIndex_(itemStartIndex) {} in ListItemGroupLayoutAlgorithm()
|
H A D | list_item_group_pattern.cpp | 387 int32_t footerIndex = -1; in CalculateItemStartIndex() local 401 footerIndex = itemStartIndex; in CalculateItemStartIndex() 406 footerIndex_ = footerIndex; in CalculateItemStartIndex()
|