Lines Matching refs:bottom
240 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].bottom = in initContext()
390 int h = rect.bottom - rect.top; in getActionSafePosition()
445 rect.bottom = h + rect.top; in getActionSafePosition()
473 inRect.bottom - inRect.top); in getAspectRatioPosition()
475 outRect.bottom - outRect.top); in getAspectRatioPosition()
490 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
521 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
560 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()
610 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
632 displayFrame.bottom = int(hRatio*(float)displayFrame.bottom); 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()
796 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
815 layer->sourceCropf.bottom = (float)crop.bottom; in trimList()
1036 int& crop_b = crop.bottom; in calculate_crop_rects()
1038 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1043 int& dst_b = dst.bottom; in calculate_crop_rects()
1045 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1050 const int& sci_b = scissor.bottom; in calculate_crop_rects()
1092 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1097 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1102 lhs.right == rhs.right && lhs.bottom == rhs.bottom ) in operator ==()
1117 res.bottom = rect.bottom + y_off; in moveRect()
1135 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection()
1159 res.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
1171 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1172 res.top = rect2.bottom; in deductRect()
1173 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1174 res.bottom = rect2.top; in deductRect()
1176 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1214 layer->sourceCropf.bottom = (float)bottomCrop.bottom; in optimizeLayerRects()
1238 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
1529 crop.bottom - crop.top); in configRotator()
1548 int crop_h = crop.bottom - crop.top; in configMdp()
1553 int posH = pos.bottom - pos.top; in configMdp()
1576 int dst_h = dst.bottom - dst.top; in configColorLayer()
1607 crop.bottom - crop.top); in updateSource()
1624 crop.bottom = transformedCrop.y + transformedCrop.h; in updateSource()
1667 crop.bottom - crop.top, in configureNonSplit()
1669 dst.bottom - dst.top); in configureNonSplit()
1941 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1947 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2164 if (rect1.bottom == rect2.bottom) in isPeripheral()
2177 int src_h = crop.bottom - crop.top; in setBwc()
2179 int dst_h = dst.bottom - dst.top; in setBwc()
2265 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2266 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2267 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2269 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2296 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2298 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2300 if(t_roi.bottom > boundary.bottom) { in getSanitizeROI()
2301 t_roi.bottom = boundary.bottom; in getSanitizeROI()
2302 t_roi.top = t_roi.bottom - height; in getSanitizeROI()