Lines Matching refs:right
238 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext()
389 int w = rect.right - rect.left; in getActionSafePosition()
444 rect.right = w + rect.left; in getActionSafePosition()
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
489 width = float(rect.right - rect.left); in getAspectRatioPosition()
559 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
609 displayFrame.right = dstWidth; in calcExtDisplayPosition()
631 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
689 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired()
691 src_w = sourceCrop.right - sourceCrop.left; in isDownscaleRequired()
704 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
706 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
747 dst_width_l = dstL.right - dstL.left; in needsScalingWithSplit()
749 src_width_l = cropL.right - cropL.left; in needsScalingWithSplit()
757 dst_width_r = dstR.right - dstR.left; in needsScalingWithSplit()
759 src_width_r = cropR.right - cropR.left; in needsScalingWithSplit()
796 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
813 layer->sourceCropf.right = (float)crop.right; in trimList()
1036 int& crop_r = crop.right; in calculate_crop_rects()
1038 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1043 int& dst_r = dst.right; in calculate_crop_rects()
1045 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
1050 const int& sci_r = scissor.right; in calculate_crop_rects()
1093 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1098 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1103 lhs.right == rhs.right && lhs.bottom == rhs.bottom ) in operator ==()
1117 res.right = rect.right + x_off; in moveRect()
1135 res.right = min(rect1.right, rect2.right); in getIntersection()
1159 res.right = max(rect1.right, rect2.right); in getUnion()
1171 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in deductRect()
1178 if((rect1.left == rect2.left) && (rect2.right <= rect1.right)) in deductRect()
1179 res.left = rect2.right; in deductRect()
1180 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left)) in deductRect()
1181 res.right = rect2.left; in deductRect()
1214 layer->sourceCropf.right = (float)bottomCrop.right; in optimizeLayerRects()
1238 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
1531 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1550 int crop_w = crop.right - crop.left; in configMdp()
1555 int posW = pos.right - pos.left; in configMdp()
1578 int dst_w = dst.right - dst.left; in configColorLayer()
1609 crop.right - crop.left, in updateSource()
1626 crop.right = transformedCrop.x + transformedCrop.w; in updateSource()
1669 crop.right - crop.left, in configureNonSplit()
1671 dst.right - dst.left, in configureNonSplit()
1714 if(cropL.right - cropL.left) { in sanitizeSourceCrop()
1720 ovutils::even_floor(cropL.right); in sanitizeSourceCrop()
1724 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
1725 cropR.left = cropL.right; in sanitizeSourceCrop()
1729 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
1735 ovutils::even_floor(cropR.right); in sanitizeSourceCrop()
1820 if(dst.right > lSplit) { in configureSplit()
1834 (dst.right > lSplit) && (*rot) == NULL) { in configureSplit()
1837 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSplit()
1840 new_cropL.left = new_cropR.right; in configureSplit()
1841 new_cropL.right = tmp_cropR.right; in configureSplit()
1844 tmp_cropL.right = new_cropL.right; in configureSplit()
1847 tmp_cropR.right = new_cropR.right; in configureSplit()
1874 tmp_dstR.right = tmp_dstR.right - lSplit; in configureSplit()
1936 int lSplit = dst.left + (dst.right - dst.left)/2; in configureSourceSplit()
1950 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
1963 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSourceSplit()
1966 new_cropL.left = new_cropR.right; in configureSourceSplit()
1967 new_cropL.right = tmp_cropR.right; in configureSourceSplit()
1970 tmp_cropL.right = new_cropL.right; in configureSourceSplit()
1973 tmp_cropR.right = new_cropR.right; in configureSourceSplit()
2165 if (rect1.right == rect2.right) in isPeripheral()
2179 int src_w = crop.right - crop.left; in setBwc()
2181 int dst_w = dst.right - dst.left; in setBwc()
2260 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2261 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2262 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2264 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2280 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2282 t_roi.right = t_roi.left + width; in getSanitizeROI()
2284 if(t_roi.right > boundary.right) { in getSanitizeROI()
2285 t_roi.right = boundary.right; in getSanitizeROI()
2286 t_roi.left = t_roi.right - width; in getSanitizeROI()