Home
last modified time | relevance | path

Searched refs:xPos (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp471 int xPos = 0; in getAspectRatioPosition() local
500 xPos = rect.left; in getAspectRatioPosition()
511 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
527 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
532 xPos = r.left; in getAspectRatioPosition()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp458 int xPos = 0; in getAspectRatioPosition() local
487 xPos = rect.left; in getAspectRatioPosition()
498 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
514 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
519 xPos = r.left; in getAspectRatioPosition()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp619 int xPos = 0; in getAspectRatioPosition() local
648 xPos = rect.left; in getAspectRatioPosition()
659 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
675 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
680 xPos = r.left; in getAspectRatioPosition()