Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp101 Rect activeCrop{activeCropFloat}; in calculateInitialCrop() local
102 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop()
103 activeCrop.clear(); in calculateInitialCrop()
105 return activeCrop; in calculateInitialCrop()
120 Rect activeCrop = calculateInitialCrop(); in calculateOutputSourceCrop() local
165 activeCrop.transform(invTransform, bufferSize.getWidth(), bufferSize.getHeight()); in calculateOutputSourceCrop()
194 Rect activeCrop = layerState.geomCrop; in calculateOutputDisplayFrame() local
195 if (!activeCrop.isEmpty() && bufferSize.isValid()) { in calculateOutputDisplayFrame()
196 activeCrop = layerTransform.transform(activeCrop); in calculateOutputDisplayFrame()
197 if (!activeCrop.intersect(outputState.layerStackSpace.getContent(), &activeCrop)) { in calculateOutputDisplayFrame()
[all …]