Searched refs:xresRatio (Results 1 - 2 of 2) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc.cpp243 float xresRatio = (float)origXres / (float)fakeXres; local
254 if (isEqual(((float)layerWidth / (float)sourceWidth), xresRatio) &&
258 displayFrame.left = (int)(xresRatio * (float)displayFrame.left);
261 (float)layerWidth * xresRatio);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc.cpp238 float xresRatio = (float)origXres / (float)newXres; local
246 displayFrame.left = (int)(xresRatio * (float)displayFrame.left);
249 (float)layerWidth * xresRatio);

Completed in 50 milliseconds