Searched refs:xresRatio (Results 1 – 3 of 3) sorted by relevance
243 float xresRatio = (float)origXres / (float)fakeXres; in scaleDisplayFrame() local254 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()
248 float xresRatio = (float)origXres / (float)newXres; in scaleDisplayFrame() local256 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()259 (float)layerWidth * xresRatio); in scaleDisplayFrame()
235 float xresRatio = (float)origXres / (float)newXres; in scaleDisplayFrame() local243 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()246 (float)layerWidth * xresRatio); in scaleDisplayFrame()