Home | History | Annotate | Download | only in libhwcomposer

Lines Matching full:right

137     ctx->mViewFrame[dpy].right = ctx->dpyAttr[dpy].xres;
341 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right =
367 //Right now hwc starts the service but anybody could do it, or it could be
538 int w = rect.right - rect.left;
593 rect.right = w + rect.left;
621 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left,
623 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,
638 width = float(rect.right - rect.left);
713 outRect.right = outPos.x + outPos.w;
763 displayFrame.right = dstWidth;
790 displayFrame.right = int(wRatio*(float)displayFrame.right);
795 displayFrame.right, displayFrame.bottom);
852 dst_w = displayFrame.right - displayFrame.left;
854 src_w = sourceCrop.right - sourceCrop.left;
867 dst_w = displayFrame.right - displayFrame.left;
869 src_w = sourceCrop.right - sourceCrop.left;
913 dst_width_l = dstL.right - dstL.left;
915 src_width_l = cropL.right - cropL.left;
922 // Calculate the right dst
923 dst_width_r = dstR.right - dstR.left;
925 src_width_r = cropR.right - cropR.left;
928 // check if there is any scaling on the right
962 dst.right > hw_w || dst.bottom > hw_h) {
981 layer->sourceCropf.right = (float)crop.right;
1242 int& crop_r = crop.right;
1244 int crop_w = crop.right - crop.left;
1249 int& dst_r = dst.right;
1251 int dst_w = abs(dst.right - dst.left);
1256 const int& sci_r = scissor.right;
1299 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom));
1304 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ;
1309 lhs.right == rhs.right && lhs.bottom == rhs.bottom )
1323 res.right = rect.right + x_off;
1341 res.right = min(rect1.right, rect2.right);
1365 res.right = max(rect1.right, rect2.right);
1377 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) {
1384 if((rect1.left == rect2.left) && (rect2.right <= rect1.right))
1385 res.left = rect2.right;
1386 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left))
1387 res.right = rect2.left;
1422 layer->sourceCropf.right = (float)bottomCrop.right;
1446 nwr.right = list->hwLayers[0].displayFrame.right;
1746 Dim rotCrop(crop.left, crop.top, crop.right - crop.left,
1765 int crop_w = crop.right - crop.left;
1770 int posW = pos.right - pos.left;
1793 int dst_w = dst.right - dst.left;
1824 crop.right - crop.left,
1841 crop.right = transformedCrop.x + transformedCrop.w;
1868 downscale = Rotator::getDownscaleFactor(crop.right - crop.left,
1869 crop.bottom - crop.top, dst.right - dst.left,
1872 Dim adjCrop(crop.left, crop.top, crop.right - crop.left,
1874 Dim pos(dst.left, dst.top, dst.right - dst.left,
1893 crop.left, crop.top, crop.right, crop.bottom);
1896 crop.right - crop.left,
1908 crop.right -= offset;
1912 crop.left, crop.top, crop.right, crop.bottom);
1919 dst.left, dst.top, dst.right, dst.bottom);
1921 crop.right - crop.left,
1936 dst.right = extW;
1941 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom,
1942 crop.left, crop.top, crop.right, crop.bottom);
2024 if(cropL.right - cropL.left) {
2028 //If right is even, automatically width is even, since left is
2030 ovutils::even_floor(cropL.right);
2032 //Make sure there are no gaps between left and right splits if the layer
2034 if(cropR.right - cropR.left) {
2035 cropR.left = cropL.right;
2039 if(cropR.right - cropR.left) {
2043 //If right is even, automatically width is even, since left is
2045 ovutils::even_floor(cropR.right);
2133 // Calculate Right rects
2134 if(dst.right > lSplit) {
2148 (dst.right > lSplit) && (*rot) == NULL) {
2151 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2154 new_cropL.left = new_cropR.right;
2155 new_cropL.right = tmp_cropR.right;
2158 tmp_cropL.right = new_cropL.right;
2161 tmp_cropR.right = new_cropR.right;
2182 //configure right mixer
2188 tmp_dstR.right = tmp_dstR.right - lSplit;
2192 ALOGE("%s: commit failed for right mixer config", __FUNCTION__);
2252 int lSplit = dst.left + (dst.right - dst.left)/2;
2266 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom };
2279 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2282 new_cropL.left = new_cropR.right;
2283 new_cropL.right = tmp_cropR.right;
2286 tmp_cropL.right = new_cropL.right;
2289 tmp_cropR.right = new_cropR.right;
2310 //configure right half
2318 ALOGE("%s: commit failed for right half config", __FUNCTION__);
2488 if (rect1.right == rect2.right)
2514 int src_w = crop.right - crop.left;
2516 int dst_w = dst.right - dst.left;
2609 if((t_roi.right - t_roi.left) < MIN_WIDTH) {
2610 if((t_roi.left + MIN_WIDTH) > boundary.right)
2611 t_roi.left = t_roi.right - MIN_WIDTH;
2613 t_roi.right = t_roi.left + MIN_WIDTH;
2629 int width = t_roi.right - t_roi.left;
2631 t_roi.right = t_roi.left + width;
2633 if(t_roi.right > boundary.right) {
2634 t_roi.right = boundary.right;
2635 t_roi.left = t_roi.right - width;