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 D | list_layout_algorithm.cpp | 332 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 D | list_layout_algorithm.h | 345 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 D | list_item_group_layout_algorithm.cpp | 470 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 D | tab_bar_layout_algorithm.h | 58 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 D | swiper_indicator_pattern.h | 154 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 D | swiper_pattern.h | 931 void SetIndicatorJumpIndex(std::optional<int32_t> jumpIndex);
|
H A D | swiper_pattern.cpp | 5845 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()
|