Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp121 Rect activeCrop{activeCropFloat}; in calculateInitialCrop() local
122 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop()
123 activeCrop.clear(); in calculateInitialCrop()
125 return activeCrop; in calculateInitialCrop()
141 Rect activeCrop = calculateInitialCrop(); in calculateOutputSourceCrop() local
186 activeCrop.transform(invTransform, bufferSize.getWidth(), bufferSize.getHeight()); in calculateOutputSourceCrop()
215 Rect activeCrop = layerState.geomCrop; in calculateOutputDisplayFrame() local
216 if (!activeCrop.isEmpty() && bufferSize.isValid()) { in calculateOutputDisplayFrame()
217 activeCrop = layerTransform.transform(activeCrop); in calculateOutputDisplayFrame()
218 if (!activeCrop.intersect(outputState.viewport, &activeCrop)) { in calculateOutputDisplayFrame()
[all …]