Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drender_slider.h65 : bottomRightPoint_(bottomRightPoint), topLeftPoint_(topLeftPoint) in TouchRegion()
71 return LessOrEqual(topLeftPoint_.GetX(), x) && LessOrEqual(topLeftPoint_.GetY(), y) && in ContainsInRegion()
77 TouchRegionPoint topLeftPoint_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/
H A Drender_dialog_tween.cpp331 topLeftPoint_ = ComputeChildPosition(childSize); in PerformLayout()
332 child->SetPosition(topLeftPoint_); in PerformLayout()
333 UpdateTouchRegion(topLeftPoint_, maxSize, childSize); in PerformLayout()
394 …Offset(topLeftPoint_.GetX() + (dragX_ - lastPositionX_), topLeftPoint_.GetY() + (dragY_ - lastPosi… in ComputeChildPosition()
H A Drender_dialog_tween.h95 Offset topLeftPoint_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.cpp576 topLeftPoint_ = ComputeChildPosition(childSize, dialogProp, selfSize); in Layout()
580 …nRect(Dimension(childSize.Width()), Dimension(childSize.Height()), DimensionOffset(topLeftPoint_)), in Layout()
583 child->GetGeometryNode()->SetMarginFrameOffset(topLeftPoint_); in Layout()
627 … rect = Rect(topLeftPoint_.GetX(), topLeftPoint_.GetY(), childSize.Width(), childSize.Height()); in SetSubWindowHotarea()
681 topLeftPoint_ = ComputeChildPosition(childSize, dialogProp, selfSize); in MultipleDialog()
682 if (IsDialogTouchingBoundary(topLeftPoint_, childSize, selfSize)) { in MultipleDialog()
H A Ddialog_layout_algorithm.h99 OffsetF topLeftPoint_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_test_ng.cpp1120 OffsetF topLeftPoint_(0.0, 0.0); variable
1123 …nRect(Dimension(childSize.Width()), Dimension(childSize.Height()), DimensionOffset(topLeftPoint_)),
1130 … Rect(Dimension(childSize.Width()), Dimension(childSize.Height()), DimensionOffset(topLeftPoint_));
1358 EXPECT_EQ(dialogLayoutAlgorithm.topLeftPoint_.GetX(), 10.0);
1359 EXPECT_EQ(dialogLayoutAlgorithm.topLeftPoint_.GetY(), 10.0);
2300 EXPECT_EQ(dialogLayoutAlgorithm.topLeftPoint_.GetX(), 10.0);
2301 EXPECT_EQ(dialogLayoutAlgorithm.topLeftPoint_.GetY(), 10.0);
2373 OffsetF topLeftPoint_(30.0, 10.0); variable
2386 …nRect(Dimension(childSize.Width()), Dimension(childSize.Height()), DimensionOffset(topLeftPoint_)),
H A Ddialog_model_test_ng.cpp1011 EXPECT_EQ(layoutAlgorithm->topLeftPoint_.GetX(), 0.0);
1012 EXPECT_EQ(layoutAlgorithm->topLeftPoint_.GetY(), 0.0);