Home
last modified time | relevance | path

Searched refs:xresRatio (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc.cpp243 float xresRatio = (float)origXres / (float)fakeXres; in scaleDisplayFrame() local
254 if (isEqual(((float)layerWidth / (float)sourceWidth), xresRatio) && in scaleDisplayFrame()
258 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
261 (float)layerWidth * xresRatio); in scaleDisplayFrame()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp248 float xresRatio = (float)origXres / (float)newXres; in scaleDisplayFrame() local
256 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
259 (float)layerWidth * xresRatio); in scaleDisplayFrame()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp235 float xresRatio = (float)origXres / (float)newXres; in scaleDisplayFrame() local
243 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
246 (float)layerWidth * xresRatio); in scaleDisplayFrame()