Searched refs:IsPointOnEdge (Results 1 – 3 of 3) sorted by relevance
/test/testfwk/arkxtest/uitest/test/ |
D | rect_algorithm_test.cpp | 90 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(10, 10))); in TEST() 91 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(10, 20))); in TEST() 92 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(20, 10))); in TEST() 93 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(20, 20))); in TEST() 95 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(10, 15))); in TEST() 96 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(15, 10))); in TEST() 97 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(20, 15))); in TEST() 98 ASSERT_TRUE(RectAlgorithm::IsPointOnEdge(rect, Point(15, 20))); in TEST() 100 ASSERT_FALSE(RectAlgorithm::IsPointOnEdge(rect, Point(15, 15))); in TEST() 102 ASSERT_FALSE(RectAlgorithm::IsPointOnEdge(rect, Point(5, 10))); in TEST() [all …]
|
/test/testfwk/arkxtest/uitest/core/ |
D | rect_algorithm.cpp | 107 const bool onRectEdge = RectAlgorithm::IsPointOnEdge(rect, point); in CollectGridPoint() 117 onOverlyEdge = RectAlgorithm::IsPointOnEdge(overlay, point); in CollectGridPoint()
|
D | ui_model.h | 177 FORCE_INLINE static bool IsPointOnEdge(const Rect &rect, const Point &point); 207 FORCE_INLINE bool RectAlgorithm::IsPointOnEdge(const Rect &rect, const Point& point) in IsPointOnEdge() function
|