Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt514 roundedRect: RoundRect, in createRoundRectPath()
518 addRoundRect(roundedRect) in createRoundRectPath()
520 Path().apply { addRoundRect(createInsetRoundedRect(strokeWidth, roundedRect)) } in createRoundRectPath()
526 private fun createInsetRoundedRect(widthPx: Float, roundedRect: RoundRect) =
530 right = roundedRect.width - widthPx,
531 bottom = roundedRect.height - widthPx,
532 topLeftCornerRadius = roundedRect.topLeftCornerRadius.shrink(widthPx),
533 topRightCornerRadius = roundedRect.topRightCornerRadius.shrink(widthPx),
534 bottomLeftCornerRadius = roundedRect.bottomLeftCornerRadius.shrink(widthPx),
535 bottomRightCornerRadius = roundedRect.bottomRightCornerRadius.shrink(widthPx)
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp639 SkRRect roundedRect; in getBlurRRect() local
640 roundedRect.setRectRadii(rect, radii); in getBlurRRect()
641 return roundedRect; in getBlurRRect()