Home
last modified time | relevance | path

Searched refs:topPos (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp538 float topPos = GetItemTopPos(line, mainGap); in TransformAutoScrollAlign() local
540 if (NonPositive(topPos) && GreatOrEqual(botPos, mainSize)) { in TransformAutoScrollAlign()
545 if (Negative(topPos)) { in TransformAutoScrollAlign()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp510 auto topPos = jumpIndexStartPos + it->second.startPos - in CheckNoNeedJumpListItemGroup() local
514 if (JudgeInOfScreenScrollAutoType(wrapper, listLayoutProperty, topPos, bottomPos)) { in CheckNoNeedJumpListItemGroup()
532 const RefPtr<ListLayoutProperty>& layoutProperty, float topPos, float bottomPos) in JudgeInOfScreenScrollAutoType() argument
550 if (GreatOrEqual(topPos, startMainPos_ + headerMainSize) && in JudgeInOfScreenScrollAutoType()
554 } else if (NearEqual(topPos, startMainPos_ + headerMainSize) || in JudgeInOfScreenScrollAutoType()
558 } else if (GreatOrEqual(std::abs(topPos - startMainPos_), std::abs(endMainPos_ - bottomPos))) { in JudgeInOfScreenScrollAutoType()
560 } else if (LessNotEqual(std::abs(topPos - startMainPos_), std::abs(endMainPos_ - bottomPos))) { in JudgeInOfScreenScrollAutoType()
H A Dlist_layout_algorithm.h388 const RefPtr<ListLayoutProperty>& layoutProperty, float topPos, float bottomPos);