Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp120 int winWidth = bufferSize.getWidth(); in calculateOutputSourceCrop() local
125 if (winWidth < 0 && winHeight < 0) { in calculateOutputSourceCrop()
160 std::swap(winWidth, winHeight); in calculateOutputSourceCrop()
166 const float xScale = crop.getWidth() / float(winWidth); in calculateOutputSourceCrop()
171 const float insetRight = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop()