Home
last modified time | relevance | path

Searched refs:yRatio (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp386 float yRatio = 1.0; in getActionSafePosition() local
416 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
422 y = int((yRatio * asH) + asY); in getActionSafePosition()
482 float yRatio = 1.0; in getAspectRatioPosition() local
506 yRatio = (float)(inPos.y/actualHeight); in getAspectRatioPosition()
512 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
535 yRatio = (float)yPos/height; in getAspectRatioPosition()
541 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
560 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
565 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp401 float yRatio = 1.0; in getActionSafePosition() local
431 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
437 y = int((yRatio * asH) + asY); in getActionSafePosition()
469 float yRatio = 1.0; in getAspectRatioPosition() local
493 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition()
499 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
522 yRatio = (float)yPos/height; in getAspectRatioPosition()
528 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
547 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
552 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp629 float yRatio = 1.0; in getActionSafePosition() local
659 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
665 y = int((yRatio * asH) + asY); in getActionSafePosition()
697 float yRatio = 1.0; in getAspectRatioPosition() local
721 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition()
727 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
750 yRatio = (float)yPos/height; in getAspectRatioPosition()
756 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
780 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
785 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp562 float yRatio = 1.0; in getActionSafePosition() local
592 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
598 y = int((yRatio * asH) + asY); in getActionSafePosition()
630 float yRatio = 1.0; in getAspectRatioPosition() local
654 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition()
660 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
683 yRatio = (float)yPos/height; in getAspectRatioPosition()
689 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
713 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
718 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp323 float yRatio = 1.0; in getActionSafePosition() local
347 yRatio = (float)y/fbHeight; in getActionSafePosition()
353 y = (yRatio * asH) + asY; in getActionSafePosition()