Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:right

252     //Right now hwc starts the service but anybody could do it, or it could be
374 int w = rect.right - rect.left;
429 rect.right = w + rect.left;
459 rect.right = srcWidth + rect.left;
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left,
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,
502 width = float(rect.right - rect.left);
572 outRect.right = outPos.x + outPos.w;
622 displayFrame.right = dstWidth;
644 displayFrame.right = int(wRatio*(float)displayFrame.right);
702 dst_w = displayFrame.right - displayFrame.left;
704 src_w = sourceCrop.right - sourceCrop.left;
717 dst_w = displayFrame.right - displayFrame.left;
719 src_w = sourceCrop.right - sourceCrop.left;
760 dst_width_l = dstL.right - dstL.left;
762 src_width_l = cropL.right - cropL.left;
769 // Calculate the right dst
770 dst_width_r = dstR.right - dstR.left;
772 src_width_r = cropR.right - cropR.left;
775 // check if there is any scaling on the right
809 dst.right > hw_w || dst.bottom > hw_h) {
826 layer->sourceCropf.right = (float)crop.right;
850 outRect.right, outRect.bottom);
1049 int& crop_r = crop.right;
1051 int crop_w = crop.right - crop.left;
1056 int& dst_r = dst.right;
1058 int dst_w = abs(dst.right - dst.left);
1063 const int& sci_r = scissor.right;
1106 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom));
1111 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ;
1129 res.right = rect.right + x_off;
1147 res.right = min(rect1.right, rect2.right);
1171 res.right = max(rect1.right, rect2.right);
1183 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) {
1190 if((rect1.left == rect2.left) && (rect2.right <= rect1.right))
1191 res.left = rect2.right;
1192 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left))
1193 res.right = rect2.left;
1226 layer->sourceCropf.right = (float)bottomCrop.right;
1250 nwr.right = list->hwLayers[0].displayFrame.right;
1513 uint32_t crop_w = (crop.right - crop.left);
1521 crop.right = crop.left + crop_w;
1542 int crop_w = crop.right - crop.left;
1547 int posW = pos.right - pos.left;
1570 int dst_w = dst.right - dst.left;
1601 crop.right - crop.left,
1610 crop.right = srcCrop.w;
1618 crop.right = srcCrop.x + srcCrop.w;
1662 crop.right - crop.left,
1664 dst.right - dst.left,
1707 if(cropL.right - cropL.left) {
1711 //If right is even, automatically width is even, since left is
1713 ovutils::even_floor(cropL.right);
1715 //Make sure there are no gaps between left and right splits if the layer
1717 if(cropR.right - cropR.left) {
1718 cropR.left = cropL.right;
1722 if(cropR.right - cropR.left) {
1726 //If right is even, automatically width is even, since left is
1728 ovutils::even_floor(cropR.right);
1813 // Calculate Right rects
1814 if(dst.right > lSplit) {
1828 (dst.right > lSplit) && (*rot) == NULL) {
1831 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
1834 new_cropL.left = new_cropR.right;
1835 new_cropL.right = tmp_cropR.right;
1838 tmp_cropL.right = new_cropL.right;
1841 tmp_cropR.right = new_cropR.right;
1862 //configure right mixer
1868 right = tmp_dstR.right - lSplit;
1872 ALOGE("%s: commit failed for right mixer config", __FUNCTION__);
1930 int lSplit = dst.left + (dst.right - dst.left)/2;
1944 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom };
1957 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
1960 new_cropL.left = new_cropR.right;
1961 new_cropL.right = tmp_cropR.right;
1964 tmp_cropL.right = new_cropL.right;
1967 tmp_cropR.right = new_cropR.right;
1988 //configure right half
1996 ALOGE("%s: commit failed for right half config", __FUNCTION__);
2160 if((crop.right - crop.left) > qdutils::MAX_DISPLAY_DIM) {
2165 int src_w = crop.right - crop.left;
2167 int dst_w = dst.right - dst.left;
2247 if((t_roi.right - t_roi.left) < MIN_WIDTH) {
2248 if((t_roi.left + MIN_WIDTH) > boundary.right)
2249 t_roi.left = t_roi.right - MIN_WIDTH;
2251 t_roi.right = t_roi.left + MIN_WIDTH;
2267 int width = t_roi.right - t_roi.left;
2269 t_roi.right = t_roi.left + width;
2271 if(t_roi.right > boundary.right) {
2272 t_roi.right = boundary.right;
2273 t_roi.left = t_roi.right - width;