Searched refs:outPos (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local 511 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition() 512 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition() 513 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition() 514 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition() 516 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition() 517 outPos.w, outPos.h); in getAspectRatioPosition() 527 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition() 536 wRatio = (float)outPos.w/width; in getAspectRatioPosition() 540 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local 498 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition() 499 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition() 500 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition() 501 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition() 503 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition() 504 outPos.w, outPos.h); in getAspectRatioPosition() 514 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition() 523 wRatio = (float)outPos.w/width; in getAspectRatioPosition() 527 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local 659 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition() 660 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition() 661 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition() 662 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition() 664 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition() 665 outPos.w, outPos.h); in getAspectRatioPosition() 675 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition() 684 wRatio = (float)outPos.w/width; in getAspectRatioPosition() 688 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition() [all …]
|