Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp145 int winHeight = bufferSize.getHeight(); in calculateOutputSourceCrop() local
149 if (winWidth < 0 && winHeight < 0) { in calculateOutputSourceCrop()
183 std::swap(winWidth, winHeight); in calculateOutputSourceCrop()
190 float yScale = crop.getHeight() / float(winHeight); in calculateOutputSourceCrop()
195 float insetB = (winHeight - winCrop.bottom) * yScale; in calculateOutputSourceCrop()