Lines Matching refs:top
362 int x = rect.left, y = rect.top; in getActionSafePosition()
364 int h = rect.bottom - rect.top; in getActionSafePosition()
417 rect.top = y; in getActionSafePosition()
419 rect.bottom = h + rect.top; in getActionSafePosition()
447 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
448 inRect.bottom - inRect.top); in getAspectRatioPosition()
449 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
450 outRect.bottom - outRect.top); in getAspectRatioPosition()
463 yPos = rect.top; in getAspectRatioPosition()
465 height = rect.bottom - rect.top; in getAspectRatioPosition()
467 swap(viewFrame.left, viewFrame.top); in getAspectRatioPosition()
473 yRatio = (inPos.y - viewFrame.top)/actualHeight; in getAspectRatioPosition()
476 hRatio = (float)inPos.h/(float)(viewFrame.bottom - viewFrame.top); in getAspectRatioPosition()
501 yPos = r.top; in getAspectRatioPosition()
502 float tempHeight = r.bottom - r.top; in getAspectRatioPosition()
539 outRect.top = outPos.y; in getAspectRatioPosition()
589 displayFrame.top = 0; in calcExtDisplayPosition()
611 displayFrame.top *= hRatio; in calcExtDisplayPosition()
656 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
658 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
671 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
673 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
714 dst_height_l = dstL.bottom - dstL.top; in needsScalingWithSplit()
716 src_height_l = cropL.bottom - cropL.top; in needsScalingWithSplit()
724 dst_height_r = dstR.bottom - dstR.top; in needsScalingWithSplit()
726 src_height_r = cropR.bottom - cropR.top; in needsScalingWithSplit()
761 if(dst.left < 0 || dst.top < 0 || in trimLayer()
780 layer->sourceCropf.top = crop.top; in trimList()
802 __FUNCTION__, dpy, outRect.left, outRect.top, in calculateDisplayViewFrame()
1029 int& crop_t = crop.top; in calculate_crop_rects()
1033 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1036 int& dst_t = dst.top; in calculate_crop_rects()
1040 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
1043 const int& sci_t = scissor.top; in calculate_crop_rects()
1086 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1100 res.top = max(rect1.top, rect2.top); in getIntersection()
1124 res.top = min(rect1.top, rect2.top); in getUnion()
1138 if((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) in deductRect()
1139 res.top = rect2.bottom; in deductRect()
1140 else if((rect1.bottom == rect2.bottom)&& (rect2.top >= rect1.top)) in deductRect()
1141 res.bottom = rect2.top; in deductRect()
1143 else if((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in deductRect()
1179 layer->sourceCropf.top = bottomCrop.top; in optimizeLayerRects()
1198 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1449 uint32_t crop_h = (crop.bottom - crop.top); in configRotator()
1452 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator()
1457 crop.bottom = crop.top + crop_h; in configRotator()
1459 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1478 int crop_h = crop.bottom - crop.top; in configMdp()
1479 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1483 int posH = pos.bottom - pos.top; in configMdp()
1484 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1506 int dst_h = dst.bottom - dst.top; in configColorLayer()
1519 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1535 Dim srcCrop(crop.left, crop.top, in updateSource()
1537 crop.bottom - crop.top); in updateSource()
1544 crop.top = 0; in updateSource()
1552 crop.top = srcCrop.y; in updateSource()
1598 crop.bottom - crop.top, in configureNonSplit()
1600 dst.bottom - dst.top); in configureNonSplit()
1870 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1876 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2098 int src_h = crop.bottom - crop.top; in setBwc()
2100 int dst_h = dst.bottom - dst.top; in setBwc()