Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp144 int winWidth = bufferSize.getWidth(); in calculateOutputSourceCrop() local
149 if (winWidth < 0 && winHeight < 0) { in calculateOutputSourceCrop()
183 std::swap(winWidth, winHeight); in calculateOutputSourceCrop()
189 float xScale = crop.getWidth() / float(winWidth); in calculateOutputSourceCrop()
194 float insetR = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop()