Lines Matching refs:top

373     int x = rect.left, y = rect.top;  in getActionSafePosition()
375 int h = rect.bottom - rect.top; in getActionSafePosition()
428 rect.top = y; in getActionSafePosition()
430 rect.bottom = h + rect.top; in getActionSafePosition()
458 rect.top = y; in getAspectRatioPosition()
460 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
486 inRect.bottom - inRect.top); in getAspectRatioPosition()
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
488 outRect.bottom - outRect.top); in getAspectRatioPosition()
501 yPos = rect.top; in getAspectRatioPosition()
503 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
533 yPos = r.top; in getAspectRatioPosition()
534 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
571 outRect.top = outPos.y; in getAspectRatioPosition()
621 displayFrame.top = 0; in calcExtDisplayPosition()
643 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
703 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
705 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
718 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
720 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
761 dst_height_l = dstL.bottom - dstL.top; in needsScalingWithSplit()
763 src_height_l = cropL.bottom - cropL.top; in needsScalingWithSplit()
771 dst_height_r = dstR.bottom - dstR.top; in needsScalingWithSplit()
773 src_height_r = cropR.bottom - cropR.top; in needsScalingWithSplit()
808 if(dst.left < 0 || dst.top < 0 || in trimLayer()
827 layer->sourceCropf.top = (float)crop.top; in trimList()
849 __FUNCTION__, dpy, outRect.left, outRect.top, in calculateDisplayViewFrame()
1048 int& crop_t = crop.top; in calculate_crop_rects()
1052 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1055 int& dst_t = dst.top; in calculate_crop_rects()
1059 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1062 const int& sci_t = scissor.top; in calculate_crop_rects()
1105 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1111 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1128 res.top = rect.top + y_off; in moveRect()
1146 res.top = max(rect1.top, rect2.top); in getIntersection()
1170 res.top = min(rect1.top, rect2.top); in getUnion()
1184 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1185 res.top = rect2.bottom; in deductRect()
1186 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1187 res.bottom = rect2.top; in deductRect()
1189 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1225 layer->sourceCropf.top = (float)bottomCrop.top; in optimizeLayerRects()
1249 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1516 uint32_t crop_h = (crop.bottom - crop.top); in configRotator()
1519 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator()
1524 crop.bottom = crop.top + crop_h; in configRotator()
1526 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1545 int crop_h = crop.bottom - crop.top; in configMdp()
1546 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1550 int posH = pos.bottom - pos.top; in configMdp()
1551 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1573 int dst_h = dst.bottom - dst.top; in configColorLayer()
1586 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1602 Dim srcCrop(crop.left, crop.top, in updateSource()
1604 crop.bottom - crop.top); in updateSource()
1611 crop.top = 0; in updateSource()
1619 crop.top = srcCrop.y; in updateSource()
1665 crop.bottom - crop.top, in configureNonSplit()
1667 dst.bottom - dst.top); in configureNonSplit()
1940 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1946 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2168 int src_h = crop.bottom - crop.top; in setBwc()
2170 int dst_h = dst.bottom - dst.top; in setBwc()
2257 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2258 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2259 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2261 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2285 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2288 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2290 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2294 t_roi.top = t_roi.bottom - height; in getSanitizeROI()
2297 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()