Home
last modified time | relevance | path

Searched refs:topLeftPoint (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/
H A Drender_dialog_tween.cpp377 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 Drender_dialog_tween.h49 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 Ddialog_layout_algorithm.cpp697 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 Ddialog_layout_algorithm.h70 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 Ddialog_model_test_ng.cpp1373 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 Ddialog_test_ng.cpp288 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 Drender_slider.h64 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 Drect_t.h47 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 Dmenu_item_pattern.cpp946 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 Dmenu_item_pattern.h123 void AddHoverRegions(const OffsetF& topLeftPoint, const OffsetF& bottomRightPoint);