Home
last modified time | relevance | path

Searched refs:targetSecurity_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_layoutScd_test_ng.cpp280 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
357 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
419 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
488 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
550 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
622 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
835 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
894 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
951 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
1020 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
[all …]
H A Dmenu_origin_test_ng.cpp2099 menuAlgorithm->targetSecurity_ = TARGET_SECURITY.ConvertToPx();
2114 menuAlgorithm->targetSecurity_ = 10.0f;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.cpp411 param_.previewMenuGap = targetSecurity_; in InitializeParam()
526 auto targetSecurity = targetSecurity_; in InitSpace()
1023 if (LessNotEqual(totalSize.Height() + targetSecurity_, in LayoutNormalTopPreviewBottomMenu()
1223 auto x_min = wrapperRect_.Left() + paddingStart_ + menuSize.Width() + targetSecurity_; in CheckHorizontalLayoutPreviewOffsetX()
1321 if (LessNotEqual(totalSize.Width() + targetSecurity_, maxRectRight)) { in LayoutOtherDeviceLeftPreviewRightMenu()
2274 … position = AdjustPosition(childPosition, childSize.Width(), childSize.Height(), targetSecurity_); in GetAdjustPosition()
2341 y += targetSecurity_; in AddTargetSpace()
2347 y -= targetSecurity_; in AddTargetSpace()
2353 x += targetSecurity_; in AddTargetSpace()
2359 x -= targetSecurity_; in AddTargetSpace()
[all …]
H A Dmenu_layout_algorithm.h241 float targetSecurity_ = TARGET_SECURITY.ConvertToPx();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.h264 float targetSecurity_ = 0.0f; variable
H A Dbubble_layout_algorithm.cpp308 float maxWidth = constrainWidth - targetSecurity_ * DOUBLE; in Measure()
582 targetSecurity_ = HORIZON_SPACING_WITH_SCREEN.ConvertToPx(); in InitProps()
756 …position = AdjustPosition(defaultPosition, childSize.Width(), childSize.Height(), targetSecurity_); in GetChildPositionNew()
859 yTargetOffset = targetSecurity_; in AdjustPosition()
872 yTargetOffset = -targetSecurity_; in AdjustPosition()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp2184 bubbleLayoutAlgorithm->targetSecurity_ = 0;
2219 bubbleLayoutAlgorithm->targetSecurity_ = 0;
2337 bubbleLayoutAlgorithm->targetSecurity_ = 0;