Home
last modified time | relevance | path

Searched refs:actualWidth (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp476 float actualWidth = fbWidth; in getAspectRatioPosition() local
497 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()
498 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth, in getAspectRatioPosition()
505 xRatio = (float)(inPos.x/actualWidth); in getAspectRatioPosition()
507 wRatio = (float)(inPos.w/actualWidth); in getAspectRatioPosition()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp463 float actualWidth = fbWidth; in getAspectRatioPosition() local
484 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()
485 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth, in getAspectRatioPosition()
492 xRatio = (float)((float)inPos.x/actualWidth); in getAspectRatioPosition()
494 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition()