Home
last modified time | relevance | path

Searched refs:actualWidth (Results 1 – 3 of 3) 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()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp624 float actualWidth = fbWidth; in getAspectRatioPosition() local
645 swapWidthHeight(actualWidth, actualHeight); in getAspectRatioPosition()
647 (int)actualWidth, (int)actualHeight, rect); in getAspectRatioPosition()
653 xRatio = (float)((float)inPos.x/actualWidth); in getAspectRatioPosition()
655 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition()