/hardware/qcom/display/msm8084/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { argument 34 irect.left = min(rect1.left, rect2.left); 35 irect.top = min(rect1.top, rect2.top); 36 irect.right = max(rect1.right, rect2.right); 37 irect.bottom = max(rect1.bottom, rect2.bottom);
|
/hardware/qcom/display/msm8226/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { argument 34 irect.left = min(rect1.left, rect2.left); 35 irect.top = min(rect1.top, rect2.top); 36 irect.right = max(rect1.right, rect2.right); 37 irect.bottom = max(rect1.bottom, rect2.bottom);
|
/hardware/qcom/display/msm8994/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { argument 34 irect.left = min(rect1.left, rect2.left); 35 irect.top = min(rect1.top, rect2.top); 36 irect.right = max(rect1.right, rect2.right); 37 irect.bottom = max(rect1.bottom, rect2.bottom);
|
/hardware/qcom/display/msm8909/libqdutils/ |
H A D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { argument 34 irect.left = min(rect1.left, rect2.left); 35 irect.top = min(rect1.top, rect2.top); 36 irect.right = max(rect1.right, rect2.right); 37 irect.bottom = max(rect1.bottom, rect2.bottom);
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { argument 44 return ((rect1.left == rect2.left) && 45 (rect1.top == rect2.top) && 46 (rect1.right == rect2.right) && 47 (rect1.bottom == rect2.bottom)); 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { argument 65 if (!IsValid(rect1) || !IsValid(rect2)) { 69 res.left = std::max(rect1.left, rect2.left); 70 res.top = std::max(rect1.top, rect2.top); 71 res.right = std::min(rect1 97 Subtract(const LayerRect &rect1, const LayerRect &rect2) argument 119 Union(const LayerRect &rect1, const LayerRect &rect2) argument [all...] |
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { argument 44 return ((rect1.left == rect2.left) && 45 (rect1.top == rect2.top) && 46 (rect1.right == rect2.right) && 47 (rect1.bottom == rect2.bottom)); 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { argument 65 if (!IsValid(rect1) || !IsValid(rect2)) { 69 res.left = std::max(rect1.left, rect2.left); 70 res.top = std::max(rect1.top, rect2.top); 71 res.right = std::min(rect1 97 Subtract(const LayerRect &rect1, const LayerRect &rect2) argument 119 Union(const LayerRect &rect1, const LayerRect &rect2) argument [all...] |
/hardware/qcom/display/sdm845/sdm/libs/utils/ |
H A D | rect.cpp | 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { argument 44 return ((rect1.left == rect2.left) && 45 (rect1.top == rect2.top) && 46 (rect1.right == rect2.right) && 47 (rect1.bottom == rect2.bottom)); 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { argument 65 if (!IsValid(rect1) || !IsValid(rect2)) { 69 res.left = std::max(rect1.left, rect2.left); 70 res.top = std::max(rect1.top, rect2.top); 71 res.right = std::min(rect1 97 Subtract(const LayerRect &rect1, const LayerRect &rect2) argument 119 Union(const LayerRect &rect1, const LayerRect &rect2) argument [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.cpp | 1103 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) argument 1105 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && 1106 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); 1136 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 1140 if(!isValidRect(rect1) || !isValidRect(rect2)){ 1145 res.left = max(rect1.left, rect2.left); 1146 res.top = max(rect1.top, rect2.top); 1147 res.right = min(rect1 1157 getUnion(const hwc_rect &rect1, const hwc_rect &rect2) argument 1179 deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.cpp | 1090 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) argument 1092 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && 1093 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); 1124 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 1128 if(!isValidRect(rect1) || !isValidRect(rect2)){ 1133 res.left = max(rect1.left, rect2.left); 1134 res.top = max(rect1.top, rect2.top); 1135 res.right = min(rect1 1145 getUnion(const hwc_rect &rect1, const hwc_rect &rect2) argument 1167 deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 2158 isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_utils.cpp | 1375 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) argument 1377 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && 1378 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); 1440 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 1444 if(!isValidRect(rect1) || !isValidRect(rect2)){ 1449 res.left = max(rect1.left, rect2.left); 1450 res.top = max(rect1.top, rect2.top); 1451 res.right = min(rect1 1461 getUnion(const hwc_rect &rect1, const hwc_rect &rect2) argument 1483 deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 2588 isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_utils.cpp | 1308 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) argument 1310 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && 1311 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); 1348 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 1352 if(!isValidRect(rect1) || !isValidRect(rect2)){ 1357 res.left = max(rect1.left, rect2.left); 1358 res.top = max(rect1.top, rect2.top); 1359 res.right = min(rect1 1369 getUnion(const hwc_rect &rect1, const hwc_rect &rect2) argument 1391 deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument 2501 isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2) argument [all...] |