Lines Matching refs:right
238 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right =
272 //Right now hwc starts the service but anybody could do it, or it could be
389 int w = rect.right - rect.left;
444 rect.right = w + rect.left;
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left,
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,
489 width = float(rect.right - rect.left);
559 outRect.right = outPos.x + outPos.w;
609 displayFrame.right = dstWidth;
631 displayFrame.right = int(wRatio*(float)displayFrame.right);
689 dst_w = displayFrame.right - displayFrame.left;
691 src_w = sourceCrop.right - sourceCrop.left;
704 dst_w = displayFrame.right - displayFrame.left;
706 src_w = sourceCrop.right - sourceCrop.left;
747 dst_width_l = dstL.right - dstL.left;
749 src_width_l = cropL.right - cropL.left;
756 // Calculate the right dst
757 dst_width_r = dstR.right - dstR.left;
759 src_width_r = cropR.right - cropR.left;
762 // check if there is any scaling on the right
796 dst.right > hw_w || dst.bottom > hw_h) {
813 layer->sourceCropf.right = (float)crop.right;
1036 int& crop_r = crop.right;
1038 int crop_w = crop.right - crop.left;
1043 int& dst_r = dst.right;
1045 int dst_w = abs(dst.right - dst.left);
1050 const int& sci_r = scissor.right;
1093 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom));
1098 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ;
1103 lhs.right == rhs.right && lhs.bottom == rhs.bottom )
1117 res.right = rect.right + x_off;
1135 res.right = min(rect1.right, rect2.right);
1159 res.right = max(rect1.right, rect2.right);
1171 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) {
1178 if((rect1.left == rect2.left) && (rect2.right <= rect1.right))
1179 res.left = rect2.right;
1180 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left))
1181 res.right = rect2.left;
1214 layer->sourceCropf.right = (float)bottomCrop.right;
1238 nwr.right = list->hwLayers[0].displayFrame.right;
1529 Dim rotCrop(crop.left, crop.top, crop.right - crop.left,
1548 int crop_w = crop.right - crop.left;
1553 int posW = pos.right - pos.left;
1576 int dst_w = dst.right - dst.left;
1607 crop.right - crop.left,
1624 crop.right = transformedCrop.x + transformedCrop.w;
1667 crop.right - crop.left,
1669 dst.right - dst.left,
1712 if(cropL.right - cropL.left) {
1716 //If right is even, automatically width is even, since left is
1718 ovutils::even_floor(cropL.right);
1720 //Make sure there are no gaps between left and right splits if the layer
1722 if(cropR.right - cropR.left) {
1723 cropR.left = cropL.right;
1727 if(cropR.right - cropR.left) {
1731 //If right is even, automatically width is even, since left is
1733 ovutils::even_floor(cropR.right);
1817 // Calculate Right rects
1818 if(dst.right > lSplit) {
1832 (dst.right > lSplit) && (*rot) == NULL) {
1835 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
1838 new_cropL.left = new_cropR.right;
1839 new_cropL.right = tmp_cropR.right;
1842 tmp_cropL.right = new_cropL.right;
1845 tmp_cropR.right = new_cropR.right;
1866 //configure right mixer
1872 tmp_dstR.right = tmp_dstR.right - lSplit;
1876 ALOGE("%s: commit failed for right mixer config", __FUNCTION__);
1934 int lSplit = dst.left + (dst.right - dst.left)/2;
1948 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom };
1961 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
1964 new_cropL.left = new_cropR.right;
1965 new_cropL.right = tmp_cropR.right;
1968 tmp_cropL.right = new_cropL.right;
1971 tmp_cropR.right = new_cropR.right;
1992 //configure right half
2000 ALOGE("%s: commit failed for right half config", __FUNCTION__);
2163 if (rect1.right == rect2.right)
2177 int src_w = crop.right - crop.left;
2179 int dst_w = dst.right - dst.left;
2258 if((t_roi.right - t_roi.left) < MIN_WIDTH) {
2259 if((t_roi.left + MIN_WIDTH) > boundary.right)
2260 t_roi.left = t_roi.right - MIN_WIDTH;
2262 t_roi.right = t_roi.left + MIN_WIDTH;
2278 int width = t_roi.right - t_roi.left;
2280 t_roi.right = t_roi.left + width;
2282 if(t_roi.right > boundary.right) {
2283 t_roi.right = boundary.right;
2284 t_roi.left = t_roi.right - width;