Home
last modified time | relevance | path

Searched refs:topSpace_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.h244 float topSpace_ = 0.0f; variable
H A Dmenu_layout_algorithm.cpp527topSpace_ = std::max(0.0, targetOffset_.GetY() - targetSecurity - paddingTop_ - wrapperRect_.Top()… in InitSpace()
530 if (NearZero(topSpace_) && NearZero(bottomSpace_)) { in InitSpace()
542 topSpace_ = position_.GetY() - targetSize.Height() - paddingTop_ - wrapperRect_.Top(); in InitSpace()
545 topSpace_ = position_.GetY() - wrapperRect_.Top() - paddingTop_; in InitSpace()
2022 if (GreatOrEqual(topSpace_, size.Height())) { in VerticalLayout()
2025 return topSpace_ - size.Height() + margin_; in VerticalLayout()