Home
last modified time | relevance | path

Searched refs:curSection (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Drender_indexer.cpp449 int32_t curSection = 0; in MoveSection() local
465 ++curSection; in MoveSection()
469 if (curSection >= itemCount_ - 1) { in MoveSection()
473 if (focusedItem_ == curSection) { in MoveSection()
484 BeginFocusAnimation(focusedItem_, curSection); in MoveSection()
486 UpdateCurrentSectionItem(curSection); in MoveSection()
493 focusedItem_ = curSection; in MoveSection()
519 if (focusedItem_ == curSection) { in MoveSectionWithIndexer()
530 BeginFocusAnimation(focusedItem_, curSection); in MoveSectionWithIndexer()
532 UpdateCurrentSectionItem(curSection); in MoveSectionWithIndexer()
[all …]
H A Drender_indexer.h64 virtual void UpdateCurrentSectionItem(int32_t curSection) {} in UpdateCurrentSectionItem() argument
109 void MoveSectionWithIndexer(int32_t curSection);
H A Drender_indexer_circle.h50 void UpdateCurrentSectionItem(int32_t curSection) override;
H A Drender_indexer_circle.cpp382 void RenderIndexerCircle::UpdateCurrentSectionItem(int32_t curSection) in UpdateCurrentSectionItem() argument
389 int32_t index = GetPositionItemIndex(curSection); in UpdateCurrentSectionItem()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_indexer.cpp555 void RenderIndexer::MoveSectionWithIndexer(int32_t curSection) in MoveSectionWithIndexer() argument
557 if (focusedItem_ == curSection) { in MoveSectionWithIndexer()
558 LOGI("Current focused item already is:%{public}d", curSection); in MoveSectionWithIndexer()
567 RefPtr<RenderIndexerItem> curItem = GetSpecificItem(curSection); in MoveSectionWithIndexer()
574 BeginFocusAnimation(focusedItem_, curSection); in MoveSectionWithIndexer()
576 UpdateCurrentSectionItem(curSection); in MoveSectionWithIndexer()
583 focusedItem_ = curSection; in MoveSectionWithIndexer()
H A Drender_indexer.h69 virtual void UpdateCurrentSectionItem(int32_t curSection) {} in UpdateCurrentSectionItem() argument
135 void MoveSectionWithIndexer(int32_t curSection);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp658 const auto& curSection = sections[curSegIdx]; in AdjustLanes() local
659 if (curSection.OnlyCountDiff(prevSection)) { in AdjustLanes()