Lines Matching refs:top
161 ctx->mViewFrame[dpy].top = 0; in updateDisplayInfo()
364 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
616 int x = rect.left, y = rect.top; in getActionSafePosition()
618 int h = rect.bottom - rect.top; in getActionSafePosition()
671 rect.top = y; in getActionSafePosition()
673 rect.bottom = h + rect.top; in getActionSafePosition()
700 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
701 inRect.bottom - inRect.top); in getAspectRatioPosition()
702 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
703 outRect.bottom - outRect.top); in getAspectRatioPosition()
716 yPos = rect.top; in getAspectRatioPosition()
718 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
748 yPos = r.top; in getAspectRatioPosition()
749 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
791 outRect.top = outPos.y; in getAspectRatioPosition()
841 displayFrame.top = 0; in calcExtDisplayPosition()
868 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
873 displayFrame.left, displayFrame.top, in calcExtDisplayPosition()
932 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
934 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
947 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
949 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
990 dst_height_l = dstL.bottom - dstL.top; in needsScalingWithSplit()
992 src_height_l = cropL.bottom - cropL.top; in needsScalingWithSplit()
1000 dst_height_r = dstR.bottom - dstR.top; in needsScalingWithSplit()
1002 src_height_r = cropR.bottom - cropR.top; in needsScalingWithSplit()
1047 if(dst.left < 0 || dst.top < 0 || in trimLayer()
1068 layer->sourceCropf.top = (float)crop.top; in trimList()
1320 int& crop_t = crop.top; in calculate_crop_rects()
1324 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1327 int& dst_t = dst.top; in calculate_crop_rects()
1331 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1334 const int& sci_t = scissor.top; in calculate_crop_rects()
1377 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1383 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1387 if(lhs.left == rhs.left && lhs.top == rhs.top && in operator ==()
1405 int y_off = dst.top - src.top; in calculateDirtyRect()
1432 res.top = rect.top + y_off; in moveRect()
1450 res.top = max(rect1.top, rect2.top); in getIntersection()
1474 res.top = min(rect1.top, rect2.top); in getUnion()
1488 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1489 res.top = rect2.bottom; in deductRect()
1490 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1491 res.bottom = rect2.top; in deductRect()
1493 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1531 layer->sourceCropf.top = (float)bottomCrop.top; in optimizeLayerRects()
1550 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1844 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1845 crop.bottom - crop.top); in configRotator()
1864 int crop_h = crop.bottom - crop.top; in configMdp()
1865 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1869 int posH = pos.bottom - pos.top; in configMdp()
1870 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1892 int dst_h = dst.bottom - dst.top; in configColorLayer()
1905 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1921 Dim transformedCrop(crop.left, crop.top, in updateSource()
1923 crop.bottom - crop.top); in updateSource()
1938 crop.top = transformedCrop.y; in updateSource()
1967 crop.bottom - crop.top, dst.right - dst.left, in getRotDownscale()
1968 dst.bottom - dst.top, format, isInterlaced); in getRotDownscale()
1970 Dim adjCrop(crop.left, crop.top, crop.right - crop.left, in getRotDownscale()
1971 crop.bottom - crop.top); in getRotDownscale()
1972 Dim pos(dst.left, dst.top, dst.right - dst.left, in getRotDownscale()
1973 dst.bottom - dst.top); in getRotDownscale()
1986 return(crop.top > 0 || crop.left > 0); in isZoomModeEnabled()
1991 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
1993 Dim srcCrop(crop.left, crop.top, in updateCropAIVVideoMode()
1995 crop.bottom - crop.top); in updateCropAIVVideoMode()
2001 crop.top += offset; in updateCropAIVVideoMode()
2010 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
2017 dst.left, dst.top, dst.right, dst.bottom); in updateDestAIVVideoMode()
2018 Dim srcCrop(crop.left, crop.top, in updateDestAIVVideoMode()
2020 crop.bottom - crop.top); in updateDestAIVVideoMode()
2033 dst.top = 0; in updateDestAIVVideoMode()
2039 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom, in updateDestAIVVideoMode()
2040 crop.left, crop.top, crop.right, crop.bottom); in updateDestAIVVideoMode()
2362 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
2368 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2591 if (rect1.top == rect2.top) in isPeripheral()
2627 int src_h = crop.bottom - crop.top; in setBwc()
2629 int dst_h = dst.bottom - dst.top; in setBwc()
2733 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2734 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2735 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2737 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2761 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2764 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2766 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2770 t_roi.top = t_roi.bottom - height; in getSanitizeROI()
2773 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()