/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/ |
H A D | render_dialog_tween.cpp | 377 Offset topLeftPoint; in ComputeChildPosition() local 381 return topLeftPoint; in ComputeChildPosition() 393 topLeftPoint = in ComputeChildPosition() 395 return topLeftPoint; in ComputeChildPosition() 412 return topLeftPoint + dialogOffset; in ComputeChildPosition() 417 return topLeftPoint + dialogOffset; in ComputeChildPosition() 426 topLeftPoint = in ComputeChildPosition() 430 return topLeftPoint + dialogOffset; in ComputeChildPosition() 445 topLeftPoint = in SetAlignmentSwitch() 449 topLeftPoint = Offset(0.0, 0.0); in SetAlignmentSwitch() [all …]
|
H A D | render_dialog_tween.h | 49 void UpdateTouchRegion(const Offset& topLeftPoint, const Size& maxSize, const Size& childSize); 67 bool SetAlignmentSwitch(const Size& maxSize, const Size& childSize, Offset& topLeftPoint) const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_algorithm.cpp | 697 OffsetF topLeftPoint; in ComputeChildPosition() local 714 topLeftPoint += hostWindowRect_.GetOffset(); in ComputeChildPosition() 772 topLeftPoint = in SetAlignmentSwitch() 776 topLeftPoint = in SetAlignmentSwitch() 780 topLeftPoint = OffsetF(0.0, 0.0); in SetAlignmentSwitch() 789 topLeftPoint = in SetAlignmentSwitch() 799 topLeftPoint = in SetAlignmentSwitch() 804 topLeftPoint.SetY(topLeftPoint.GetY() + halfScreenHeight); in SetAlignmentSwitch() 813 OffsetF& topLeftPoint) in SetAlignmentSwitchLessThanAPITwelve() argument 862 topLeftPoint.SetY(safeAreaInsets_.top_.end); in AdjustChildPosition() [all …]
|
H A D | dialog_layout_algorithm.h | 70 bool SetAlignmentSwitch(SizeF& maxSize, const SizeF& childSize, OffsetF& topLeftPoint); 71 …gnmentSwitchLessThanAPITwelve(const SizeF& maxSize, const SizeF& childSize, OffsetF& topLeftPoint); 74 bool IsDialogTouchingBoundary(OffsetF topLeftPoint, SizeF childSize, SizeF selfSize); 87 …OffsetF& topLeftPoint, const OffsetF& dialogOffset, const SizeF& childSize, bool needAvoidKeyboard…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/ |
H A D | dialog_model_test_ng.cpp | 1373 OffsetF topLeftPoint; variable 1380 dialogLayoutAlgorithm->SetAlignmentSwitch(maxSize, childSize, topLeftPoint); 1381 dialogLayoutAlgorithm->AdjustChildPosition(topLeftPoint, topLeftPoint, childSize, true); 1382 EXPECT_EQ(topLeftPoint.GetY(), FOLD_CREASE_RECT.Bottom()); 1384 dialogLayoutAlgorithm->SetAlignmentSwitch(maxSize, childSize, topLeftPoint); 1385 dialogLayoutAlgorithm->AdjustChildPosition(topLeftPoint, topLeftPoint, childSize, true); 1386 EXPECT_EQ(topLeftPoint.GetY(), 0);
|
H A D | dialog_test_ng.cpp | 288 OffsetF topLeftPoint = variable 296 auto result = dialogLayoutAlgorithm->SetAlignmentSwitch(maxSize, childSize, topLeftPoint); 311 auto result = dialogLayoutAlgorithm->SetAlignmentSwitch(maxSize, childSize, topLeftPoint);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/ |
H A D | render_slider.h | 64 TouchRegion(TouchRegionPoint topLeftPoint, TouchRegionPoint bottomRightPoint) in TouchRegion() argument 65 : bottomRightPoint_(bottomRightPoint), topLeftPoint_(topLeftPoint) in TouchRegion()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 47 RectT(const OffsetF& topLeftPoint, const OffsetF& bottomRightPoint) in RectT() argument 49 SetOffset(topLeftPoint); in RectT() 50 OffsetF sizeOffset = bottomRightPoint - topLeftPoint; in RectT()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_pattern.cpp | 946 OffsetF topLeftPoint; in AddSelfHoverRegion() local 949 topLeftPoint = targetNode->GetPaintRectOffset(); in AddSelfHoverRegion() 951 AddHoverRegions(topLeftPoint, bottomRightPoint); in AddSelfHoverRegion() 962 void MenuItemPattern::AddHoverRegions(const OffsetF& topLeftPoint, const OffsetF& bottomRightPoint) in AddHoverRegions() argument 965 …Offset(topLeftPoint.GetX(), topLeftPoint.GetY()), Offset(bottomRightPoint.GetX(), bottomRightPoint… in AddHoverRegions()
|
H A D | menu_item_pattern.h | 123 void AddHoverRegions(const OffsetF& topLeftPoint, const OffsetF& bottomRightPoint);
|