Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp124 int winHeight = bufferSize.getHeight(); in calculateOutputSourceCrop() local
128 if (winWidth < 0 && winHeight < 0) { in calculateOutputSourceCrop()
162 std::swap(winWidth, winHeight); in calculateOutputSourceCrop()
169 const float yScale = crop.getHeight() / float(winHeight); in calculateOutputSourceCrop()
174 const float insetBottom = (winHeight - winCrop.bottom) * yScale; in calculateOutputSourceCrop()