Lines Matching refs:left

160     ctx->mViewFrame[dpy].left = 0;
363 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0;
616 int x = rect.left, y = rect.top;
617 int w = rect.right - rect.left;
670 rect.left = x;
672 rect.right = w + rect.left;
700 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left,
702 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,
715 xPos = rect.left;
717 width = float(rect.right - rect.left);
747 xPos = r.left;
790 outRect.left = outPos.x;
840 displayFrame.left = 0;
867 displayFrame.left = int(wRatio*(float)displayFrame.left);
873 displayFrame.left, displayFrame.top,
931 dst_w = displayFrame.right - displayFrame.left;
933 src_w = sourceCrop.right - sourceCrop.left;
946 dst_w = displayFrame.right - displayFrame.left;
948 src_w = sourceCrop.right - sourceCrop.left;
988 // Calculate the left dst
989 dst_width_l = dstL.right - dstL.left;
991 src_width_l = cropL.right - cropL.left;
994 // check if there is any scaling on the left
999 dst_width_r = dstR.right - dstR.left;
1001 src_width_r = cropR.right - cropR.left;
1047 if(dst.left < 0 || dst.top < 0 ||
1066 layer->sourceCropf.left = (float)crop.left;
1319 int& crop_l = crop.left;
1323 int crop_w = crop.right - crop.left;
1326 int& dst_l = dst.left;
1330 int dst_w = abs(dst.right - dst.left);
1333 const int& sci_l = scissor.left;
1377 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) &&
1383 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ;
1387 if(lhs.left == rhs.left && lhs.top == rhs.top &&
1404 int x_off = dst.left - src.left;
1431 res.left = rect.left + x_off;
1449 res.left = max(rect1.left, rect2.left);
1473 res.left = min(rect1.left, rect2.left);
1487 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) {
1494 if((rect1.left == rect2.left) && (rect2.right <= rect1.right))
1495 res.left = rect2.right;
1496 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left))
1497 res.right = rect2.left;
1530 layer->sourceCropf.left =(float)bottomCrop.left;
1549 nwr.left = list->hwLayers[0].displayFrame.left;
1844 Dim rotCrop(crop.left, crop.top, crop.right - crop.left,
1863 int crop_w = crop.right - crop.left;
1865 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
1868 int posW = pos.right - pos.left;
1870 Dim position(pos.left, pos.top, posW, posH);
1891 int dst_w = dst.right - dst.left;
1905 Dim pos(dst.left, dst.top, dst_w, dst_h);
1921 Dim transformedCrop(crop.left, crop.top,
1922 crop.right - crop.left,
1937 crop.left = transformedCrop.x;
1966 downscale = Rotator::getDownscaleFactor(crop.right - crop.left,
1967 crop.bottom - crop.top, dst.right - dst.left,
1970 Dim adjCrop(crop.left, crop.top, crop.right - crop.left,
1972 Dim pos(dst.left, dst.top, dst.right - dst.left,
1985 // This does not work for zooming in top left corner of the image
1986 return(crop.top > 0 || crop.left > 0);
1991 crop.left, crop.top, crop.right, crop.bottom);
1993 Dim srcCrop(crop.left, crop.top,
1994 crop.right - crop.left,
2005 crop.left += offset;
2010 crop.left, crop.top, crop.right, crop.bottom);
2017 dst.left, dst.top, dst.right, dst.bottom);
2018 Dim srcCrop(crop.left, crop.top,
2019 crop.right - crop.left,
2032 dst.left = 0;
2039 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom,
2040 crop.left, crop.top, crop.right, crop.bottom);
2123 if(cropL.right - cropL.left) {
2125 //Always safe to even down left
2126 ovutils::even_floor(cropL.left);
2127 //If right is even, automatically width is even, since left is
2131 //Make sure there are no gaps between left and right splits if the layer
2133 if(cropR.right - cropR.left) {
2134 cropR.left = cropL.right;
2138 if(cropR.right - cropR.left) {
2140 //Always safe to even down left
2141 ovutils::even_floor(cropR.left);
2142 //If right is even, automatically width is even, since left is
2224 if(dst.left < lSplit) {
2246 if((orient & OVERLAY_TRANSFORM_FLIP_H) && (dst.left < lSplit) &&
2249 new_cropR.left = tmp_cropL.left;
2250 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2253 new_cropL.left = new_cropR.right;
2256 tmp_cropL.left = new_cropL.left;
2259 tmp_cropR.left = new_cropR.left;
2268 //configure left mixer
2276 ALOGE("%s: commit failed for left mixer config", __FUNCTION__);
2288 tmp_dstR.left = tmp_dstR.left - lSplit;
2354 int lSplit = dst.left + (dst.right - dst.left)/2;
2362 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom };
2380 new_cropR.left = tmp_cropL.left;
2381 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2384 new_cropL.left = new_cropR.right;
2387 tmp_cropL.left = new_cropL.left;
2390 tmp_cropR.left = new_cropR.left;
2399 //configure left half
2407 ALOGE("%s: commit failed for left half config", __FUNCTION__);
2589 if (rect1.left == rect2.left)
2626 int src_w = crop.right - crop.left;
2628 int dst_w = dst.right - dst.left;
2725 if((t_roi.right - t_roi.left) < MIN_WIDTH) {
2726 if((t_roi.left + MIN_WIDTH) > boundary.right)
2727 t_roi.left = t_roi.right - MIN_WIDTH;
2729 t_roi.right = t_roi.left + MIN_WIDTH;
2740 /* Align left and width to meet panel restrictions */
2742 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN);
2745 int width = t_roi.right - t_roi.left;
2747 t_roi.right = t_roi.left + width;
2751 t_roi.left = t_roi.right - width;
2754 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN);