• Home
  • Raw
  • Download

Lines Matching refs:left

236     ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0;  in initContext()
388 int x = rect.left, y = rect.top; in getActionSafePosition()
389 int w = rect.right - rect.left; in getActionSafePosition()
442 rect.left = x; 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()
487 xPos = rect.left; in getAspectRatioPosition()
489 width = float(rect.right - rect.left); in getAspectRatioPosition()
519 xPos = r.left; in getAspectRatioPosition()
557 outRect.left = outPos.x; in getAspectRatioPosition()
607 displayFrame.left = 0; in calcExtDisplayPosition()
629 displayFrame.left = int(wRatio*(float)displayFrame.left); 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()
795 if(dst.left < 0 || dst.top < 0 || in trimLayer()
812 layer->sourceCropf.left = (float)crop.left; in trimList()
1034 int& crop_l = crop.left; in calculate_crop_rects()
1038 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1041 int& dst_l = dst.left; in calculate_crop_rects()
1045 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
1048 const int& sci_l = scissor.left; in calculate_crop_rects()
1092 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1098 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1102 if(lhs.left == rhs.left && lhs.top == rhs.top && in operator ==()
1115 res.left = rect.left + x_off; in moveRect()
1133 res.left = max(rect1.left, rect2.left); in getIntersection()
1157 res.left = min(rect1.left, rect2.left); 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()
1212 layer->sourceCropf.left =(float)bottomCrop.left; in optimizeLayerRects()
1236 nwr.left = list->hwLayers[0].displayFrame.left; 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()
1552 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1555 int posW = pos.right - pos.left; in configMdp()
1557 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1578 int dst_w = dst.right - dst.left; in configColorLayer()
1592 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1608 Dim transformedCrop(crop.left, crop.top, in updateSource()
1609 crop.right - crop.left, in updateSource()
1624 crop.left = transformedCrop.x; in updateSource()
1669 crop.right - crop.left, in configureNonSplit()
1671 dst.right - dst.left, in configureNonSplit()
1714 if(cropL.right - cropL.left) { in sanitizeSourceCrop()
1717 ovutils::even_floor(cropL.left); 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()
1732 ovutils::even_floor(cropR.left); in sanitizeSourceCrop()
1811 if(dst.left < lSplit) { in configureSplit()
1833 if((orient & OVERLAY_TRANSFORM_FLIP_H) && (dst.left < lSplit) && in configureSplit()
1836 new_cropR.left = tmp_cropL.left; 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()
1843 tmp_cropL.left = new_cropL.left; in configureSplit()
1846 tmp_cropR.left = new_cropR.left; in configureSplit()
1875 tmp_dstR.left = tmp_dstR.left - lSplit; in configureSplit()
1936 int lSplit = dst.left + (dst.right - dst.left)/2; in configureSourceSplit()
1944 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1962 new_cropR.left = tmp_cropL.left; 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()
1969 tmp_cropL.left = new_cropL.left; in configureSourceSplit()
1972 tmp_cropR.left = new_cropR.left; in configureSourceSplit()
2161 if (rect1.left == rect2.left) 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()
2277 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
2280 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2282 t_roi.right = t_roi.left + width; in getSanitizeROI()
2286 t_roi.left = t_roi.right - width; in getSanitizeROI()
2289 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()