Searched refs:centerIndex (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_watch_layout_manager.cpp | 152 auto centerIndex = renderList_.GetCenterIndex(); in HandleItemStateAndEffect() local 153 if (index == centerIndex - 1 || index == centerIndex + 1 || in HandleItemStateAndEffect() 154 (centerIndex == INVALID_INDEX && index == renderList_.GetCurrentMaxIndex())) { in HandleItemStateAndEffect()
|
H A D | render_list.h | 491 void SetCenterIndex(int32_t centerIndex) in SetCenterIndex() argument 493 centerIndex_ = centerIndex; in SetCenterIndex()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_scroller_event_test_ng.cpp | 153 int32_t centerIndex; variable 154 … auto event = [&startIndex, &endIndex, ¢erIndex](int32_t start, int32_t end, int32_t center) { in __anoned765ad30302() 157 centerIndex = center; in __anoned765ad30302() 167 EXPECT_EQ(centerIndex, 2); 172 EXPECT_EQ(centerIndex, 3);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_multi_child_scroll.cpp | 904 int32_t centerIndex = -1; in GetFixPositionOnWatch() local 910 …centerIndex = listBase->EstimateIndexByPosition(listPosition + GetMainSize(viewPort_) * HALF_ITEM_… in GetFixPositionOnWatch() 911 itemPosition = listBase->GetItemPosition(centerIndex); in GetFixPositionOnWatch() 912 itemSize = listBase->GetItemPosition(centerIndex + 1) - itemPosition; in GetFixPositionOnWatch() 927 centerIndex = index; in GetFixPositionOnWatch() 934 if (centerIndex == -1) { in GetFixPositionOnWatch()
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | autofillextensionablility-guide.md | 205 .onScrollIndex((firstIndex: number, lastIndex: number, centerIndex: number) => { 208 console.info('center' + centerIndex)
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | autofillextensionablility-guide.md | 205 .onScrollIndex((firstIndex: number, lastIndex: number, centerIndex: number) => { 208 console.info('center' + centerIndex)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-list.md | 1040 .onScrollIndex((firstIndex: number, lastIndex: number, centerIndex: number) => { 1043 console.info('center' + centerIndex)
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-list.md | 1040 .onScrollIndex((firstIndex: number, lastIndex: number, centerIndex: number) => { 1043 console.info('center' + centerIndex)
|