Searched refs:ComputeIntersection (Results 1 – 5 of 5) sorted by relevance
| /test/testfwk/arkxtest/uitest/test/ |
| D | rect_algorithm_test.cpp | 43 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/ |
| D | rect_algorithm.cpp | 22 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()
|
| D | ui_model.h | 190 static bool ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result);
|
| D | select_strategy.cpp | 52 … if (!RectAlgorithm::ComputeIntersection(widget.GetBounds(), windowBounds_, visibleInWindow)) { in CalcWidgetVisibleBounds() 61 … if (!RectAlgorithm::ComputeIntersection(visibleInWindow, containerParentRect, visibleInParent)) { in CalcWidgetVisibleBounds()
|
| /test/testfwk/arkxtest/uitest/server/ |
| D | system_ui_controller.cpp | 387 … if (RectAlgorithm::ComputeIntersection(winRectInScreen, overWin, intersectionRect)) { in GetUiWindows()
|