Searched refs:inPos (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() local 493 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 505 xRatio = (float)(inPos.x/actualWidth); in getAspectRatioPosition() 506 yRatio = (float)(inPos.y/actualHeight); in getAspectRatioPosition() 507 wRatio = (float)(inPos.w/actualWidth); in getAspectRatioPosition() 508 hRatio = (float)(inPos.h/actualHeight); in getAspectRatioPosition()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() local 480 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 492 xRatio = (float)((float)inPos.x/actualWidth); in getAspectRatioPosition() 493 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition() 494 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition() 495 hRatio = (float)((float)inPos.h/actualHeight); in getAspectRatioPosition()
|