Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_presentation_layout_algorithm.cpp281 auto& placementFunc = directionCheckFunc_[placement]; in AvoidanceRuleOfPlacement() local
282 if (placementFunc == nullptr) { in AvoidanceRuleOfPlacement()
285 if ((this->*placementFunc)(targetSize, targetOffset)) { in AvoidanceRuleOfPlacement()
295 auto& placementFunc = placementCheckFunc_[placement]; in AvoidanceRuleOfPlacement() local
296 if (placementFunc == nullptr) { in AvoidanceRuleOfPlacement()
299 if ((this->*placementFunc)(targetSize, targetOffset)) { in AvoidanceRuleOfPlacement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp902 auto placementFunc = func->second; in GetPositionWithPlacementNew() local
903 if (placementFunc != nullptr) { in GetPositionWithPlacementNew()
904 … childPosition = (this->*placementFunc)(childSize, topPosition, bottomPosition, arrowPosition); in GetPositionWithPlacementNew()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.cpp2069 auto placementFunc = func->second; in GetPositionWithPlacement() local
2070 if (placementFunc != nullptr) { in GetPositionWithPlacement()
2071 childPosition = (this->*placementFunc)(childSize, topPosition, bottomPosition); in GetPositionWithPlacement()