Home
last modified time | relevance | path

Searched refs:ComputeIntersection (Results 1 – 5 of 5) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
Drect_algorithm_test.cpp43 ASSERT_FALSE(RectAlgorithm::ComputeIntersection(rect0, rect1, intersection)); // no overlap in TEST()
44 ASSERT_FALSE(RectAlgorithm::ComputeIntersection(rect0, rect2, intersection)); // no overlap in TEST()
45 ASSERT_TRUE(RectAlgorithm::ComputeIntersection(rect0, rect3, intersection)); // x,y-overlap in TEST()
52 ASSERT_TRUE(RectAlgorithm::ComputeIntersection(rect0, rect4, intersection)); // x,y-overlap in TEST()
59 ASSERT_TRUE(RectAlgorithm::ComputeIntersection(rect0, rect5, intersection)); // fully contained in TEST()
/test/testfwk/arkxtest/uitest/core/
Drect_algorithm.cpp22 bool RectAlgorithm::ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result) in ComputeIntersection() function in OHOS::uitest::RectAlgorithm
165 … const auto intersected = RectAlgorithm::ComputeIntersection(rect, overlay, intersection); in ComputeMaxVisibleRegion()
Dui_model.h190 static bool ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result);
Dselect_strategy.cpp52 … if (!RectAlgorithm::ComputeIntersection(widget.GetBounds(), windowBounds_, visibleInWindow)) { in CalcWidgetVisibleBounds()
61 … if (!RectAlgorithm::ComputeIntersection(visibleInWindow, containerParentRect, visibleInParent)) { in CalcWidgetVisibleBounds()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp387 … if (RectAlgorithm::ComputeIntersection(winRectInScreen, overWin, intersectionRect)) { in GetUiWindows()