Lines Matching refs:top
137 ctx->mViewFrame[dpy].top = 0; in updateDisplayInfo()
341 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
549 int x = rect.left, y = rect.top; in getActionSafePosition()
551 int h = rect.bottom - rect.top; in getActionSafePosition()
604 rect.top = y; in getActionSafePosition()
606 rect.bottom = h + rect.top; in getActionSafePosition()
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
634 inRect.bottom - inRect.top); in getAspectRatioPosition()
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
636 outRect.bottom - outRect.top); in getAspectRatioPosition()
649 yPos = rect.top; in getAspectRatioPosition()
651 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
681 yPos = r.top; in getAspectRatioPosition()
682 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
724 outRect.top = outPos.y; in getAspectRatioPosition()
774 displayFrame.top = 0; in calcExtDisplayPosition()
801 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
806 displayFrame.left, displayFrame.top, in calcExtDisplayPosition()
865 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
867 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
880 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
882 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
926 dst_height_l = dstL.bottom - dstL.top; in needsScalingWithSplit()
928 src_height_l = cropL.bottom - cropL.top; in needsScalingWithSplit()
936 dst_height_r = dstR.bottom - dstR.top; in needsScalingWithSplit()
938 src_height_r = cropR.bottom - cropR.top; in needsScalingWithSplit()
973 if(dst.left < 0 || dst.top < 0 || in trimLayer()
994 layer->sourceCropf.top = (float)crop.top; in trimList()
1253 int& crop_t = crop.top; in calculate_crop_rects()
1257 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1260 int& dst_t = dst.top; in calculate_crop_rects()
1264 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1267 const int& sci_t = scissor.top; in calculate_crop_rects()
1310 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1316 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1320 if(lhs.left == rhs.left && lhs.top == rhs.top && in operator ==()
1340 res.top = rect.top + y_off; in moveRect()
1358 res.top = max(rect1.top, rect2.top); in getIntersection()
1382 res.top = min(rect1.top, rect2.top); in getUnion()
1396 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1397 res.top = rect2.bottom; in deductRect()
1398 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1399 res.bottom = rect2.top; in deductRect()
1401 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1439 layer->sourceCropf.top = (float)bottomCrop.top; in optimizeLayerRects()
1463 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1766 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1767 crop.bottom - crop.top); in configRotator()
1786 int crop_h = crop.bottom - crop.top; in configMdp()
1787 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1791 int posH = pos.bottom - pos.top; in configMdp()
1792 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1814 int dst_h = dst.bottom - dst.top; in configColorLayer()
1827 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1843 Dim transformedCrop(crop.left, crop.top, in updateSource()
1845 crop.bottom - crop.top); in updateSource()
1860 crop.top = transformedCrop.y; in updateSource()
1889 crop.bottom - crop.top, dst.right - dst.left, in getRotDownscale()
1890 dst.bottom - dst.top, format, isInterlaced); in getRotDownscale()
1892 Dim adjCrop(crop.left, crop.top, crop.right - crop.left, in getRotDownscale()
1893 crop.bottom - crop.top); in getRotDownscale()
1894 Dim pos(dst.left, dst.top, dst.right - dst.left, in getRotDownscale()
1895 dst.bottom - dst.top); in getRotDownscale()
1908 return(crop.top > 0 || crop.left > 0); in isZoomModeEnabled()
1913 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
1915 Dim srcCrop(crop.left, crop.top, in updateCropAIVVideoMode()
1917 crop.bottom - crop.top); in updateCropAIVVideoMode()
1923 crop.top += offset; in updateCropAIVVideoMode()
1932 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
1939 dst.left, dst.top, dst.right, dst.bottom); in updateDestAIVVideoMode()
1940 Dim srcCrop(crop.left, crop.top, in updateDestAIVVideoMode()
1942 crop.bottom - crop.top); in updateDestAIVVideoMode()
1955 dst.top = 0; in updateDestAIVVideoMode()
1961 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom, in updateDestAIVVideoMode()
1962 crop.left, crop.top, crop.right, crop.bottom); in updateDestAIVVideoMode()
2280 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
2286 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2506 if (rect1.top == rect2.top) in isPeripheral()
2556 int src_h = crop.bottom - crop.top; in setBwc()
2558 int dst_h = dst.bottom - dst.top; in setBwc()
2697 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2698 if(MIN_HEIGHT == boundary.bottom - boundary.top) { in getSanitizeROI()
2699 t_roi.top = 0; in getSanitizeROI()
2702 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2703 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2705 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2729 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2732 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2734 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2738 t_roi.top = t_roi.bottom - height; in getSanitizeROI()
2741 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()