Home
last modified time | relevance | path

Searched refs:targetIndexInGroup_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.h142 targetIndexInGroup_ = targetIndexInGroup; in SetTargetIndexInGroup()
532 std::optional<int32_t> targetIndexInGroup_; variable
H A Dlist_pattern.h439 std::optional<int32_t> targetIndexInGroup_; variable
H A Dlist_pattern.cpp159 AnimateToTarget(targetIndex_.value(), targetIndexInGroup_, scrollAlign_); in OnDirtyLayoutWrapperSwap()
163 targetIndexInGroup_.reset(); in OnDirtyLayoutWrapperSwap()
599 if (targetIndexInGroup_) { in CreateLayoutAlgorithm()
600 listLayoutAlgorithm->SetTargetIndexInGroup(targetIndexInGroup_.value()); in CreateLayoutAlgorithm()
1390 targetIndexInGroup_ = indexInGroup; in ScrollToItemInGroup()
H A Dlist_layout_algorithm.cpp908 } else if (targetIndexInGroup_.has_value()) { in LayoutDirectionForTargetIndex()
919 …if (targetIndexInGroup_.value() < startIndexInGroup || (isTargetGroupEmpty && Negative(targetGroup… in LayoutDirectionForTargetIndex()
921 } else if (targetIndexInGroup_.value() > endIndexInGroup || in LayoutDirectionForTargetIndex()