Searched refs:rb (Results 1 - 2 of 2) sorted by relevance
/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_model.h | 185 FORCE_INLINE static bool CheckEqual(const Rect &ra, const Rect &rb); 186 FORCE_INLINE static bool CheckIntersectant(const Rect &ra, const Rect &rb); 189 static bool ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result); 193 FORCE_INLINE bool RectAlgorithm::CheckEqual(const Rect &ra, const Rect &rb) in CheckEqual() argument 195 return ra.left_ == rb.left_ && ra.right_ == rb.right_ && ra.top_ == rb.top_ && ra.bottom_ == rb.bottom_; in CheckEqual() 198 FORCE_INLINE bool RectAlgorithm::CheckIntersectant(const Rect &ra, const Rect &rb) in CheckIntersectant() argument 200 if (ra.left_ >= rb in CheckIntersectant() [all...] |
H A D | rect_algorithm.cpp | 22 bool RectAlgorithm::ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result) in ComputeIntersection() argument 24 if (ra.left_ >= rb.right_ || ra.right_ <= rb.left_) { in ComputeIntersection() 27 if (ra.top_ >= rb.bottom_ || ra.bottom_ <= rb.top_) { in ComputeIntersection() 30 array<int32_t, INDEX_FOUR> px = {ra.left_, ra.right_, rb.left_, rb.right_}; in ComputeIntersection() 31 array<int32_t, INDEX_FOUR> py = {ra.top_, ra.bottom_, rb.top_, rb.bottom_}; in ComputeIntersection()
|
Completed in 2 milliseconds