Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScaleToSides.h28 float* minRadius = a; in AdjustRadii() local
32 if (*minRadius > *maxRadius) { in AdjustRadii()
33 SkTSwap(minRadius, maxRadius); in AdjustRadii()
41 float newMinRadius = *minRadius; in AdjustRadii()
/external/skia/src/effects/shadows/
DSkSpotShadowMaskFilter.cpp231 const SkScalar minRadius = 0.5f / scaleFactor; in directFilterRRectMaskGPU() local
232 bool isRect = rrect.getSimpleRadii().fX <= minRadius; in directFilterRRectMaskGPU()
243 spotRRect = SkRRect::MakeRectXY(rrect.rect(), minRadius, minRadius); in directFilterRRectMaskGPU()
298 minRadius); in directFilterRRectMaskGPU()
DSkAmbientShadowMaskFilter.cpp215 const SkScalar minRadius = 0.5f / scaleFactor; in directFilterRRectMaskGPU() local
216 bool isRect = rrect.getSimpleRadii().fX <= minRadius; in directFilterRRectMaskGPU()
228 minRadius); in directFilterRRectMaskGPU()
/external/skia/samplecode/
DSampleAndroidShadows.cpp329 const SkScalar minRadius = SK_ScalarHalf/scaleFactors[0]; in drawSpotShadowAlt() local
333 pathRRect = SkRRect::MakeRectXY(pathRect, minRadius, minRadius); in drawSpotShadowAlt()
335 if (pathRRect.getSimpleRadii().fX < minRadius) { in drawSpotShadowAlt()
336 pathRRect.setRectXY(pathRRect.rect(), minRadius, minRadius); in drawSpotShadowAlt()
381 minRadius); in drawSpotShadowAlt()