Home
last modified time | relevance | path

Searched refs:rect2 (Results 1 – 18 of 18) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() argument
44 return ((rect1.left == rect2.left) && in IsCongruent()
45 (rect1.top == rect2.top) && in IsCongruent()
46 (rect1.right == rect2.right) && in IsCongruent()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() argument
65 if (!IsValid(rect1) || !IsValid(rect2)) { in Intersection()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() argument
44 return ((rect1.left == rect2.left) && in IsCongruent()
45 (rect1.top == rect2.top) && in IsCongruent()
46 (rect1.right == rect2.right) && in IsCongruent()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() argument
65 if (!IsValid(rect1) || !IsValid(rect2)) { in Intersection()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
[all …]
/hardware/qcom/display/sdm845/sdm/libs/utils/
Drect.cpp43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() argument
44 return ((rect1.left == rect2.left) && in IsCongruent()
45 (rect1.top == rect2.top) && in IsCongruent()
46 (rect1.right == rect2.right) && in IsCongruent()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() argument
65 if (!IsValid(rect1) || !IsValid(rect2)) { in Intersection()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Drect.h47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2);
50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2);
51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2);
52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2);
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2);
50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2);
51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2);
52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2);
/hardware/qcom/display/sdm845/sdm/include/utils/
Drect.h47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2);
50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2);
51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2);
52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2);
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument
34 irect.left = min(rect1.left, rect2.left); in getUnion()
35 irect.top = min(rect1.top, rect2.top); in getUnion()
36 irect.right = max(rect1.right, rect2.right); in getUnion()
37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument
34 irect.left = min(rect1.left, rect2.left); in getUnion()
35 irect.top = min(rect1.top, rect2.top); in getUnion()
36 irect.right = max(rect1.right, rect2.right); in getUnion()
37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument
34 irect.left = min(rect1.left, rect2.left); in getUnion()
35 irect.top = min(rect1.top, rect2.top); in getUnion()
36 irect.right = max(rect1.right, rect2.right); in getUnion()
37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
/hardware/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument
34 irect.left = min(rect1.left, rect2.left); in getUnion()
35 irect.top = min(rect1.top, rect2.top); in getUnion()
36 irect.right = max(rect1.right, rect2.right); in getUnion()
37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp1090 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument
1092 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1093 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1124 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument
1128 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection()
1133 res.left = max(rect1.left, rect2.left); in getIntersection()
1134 res.top = max(rect1.top, rect2.top); in getIntersection()
1135 res.right = min(rect1.right, rect2.right); in getIntersection()
1136 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection()
1145 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument
[all …]
Dhwc_utils.h288 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
289 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2);
291 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
292 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
402 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp1103 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument
1105 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1106 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1136 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument
1140 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection()
1145 res.left = max(rect1.left, rect2.left); in getIntersection()
1146 res.top = max(rect1.top, rect2.top); in getIntersection()
1147 res.right = min(rect1.right, rect2.right); in getIntersection()
1148 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection()
1157 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument
[all …]
Dhwc_utils.h264 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
265 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2);
267 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
268 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1308 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument
1310 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1311 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1348 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument
1352 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection()
1357 res.left = max(rect1.left, rect2.left); in getIntersection()
1358 res.top = max(rect1.top, rect2.top); in getIntersection()
1359 res.right = min(rect1.right, rect2.right); in getIntersection()
1360 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection()
1369 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument
[all …]
Dhwc_utils.h343 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
344 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2);
346 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
347 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
477 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp1375 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument
1377 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1378 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1440 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument
1444 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection()
1449 res.left = max(rect1.left, rect2.left); in getIntersection()
1450 res.top = max(rect1.top, rect2.top); in getIntersection()
1451 res.right = min(rect1.right, rect2.right); in getIntersection()
1452 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection()
1461 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument
[all …]
Dhwc_utils.h316 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
317 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2);
319 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
320 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
455 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2);