Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp514 float insetWidth) { in getShadowGeometry() argument
533 innerRadius = devRadius - insetWidth; in getShadowGeometry()
536 if (insetWidth <= 0.5f * std::min(devRect.getWidth(), devRect.getHeight())) { in getShadowGeometry()
539 innerRadius = std::max(insetWidth - umbraInset, 0.0f); in getShadowGeometry()
599 float insetWidth = blurOutset; in getSpotShadowGeometry() local
602 insetWidth += spotShadowRect.getWidth(); in getSpotShadowGeometry()
633 insetWidth += std::max(blurOutset, maxOffset); in getSpotShadowGeometry()
644 2.0f * devSpaceSpotBlur, std::abs(insetWidth)); in getSpotShadowGeometry()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp514 float insetWidth) { in getShadowGeometry() argument
533 innerRadius = devRadius - insetWidth; in getShadowGeometry()
536 if (insetWidth <= 0.5f * std::min(devRect.getWidth(), devRect.getHeight())) { in getShadowGeometry()
539 innerRadius = std::max(insetWidth - umbraInset, 0.0f); in getShadowGeometry()
599 float insetWidth = blurOutset; in getSpotShadowGeometry() local
602 insetWidth += spotShadowRect.getWidth(); in getSpotShadowGeometry()
633 insetWidth += std::max(blurOutset, maxOffset); in getSpotShadowGeometry()
644 2.0f * devSpaceSpotBlur, std::abs(insetWidth)); in getSpotShadowGeometry()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java237 int insetWidth = (int) (bounds.width() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBounds() local
240 outRect.set(cX - insetWidth, cY - insetHeight, cX + insetWidth, cY + insetHeight); in updateLayerBounds()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java354 final int insetWidth = (int) (bounds.width() / (portScale * 2)); in createIconBitmap() local
357 Rect childRect = new Rect(cX - insetWidth, cY - insetHeight, cX + insetWidth, in createIconBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java327 int insetWidth = (int) (bounds.width() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBoundsInternal() local
330 outRect.set(cX - insetWidth, cY - insetHeight, cX + insetWidth, cY + insetHeight); in updateLayerBoundsInternal()