Home
last modified time | relevance | path

Searched refs:yRatio (Results 1 – 3 of 3) 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/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()