Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp123 int winWidth = bufferSize.getWidth(); in calculateOutputSourceCrop() local
128 if (winWidth < 0 && winHeight < 0) { in calculateOutputSourceCrop()
162 std::swap(winWidth, winHeight); in calculateOutputSourceCrop()
168 const float xScale = crop.getWidth() / float(winWidth); in calculateOutputSourceCrop()
173 const float insetRight = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop()