/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_pattern.cpp | 68 wrapperRect_ = pipelineContext->GetDisplayWindowRectInfo(); in InitWrapperRect() 73 wrapperRect_ = pipelineContext->GetDisplayWindowRectInfo(); in InitWrapperRect() 74 wrapperRect_.SetRect(wrapperRect_.Left(), safeAreaTop, in InitWrapperRect() 102 …wrapperRect_.SetRect(wrapperRect_.Left(), safeAreaTop, wrapperRect_.Width(), foldCreaseTop - safeA… in UpdateHoverModeRect() 109 wrapperRect_.SetRect(wrapperRect_.Left(), safeAreaTop, in UpdateHoverModeRect() 112 wrapperRect_.SetRect(wrapperRect_.Left(), foldCreaseBottom, in UpdateHoverModeRect() 113 wrapperRect_.Width(), wrapperRect_.Height() - foldCreaseBottom + safeAreaTop); in UpdateHoverModeRect() 179 auto rootWidth = wrapperRect_.Width(); in GetOffsetX() 207 auto rootHeight = wrapperRect_.Height(); in GetOffsetY() 254 auto rootHeight = Dimension(wrapperRect_.Height()); in GetBottomValue() [all …]
|
H A D | toast_pattern.h | 156 Rect wrapperRect_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_layout_algorithm.cpp | 495 wrapperSize_ = SizeF(wrapperRect_.Width(), wrapperRect_.Height()); in InitWrapperRect() 496 dumpInfo_.wrapperRect = wrapperRect_; in InitWrapperRect() 538 rightSpace_ = wrapperRect_.Right() - leftSpace_; in InitSpace() 545 topSpace_ = position_.GetY() - wrapperRect_.Top() - paddingTop_; in InitSpace() 1834 float yMinAvoid = wrapperRect_.Top() + paddingTop_; in MenuLayoutAvoidAlgorithm() 1926 float maxAvailableHeight = wrapperRect_.Height(); in UpdateConstraintHeight() 2018 return wrapperRect_.Top() + paddingTop_; in VerticalLayout() 2290 float wrapperBottom = wrapperRect_.Bottom(); in AdjustPosition() 2317 xMax = wrapperRect_.Right() - width - paddingEnd_; in AdjustPosition() 2489 float xAvoid = wrapperRect_.Left() + paddingStart_; in CheckPosition() [all …]
|
H A D | sub_menu_layout_algorithm.cpp | 116 float yMinAvoid = wrapperRect_.Top() + paddingTop_; in MenuLayoutAvoidAlgorithm() 117 float yMaxAvoid = wrapperRect_.Bottom() - paddingBottom_ - size.Height(); in MenuLayoutAvoidAlgorithm() 200 float bottomSpace = wrapperRect_.Bottom() - position - paddingBottom_; in VerticalLayoutSubMenu() 206 if (size.Height() < wrapperRect_.Height()) { in VerticalLayoutSubMenu() 207 return wrapperRect_.Bottom() - size.Height() - paddingBottom_; in VerticalLayoutSubMenu() 210 return wrapperRect_.Top() + paddingTop_; in VerticalLayoutSubMenu()
|
H A D | menu_layout_algorithm.h | 91 Rect wrapperRect_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_layoutScd_test_ng.cpp | 279 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 354 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 832 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 891 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 948 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1017 menuAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1498 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1518 algorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); 1576 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1595 algorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); [all …]
|
H A D | menu_layoutFst_test_ng.cpp | 428 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); 448 menuLayoutAlgorithm->wrapperRect_.SetHeight(200.0f); 469 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); 486 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); 815 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1328 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1421 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, OFFSET_THIRD, OFFSET_FORTH); 1476 menuLayoutAlgorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
|
H A D | menu_origin_test_ng.cpp | 1955 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1972 algorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height()); 2029 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 2040 algorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height());
|
H A D | menuitem_pattern_test_ng.cpp | 1132 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1202 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_test_update.cpp | 1706 EXPECT_EQ(pattern->wrapperRect_.Width(), pipelineContext->GetRootWidth()); 1707 …EXPECT_EQ(pattern->wrapperRect_.Height(), pipelineContext->GetRootHeight()- safeAreaTop - safeArea… 1708 EXPECT_EQ(pattern->wrapperRect_.Top(), safeAreaTop); 1766 EXPECT_EQ(pattern->wrapperRect_.Width(), pipelineContext->GetRootWidth()); 1768 EXPECT_EQ(pattern->wrapperRect_.Top(), foldCreaseBottom); 1826 EXPECT_EQ(pattern->wrapperRect_.Width(), pipelineContext->GetRootWidth()); 1827 EXPECT_EQ(pattern->wrapperRect_.Height(), foldCreaseTop - safeAreaTop); 1828 EXPECT_EQ(pattern->wrapperRect_.Top(), safeAreaTop); 1887 EXPECT_EQ(pattern->wrapperRect_.Width(), pipelineContext->GetRootWidth()); 1888 EXPECT_EQ(pattern->wrapperRect_.Height(), foldCreaseTop - safeAreaTop); [all …]
|