Home
last modified time | relevance | path

Searched refs:xresRatio (Results 1 – 4 of 4) 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/msm8909/libhwcomposer/
Dhwc.cpp242 float xresRatio = (float)origXres / (float)newXres; in scaleDisplayFrame() local
249 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
252 (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()