Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp332 jumpIndex = GetLanesFloor(layoutWrapper, jumpIndex); in HandleJumpAuto()
337 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex); in HandleJumpAuto()
348 } else if (jumpIndex <= startIndex) { in HandleJumpAuto()
350 …GetChildHeight(layoutWrapper, jumpIndex) : MeasureAndGetChildHeight(layoutWrapper, jumpIndex, fals… in HandleJumpAuto()
362 } else if (jumpIndex >= endIndex) { in HandleJumpAuto()
364 …GetChildHeight(layoutWrapper, jumpIndex) : MeasureAndGetChildHeight(layoutWrapper, jumpIndex, fals… in HandleJumpAuto()
458 int32_t tempJumpIndex = jumpIndex; in CheckNoNeedJumpListItem()
462 tempJumpIndex = GetLanesFloor(layoutWrapper, jumpIndex); in CheckNoNeedJumpListItem()
486 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(jumpIndex); in CheckNoNeedJumpListItemGroup()
507 if (jumpIndex >= startIndex && jumpIndex <= endIndex) { in CheckNoNeedJumpListItemGroup()
[all …]
H A Dlist_layout_algorithm.h345 int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos);
348 int32_t startIndex, int32_t endIndex, int32_t jumpIndex);
351 int32_t jumpIndex, float jumpIndexStartPos);
H A Dlist_item_group_layout_algorithm.cpp470 auto jumpIndex = jumpIndex_.value(); in MeasureListItem() local
471 if (jumpIndex < 0 || jumpIndex >= totalItemCount_) { in MeasureListItem()
472 jumpIndex = 0; in MeasureListItem()
476 startIndex = jumpIndex; in MeasureListItem()
478 endIndex = jumpIndex; in MeasureListItem()
480 startIndex = jumpIndex; in MeasureListItem()
482 endIndex = jumpIndex; in MeasureListItem()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_layout_algorithm.h58 void SetJumpIndex(std::optional<int32_t> jumpIndex) in SetJumpIndex() argument
60 jumpIndex_ = jumpIndex; in SetJumpIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.h154 void SetJumpIndex(std::optional<int32_t> jumpIndex) in SetJumpIndex() argument
156 jumpIndex_ = jumpIndex; in SetJumpIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.h931 void SetIndicatorJumpIndex(std::optional<int32_t> jumpIndex);
H A Dswiper_pattern.cpp5845 void SwiperPattern::SetIndicatorJumpIndex(std::optional<int32_t> jumpIndex) in SetIndicatorJumpIndex() argument
5862 indicatorPattern->SetJumpIndex(jumpIndex); in SetIndicatorJumpIndex()
5899 auto jumpIndex = json->GetInt("uiCastJumpIndex"); in FromJson() local
5903 } else if (jumpIndex >= 0) { in FromJson()
5904 jumpIndex_ = jumpIndex; in FromJson()