Home
last modified time | relevance | path

Searched refs:IsScrollSnapAlignCenter (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp142 IsScrollSnapAlignCenter(layoutWrapper)) { in Measure()
511 (IsScrollSnapAlignCenter(layoutWrapper) ? 0.0f : contentStartOffset_); in CheckNoNeedJumpListItemGroup()
513 (IsScrollSnapAlignCenter(layoutWrapper) ? 0.0f : contentEndOffset_); in CheckNoNeedJumpListItemGroup()
659 if (IsScrollSnapAlignCenter(layoutWrapper) && !itemPosition_.empty()) { in UpdateSnapCenterContentOffset()
704 if (!isGroup || IsScrollSnapAlignCenter(layoutWrapper) || in CheckAndMeasureStartItem()
795 if (IsScrollSnapAlignCenter(layoutWrapper)) { in MeasureList()
852 if (IsScrollSnapAlignCenter(layoutWrapper)) { in MeasureList()
865 if (IsScrollSnapAlignCenter(layoutWrapper)) { in MeasureList()
885 if (IsScrollSnapAlignCenter(layoutWrapper)) { in MeasureList()
1250 bool ListLayoutAlgorithm::IsScrollSnapAlignCenter(LayoutWrapper* layoutWrapper) in IsScrollSnapAlignCenter() function in OHOS::Ace::NG::ListLayoutAlgorithm
[all …]
H A Dlist_pattern.cpp541 !IsScrollSnapAlignCenter()) { in CheckScrollable()
653 bool ListPattern::IsScrollSnapAlignCenter() const in IsScrollSnapAlignCenter() function in OHOS::Ace::NG::ListPattern
1205 IsScrollSnapAlignCenter() ? 0 : contentStartOffset_, in GetScrollOffsetAbility()
1206 IsScrollSnapAlignCenter() ? 0 : contentEndOffset_, in GetScrollOffsetAbility()
1411 if (!IsScrollSnapAlignCenter() || childrenSize_) { in GetListItemAnimatePos()
1420 if (!IsScrollSnapAlignCenter() || childrenSize_) { in GetListItemAnimatePos()
1453 if (!IsScrollSnapAlignCenter() || childrenSize_) { in GetListItemGroupAnimatePosWithoutIndexInGroup()
1468 if (!IsScrollSnapAlignCenter() || childrenSize_) { in GetListItemGroupAnimatePosWithoutIndexInGroup()
1528 if (!IsScrollSnapAlignCenter() || childrenSize_) { in GetListItemGroupAnimatePosWithIndexInGroup()
1630 if (!IsScrollSnapAlignCenter()) { in HandleScrollBarOutBoundary()
[all …]
H A Dlist_pattern.h382 bool IsScrollSnapAlignCenter() const;
H A Dlist_layout_algorithm.h496 bool IsScrollSnapAlignCenter(LayoutWrapper* layoutWrapper);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_attr_test_ng.cpp1308 EXPECT_TRUE(pattern_->IsScrollSnapAlignCenter());