Lines Matching refs:left

136     ctx->mViewFrame[dpy].left = 0;
340 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0;
549 int x = rect.left, y = rect.top;
550 int w = rect.right - rect.left;
603 rect.left = x;
605 rect.right = w + rect.left;
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left,
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,
648 xPos = rect.left;
650 width = float(rect.right - rect.left);
680 xPos = r.left;
723 outRect.left = outPos.x;
773 displayFrame.left = 0;
800 displayFrame.left = int(wRatio*(float)displayFrame.left);
806 displayFrame.left, displayFrame.top,
864 dst_w = displayFrame.right - displayFrame.left;
866 src_w = sourceCrop.right - sourceCrop.left;
879 dst_w = displayFrame.right - displayFrame.left;
881 src_w = sourceCrop.right - sourceCrop.left;
924 // Calculate the left dst
925 dst_width_l = dstL.right - dstL.left;
927 src_width_l = cropL.right - cropL.left;
930 // check if there is any scaling on the left
935 dst_width_r = dstR.right - dstR.left;
937 src_width_r = cropR.right - cropR.left;
973 if(dst.left < 0 || dst.top < 0 ||
992 layer->sourceCropf.left = (float)crop.left;
1252 int& crop_l = crop.left;
1256 int crop_w = crop.right - crop.left;
1259 int& dst_l = dst.left;
1263 int dst_w = abs(dst.right - dst.left);
1266 const int& sci_l = scissor.left;
1310 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) &&
1316 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ;
1320 if(lhs.left == rhs.left && lhs.top == rhs.top &&
1339 res.left = rect.left + x_off;
1357 res.left = max(rect1.left, rect2.left);
1381 res.left = min(rect1.left, rect2.left);
1395 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) {
1402 if((rect1.left == rect2.left) && (rect2.right <= rect1.right))
1403 res.left = rect2.right;
1404 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left))
1405 res.right = rect2.left;
1438 layer->sourceCropf.left =(float)bottomCrop.left;
1462 nwr.left = list->hwLayers[0].displayFrame.left;
1766 Dim rotCrop(crop.left, crop.top, crop.right - crop.left,
1785 int crop_w = crop.right - crop.left;
1787 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
1790 int posW = pos.right - pos.left;
1792 Dim position(pos.left, pos.top, posW, posH);
1813 int dst_w = dst.right - dst.left;
1827 Dim pos(dst.left, dst.top, dst_w, dst_h);
1843 Dim transformedCrop(crop.left, crop.top,
1844 crop.right - crop.left,
1859 crop.left = transformedCrop.x;
1888 downscale = Rotator::getDownscaleFactor(crop.right - crop.left,
1889 crop.bottom - crop.top, dst.right - dst.left,
1892 Dim adjCrop(crop.left, crop.top, crop.right - crop.left,
1894 Dim pos(dst.left, dst.top, dst.right - dst.left,
1907 // This does not work for zooming in top left corner of the image
1908 return(crop.top > 0 || crop.left > 0);
1913 crop.left, crop.top, crop.right, crop.bottom);
1915 Dim srcCrop(crop.left, crop.top,
1916 crop.right - crop.left,
1927 crop.left += offset;
1932 crop.left, crop.top, crop.right, crop.bottom);
1939 dst.left, dst.top, dst.right, dst.bottom);
1940 Dim srcCrop(crop.left, crop.top,
1941 crop.right - crop.left,
1954 dst.left = 0;
1961 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom,
1962 crop.left, crop.top, crop.right, crop.bottom);
2044 if(cropL.right - cropL.left) {
2046 //Always safe to even down left
2047 ovutils::even_floor(cropL.left);
2048 //If right is even, automatically width is even, since left is
2052 //Make sure there are no gaps between left and right splits if the layer
2054 if(cropR.right - cropR.left) {
2055 cropR.left = cropL.right;
2059 if(cropR.right - cropR.left) {
2061 //Always safe to even down left
2062 ovutils::even_floor(cropR.left);
2063 //If right is even, automatically width is even, since left is
2145 if(dst.left < lSplit) {
2167 if((orient & OVERLAY_TRANSFORM_FLIP_H) && (dst.left < lSplit) &&
2170 new_cropR.left = tmp_cropL.left;
2171 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2174 new_cropL.left = new_cropR.right;
2177 tmp_cropL.left = new_cropL.left;
2180 tmp_cropR.left = new_cropR.left;
2189 //configure left mixer
2197 ALOGE("%s: commit failed for left mixer config", __FUNCTION__);
2209 tmp_dstR.left = tmp_dstR.left - lSplit;
2272 int lSplit = dst.left + (dst.right - dst.left)/2;
2280 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom };
2298 new_cropR.left = tmp_cropL.left;
2299 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left);
2302 new_cropL.left = new_cropR.right;
2305 tmp_cropL.left = new_cropL.left;
2308 tmp_cropR.left = new_cropR.left;
2317 //configure left half
2325 ALOGE("%s: commit failed for left half config", __FUNCTION__);
2504 if (rect1.left == rect2.left)
2555 int src_w = crop.right - crop.left;
2557 int dst_w = dst.right - dst.left;
2632 lFrame.right = (lFrame.right - lFrame.left)/2;
2633 rFrame.left = lFrame.right;
2638 lRoiWidth = lRoi.right - lRoi.left;
2639 rRoiWidth = rRoi.right - rRoi.left;
2643 roi.left = half_frame_width - rRoiWidth;
2657 * populated for the left side. */
2684 if((t_roi.right - t_roi.left) < MIN_WIDTH) {
2685 if(MIN_WIDTH == boundary.right - boundary.left) {
2686 t_roi.left = 0;
2689 if((t_roi.left + MIN_WIDTH) > boundary.right)
2690 t_roi.left = t_roi.right - MIN_WIDTH;
2692 t_roi.right = t_roi.left + MIN_WIDTH;
2709 /* Align left and width to meet panel restrictions */
2711 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN);
2714 int width = t_roi.right - t_roi.left;
2716 t_roi.right = t_roi.left + width;
2720 t_roi.left = t_roi.right - width;
2723 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN);