Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshotBuilder.cpp884 FloatRect layerCropRect = snapshot.croppedBufferSize.toFloatRect(); in updateRoundedCorner() local
886 RoundedCornerState layerSettings(layerCropRect, radius); in updateRoundedCorner()
887 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && !layerCropRect.isEmpty(); in updateRoundedCorner()
893 if (parentRoundedCorner.cropRect.left > layerCropRect.left && in updateRoundedCorner()
894 parentRoundedCorner.cropRect.top > layerCropRect.top && in updateRoundedCorner()
895 parentRoundedCorner.cropRect.right < layerCropRect.right && in updateRoundedCorner()
896 parentRoundedCorner.cropRect.bottom < layerCropRect.bottom) { in updateRoundedCorner()
/frameworks/native/services/surfaceflinger/
DLayer.cpp2089 Rect layerCropRect = getCroppedBufferSize(getDrawingState()); in getRoundedCornerState() local
2091 RoundedCornerState layerSettings(layerCropRect.toFloatRect(), radius); in getRoundedCornerState()
2092 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && layerCropRect.isValid(); in getRoundedCornerState()
2098 if (parentSettings.cropRect.left > layerCropRect.left && in getRoundedCornerState()
2099 parentSettings.cropRect.top > layerCropRect.top && in getRoundedCornerState()
2100 parentSettings.cropRect.right < layerCropRect.right && in getRoundedCornerState()
2101 parentSettings.cropRect.bottom < layerCropRect.bottom) { in getRoundedCornerState()