Searched refs:bubbleLayoutAlgorithm (Results 1 – 5 of 5) sorted by relevance
| /foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/ |
| D | bubble_test_ng.cpp | 344 auto bubbleLayoutAlgorithm = variable 346 EXPECT_NE(bubbleLayoutAlgorithm, nullptr); 507 auto bubbleLayoutAlgorithm = variable 509 EXPECT_NE(bubbleLayoutAlgorithm, nullptr); 1476 auto bubbleLayoutAlgorithm = bubblePattern->CreateLayoutAlgorithm(); variable 1477 EXPECT_FALSE(bubbleLayoutAlgorithm == nullptr); 1501 bubbleLayoutAlgorithm->Measure(AceType::RawPtr(layoutWrapper)); 1502 bubbleLayoutAlgorithm->Layout(AceType::RawPtr(layoutWrapper)); 1548 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… variable 1549 EXPECT_FALSE(bubbleLayoutAlgorithm == nullptr); [all …]
|
| D | bubble_tips_test_ng.cpp | 202 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… in CreateTipsNodeWithArrow() local 203 CHECK_NULL_RETURN(bubbleLayoutAlgorithm, frameNode); in CreateTipsNodeWithArrow() 204 bubbleLayoutAlgorithm->targetTag_ = targetTag; in CreateTipsNodeWithArrow() 205 bubbleLayoutAlgorithm->targetNodeId_ = targetId; in CreateTipsNodeWithArrow() 1142 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… variable 1143 ASSERT_NE(bubbleLayoutAlgorithm, nullptr); 1144 bubbleLayoutAlgorithm->childSize_ = SizeF(BUBBLE_WIDTH, BUBBLE_HEIGHT); 1159 bubbleLayoutAlgorithm->Measure(AceType::RawPtr(layoutWrapper)); 1161 bubbleLayoutAlgorithm->UpdateChildPosition(offset); 1164 EXPECT_EQ(bubbleLayoutAlgorithm->showArrow_, true); [all …]
|
| D | bubble_test_One_ng.cpp | 1341 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… variable 1342 bubbleLayoutAlgorithm->targetSecurity_ = 0; 1351 bubbleLayoutAlgorithm->placement_ = placement; 1352 auto pos = bubbleLayoutAlgorithm->AddTargetSpace(position); 1376 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… variable 1377 bubbleLayoutAlgorithm->targetSecurity_ = 0; 1389 bubbleLayoutAlgorithm->placement_ = placement; 1390 auto ret = bubbleLayoutAlgorithm->CheckPosition(position, childSize, 1, i, arrowPosition); 1414 …auto bubbleLayoutAlgorithm = AceType::DynamicCast<BubbleLayoutAlgorithm>(bubblePattern->CreateLayo… variable 1425 bubbleLayoutAlgorithm->arrowOfTargetOffset_ = offset; [all …]
|
| D | bubble_test_two_ng.cpp | 300 BubbleLayoutAlgorithm bubbleLayoutAlgorithm; variable 301 bubbleLayoutAlgorithm.targetTag_ = "test1"; 302 bubbleLayoutAlgorithm.targetNodeId_ = 1; 305 bubbleLayoutAlgorithm.InitWrapperRect(layoutWrapper, layoutProp); 306 bubbleLayoutAlgorithm.isHalfFoldHover_ = true; 317 bubbleLayoutAlgorithm.InitWrapperRect(layoutWrapper, layoutProp); 318 EXPECT_FALSE(bubbleLayoutAlgorithm.isHalfFoldHover_); 319 bubbleLayoutAlgorithm.foldCreaseBottom_ = -1; 320 bubbleLayoutAlgorithm.InitWrapperRect(layoutWrapper, layoutProp); 321 EXPECT_EQ(bubbleLayoutAlgorithm.wrapperRect_.y_, -1); [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
| D | bubble_pattern.cpp | 52 …auto bubbleLayoutAlgorithm = DynamicCast<BubbleLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local 53 CHECK_NULL_RETURN(bubbleLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap() 55 showArrow_ = bubbleLayoutAlgorithm->ShowArrow(); in OnDirtyLayoutWrapperSwap() 56 arrowPosition_ = bubbleLayoutAlgorithm->GetArrowPosition(); in OnDirtyLayoutWrapperSwap() 57 childOffset_ = bubbleLayoutAlgorithm->GetChildOffset(); in OnDirtyLayoutWrapperSwap() 58 childSize_ = bubbleLayoutAlgorithm->GetChildSize(); in OnDirtyLayoutWrapperSwap() 59 touchRegion_ = bubbleLayoutAlgorithm->GetTouchRegion(); in OnDirtyLayoutWrapperSwap() 60 hostWindowRect_ = bubbleLayoutAlgorithm->GetHostWindowRect(); in OnDirtyLayoutWrapperSwap() 61 targetOffset_ = bubbleLayoutAlgorithm->GetTargetOffset(); in OnDirtyLayoutWrapperSwap() 62 targetSize_ = bubbleLayoutAlgorithm->GetTargetSize(); in OnDirtyLayoutWrapperSwap() [all …]
|