Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp117 const SkRect& insetCrop, const android::vec2& cornerRadius, in intersectionIsRoundRect() argument
140 } else if ((leftEqual && bounds.fTop >= insetCrop.fTop) || in intersectionIsRoundRect()
141 (topEqual && bounds.fLeft >= insetCrop.fLeft)) { in intersectionIsRoundRect()
149 } else if ((rightEqual && bounds.fTop >= insetCrop.fTop) || in intersectionIsRoundRect()
150 (topEqual && bounds.fRight <= insetCrop.fRight)) { in intersectionIsRoundRect()
158 } else if ((rightEqual && bounds.fBottom <= insetCrop.fBottom) || in intersectionIsRoundRect()
159 (bottomEqual && bounds.fRight <= insetCrop.fRight)) { in intersectionIsRoundRect()
167 } else if ((leftEqual && bounds.fBottom <= insetCrop.fBottom) || in intersectionIsRoundRect()
168 (bottomEqual && bounds.fLeft >= insetCrop.fLeft)) { in intersectionIsRoundRect()
194 const auto insetCrop = crop.makeInset(cornerRadius.x, cornerRadius.y); in getBoundsAndClip() local
[all …]