Home
last modified time | relevance | path

Searched refs:xPos (Results 1 – 2 of 2) 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()