Lines Matching refs:top

237     ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0;  in initContext()
388 int x = rect.left, y = rect.top; in getActionSafePosition()
390 int h = rect.bottom - rect.top; in getActionSafePosition()
443 rect.top = y; in getActionSafePosition()
445 rect.bottom = h + rect.top; in getActionSafePosition()
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
473 inRect.bottom - inRect.top); in getAspectRatioPosition()
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
475 outRect.bottom - outRect.top); in getAspectRatioPosition()
488 yPos = rect.top; in getAspectRatioPosition()
490 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
520 yPos = r.top; in getAspectRatioPosition()
521 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
558 outRect.top = outPos.y; in getAspectRatioPosition()
608 displayFrame.top = 0; in calcExtDisplayPosition()
630 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
690 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
692 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
705 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
707 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
748 dst_height_l = dstL.bottom - dstL.top; in needsScalingWithSplit()
750 src_height_l = cropL.bottom - cropL.top; in needsScalingWithSplit()
758 dst_height_r = dstR.bottom - dstR.top; in needsScalingWithSplit()
760 src_height_r = cropR.bottom - cropR.top; in needsScalingWithSplit()
795 if(dst.left < 0 || dst.top < 0 || in trimLayer()
814 layer->sourceCropf.top = (float)crop.top; in trimList()
1035 int& crop_t = crop.top; in calculate_crop_rects()
1039 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1042 int& dst_t = dst.top; in calculate_crop_rects()
1046 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1049 const int& sci_t = scissor.top; 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 ==()
1116 res.top = rect.top + y_off; in moveRect()
1134 res.top = max(rect1.top, rect2.top); in getIntersection()
1158 res.top = min(rect1.top, rect2.top); in getUnion()
1172 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1173 res.top = rect2.bottom; in deductRect()
1174 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1175 res.bottom = rect2.top; in deductRect()
1177 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1213 layer->sourceCropf.top = (float)bottomCrop.top; in optimizeLayerRects()
1237 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1531 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1532 crop.bottom - crop.top); in configRotator()
1551 int crop_h = crop.bottom - crop.top; in configMdp()
1552 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1556 int posH = pos.bottom - pos.top; in configMdp()
1557 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1579 int dst_h = dst.bottom - dst.top; in configColorLayer()
1592 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1608 Dim transformedCrop(crop.left, crop.top, in updateSource()
1610 crop.bottom - crop.top); in updateSource()
1625 crop.top = transformedCrop.y; in updateSource()
1670 crop.bottom - crop.top, in configureNonSplit()
1672 dst.bottom - dst.top); in configureNonSplit()
1944 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1950 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2163 if (rect1.top == rect2.top) in isPeripheral()
2180 int src_h = crop.bottom - crop.top; in setBwc()
2182 int dst_h = dst.bottom - dst.top; in setBwc()
2268 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2269 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2270 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2272 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2296 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2299 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2301 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2305 t_roi.top = t_roi.bottom - height; in getSanitizeROI()
2308 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()