/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_scroller_test_ng.cpp | 133 int32_t index = LAST_ITEM; 188 int32_t index = LAST_ITEM; 419 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset); 429 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset); 457 ScrollToIndex(LAST_ITEM, true, ScrollAlign::END, extraOffset); 465 ScrollToIndex(LAST_ITEM, true, ScrollAlign::END, extraOffset); 825 EXPECT_EQ(pattern_->GetGridLayoutInfo().jumpIndex_, LAST_ITEM); 887 EXPECT_EQ(pattern_->GetGridLayoutInfo().jumpIndex_, LAST_ITEM);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_regular_test.cpp | 177 pattern_->ScrollToIndex(LAST_ITEM); 178 EXPECT_EQ(info->jumpIndex_, LAST_ITEM);
|
H A D | water_flow_top_down_test.cpp | 556 pattern_->ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset); 569 pattern_->ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset);
|
H A D | water_flow_segment_common_test.cpp | 885 pattern_->ScrollToIndex(LAST_ITEM); 886 EXPECT_EQ(info_->jumpIndex_, LAST_ITEM);
|
H A D | water_flow_scroller_test_ng.cpp | 539 pattern_->ScrollToIndex(LAST_ITEM);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_scroller_test_ng.cpp | 556 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset); 566 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset); 591 ScrollToIndex(LAST_ITEM, true, ScrollAlign::END, extraOffset); 601 ScrollToIndex(LAST_ITEM, true, ScrollAlign::END, extraOffset); 716 int32_t index = ListLayoutAlgorithm::LAST_ITEM; 920 ScrollToItemInGroup(ListLayoutAlgorithm::LAST_ITEM, 1, true, ScrollAlign::START); 995 ScrollToIndex(ListLayoutAlgorithm::LAST_ITEM, true, ScrollAlign::START); 1452 ScrollToIndex(ListLayoutAlgorithm::LAST_ITEM, true, ScrollAlign::START);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_properties.h | 35 constexpr int32_t LAST_ITEM = -1; variable
|
H A D | scrollable_pattern.cpp | 2479 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END); in ScrollToEdge()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/ |
H A D | water_flow_pattern.cpp | 340 if (index == LAST_ITEM) { in ScrollToTargetIndex() 375 layoutInfo_->jumpIndex_ = (index == LAST_ITEM ? childCount - 1 : index); in UpdateStartIndex()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_layout_algorithm.h | 68 static const int32_t LAST_ITEM = -1; variable
|
H A D | list_layout_algorithm.h | 85 static constexpr int32_t LAST_ITEM = -1; variable
|
H A D | list_layout_algorithm.cpp | 674 if (jumpIndex_.value() == LAST_ITEM) { in CheckJumpValid() 692 if (jumpIndexInGroup_.value() == LAST_ITEM) { in CheckJumpValid() 772 if (targetIndex_.value() == LAST_ITEM) { in MeasureList() 1623 jumpIndexInGroup_ = LAST_ITEM; in SetListItemGroupJumpIndex()
|
H A D | list_pattern.cpp | 1218 pattern->ScrollToIndex(ListLayoutAlgorithm::LAST_ITEM, false, ScrollAlign::END); in GetScrollIndexAbility() 1333 if (index >= 0 || index == ListLayoutAlgorithm::LAST_ITEM) { in ScrollToIndex() 1382 if (index >= 0 || index == ListLayoutAlgorithm::LAST_ITEM) { in ScrollToItemInGroup()
|
H A D | list_item_group_layout_algorithm.cpp | 467 if (jumpIndex_.value() == LAST_ITEM) { in MeasureListItem()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_layout_info.cpp | 561 if (targetIdx == LAST_ITEM) { in GetAnimatePosIrregular() 972 jumpIndex_ = LAST_ITEM; in PrepareJumpToBottom()
|
H A D | grid_pattern.cpp | 1939 if (((index >= 0) && (index < totalChildCount)) || (index == LAST_ITEM)) { in ScrollToIndex() 1958 ScrollToIndex(LAST_ITEM, smooth); in ScrollToEdge()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_algorithm.cpp | 160 if (layoutInfo_->targetIndex_.value() == LAST_ITEM) { in MeasureToTarget()
|
H A D | water_flow_segmented_layout.cpp | 361 if (jumpIdx == LAST_ITEM) { in MeasureOnJump()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_irregular_layout_algorithm.cpp | 322 if (info_.jumpIndex_ == LAST_ITEM) { in Jump()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_sw.cpp | 551 if (jumpIdx == LAST_ITEM) { in MeasureOnJump()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.cpp | 853 if (gridLayoutInfo_.jumpIndex_ < 0 && gridLayoutInfo_.jumpIndex_ != LAST_ITEM) { in UpdateGridLayoutInfo() 856 if (gridLayoutInfo_.jumpIndex_ == LAST_ITEM) { in UpdateGridLayoutInfo()
|