Home
last modified time | relevance | path

Searched refs:hRatio (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp384 float hRatio = 1.0; in getActionSafePosition() local
418 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
424 h = int(hRatio * asH); in getActionSafePosition()
480 float hRatio = 1.0; in getAspectRatioPosition() local
508 hRatio = (float)(inPos.h/actualHeight); in getAspectRatioPosition()
514 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
537 hRatio = tempHeight/height; in getAspectRatioPosition()
543 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
562 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
567 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp399 float hRatio = 1.0; in getActionSafePosition() local
433 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
439 h = int(hRatio * asH); in getActionSafePosition()
467 float hRatio = 1.0; in getAspectRatioPosition() local
495 hRatio = (float)((float)inPos.h/actualHeight); in getAspectRatioPosition()
501 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
524 hRatio = tempHeight/height; in getAspectRatioPosition()
530 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
549 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
554 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp560 float hRatio = 1.0; in getActionSafePosition() local
594 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
600 h = int(hRatio * asH); in getActionSafePosition()
628 float hRatio = 1.0; in getAspectRatioPosition() local
656 hRatio = (float)((float)inPos.h/actualHeight); in getAspectRatioPosition()
662 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
685 hRatio = tempHeight/height; in getAspectRatioPosition()
691 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
715 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
720 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp321 float hRatio = 1.0; in getActionSafePosition() local
349 hRatio = (float)h/fbHeight; in getActionSafePosition()
355 h = (hRatio * asH); in getActionSafePosition()