Home
last modified time | relevance | path

Searched refs:LAST_ITEM (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_scroller_test_ng.cpp133 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 Dwater_flow_regular_test.cpp177 pattern_->ScrollToIndex(LAST_ITEM);
178 EXPECT_EQ(info->jumpIndex_, LAST_ITEM);
H A Dwater_flow_top_down_test.cpp556 pattern_->ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset);
569 pattern_->ScrollToIndex(LAST_ITEM, false, ScrollAlign::END, extraOffset);
H A Dwater_flow_segment_common_test.cpp885 pattern_->ScrollToIndex(LAST_ITEM);
886 EXPECT_EQ(info_->jumpIndex_, LAST_ITEM);
H A Dwater_flow_scroller_test_ng.cpp539 pattern_->ScrollToIndex(LAST_ITEM);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_scroller_test_ng.cpp556 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 Dscrollable_properties.h35 constexpr int32_t LAST_ITEM = -1; variable
H A Dscrollable_pattern.cpp2479 ScrollToIndex(LAST_ITEM, false, ScrollAlign::END); in ScrollToEdge()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_pattern.cpp340 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 Dlist_item_group_layout_algorithm.h68 static const int32_t LAST_ITEM = -1; variable
H A Dlist_layout_algorithm.h85 static constexpr int32_t LAST_ITEM = -1; variable
H A Dlist_layout_algorithm.cpp674 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 Dlist_pattern.cpp1218 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 Dlist_item_group_layout_algorithm.cpp467 if (jumpIndex_.value() == LAST_ITEM) { in MeasureListItem()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp561 if (targetIdx == LAST_ITEM) { in GetAnimatePosIrregular()
972 jumpIndex_ = LAST_ITEM; in PrepareJumpToBottom()
H A Dgrid_pattern.cpp1939 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 Dwater_flow_layout_algorithm.cpp160 if (layoutInfo_->targetIndex_.value() == LAST_ITEM) { in MeasureToTarget()
H A Dwater_flow_segmented_layout.cpp361 if (jumpIdx == LAST_ITEM) { in MeasureOnJump()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_irregular_layout_algorithm.cpp322 if (info_.jumpIndex_ == LAST_ITEM) { in Jump()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_sw.cpp551 if (jumpIdx == LAST_ITEM) { in MeasureOnJump()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp853 if (gridLayoutInfo_.jumpIndex_ < 0 && gridLayoutInfo_.jumpIndex_ != LAST_ITEM) { in UpdateGridLayoutInfo()
856 if (gridLayoutInfo_.jumpIndex_ == LAST_ITEM) { in UpdateGridLayoutInfo()