Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowUtils.cpp460 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color, in DrawShadow() argument
476 if (spotAlpha > 0) { in DrawShadow()
478 lightRadius, spotAlpha, flags)); in DrawShadow()
500 if (spotAlpha > 0) { in DrawShadow()
501 spotAlpha = SkTMin(spotAlpha, 1.f); in DrawShadow()
516 factory.fSpotAlpha = spotAlpha; in DrawShadow()
564 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color, in DrawUncachedShadow() argument
586 if (spotAlpha > 0) { in DrawUncachedShadow()
587 spotAlpha = SkTMin(spotAlpha, 1.f); in DrawUncachedShadow()
590 spotAlpha, transparent); in DrawUncachedShadow()
DSkShadowTessellator.h38 SkScalar spotAlpha, bool transparent);
DSkShadowTessellator.cpp653 SkScalar spotAlpha, bool transparent);
697 SkScalar spotAlpha, bool transparent) in SkSpotShadowTessellator() argument
720 fUmbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 255); in SkSpotShadowTessellator()
721 fPenumbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 0); in SkSpotShadowTessellator()
1290 SkScalar spotAlpha, bool transparent) { in MakeSpot() argument
1292 spotAlpha, transparent); in MakeSpot()
/external/skia/samplecode/
DSampleAndroidShadows.cpp256 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawSpotShadow() argument
257 if (spotAlpha <= 0) { in drawSpotShadow()
292 : (unsigned char)(spotAlpha*255.999f), 0, 0, 0)); in drawSpotShadow()
301 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawSpotShadowAlt() argument
302 if (spotAlpha <= 0) { in drawSpotShadowAlt()
324 this->drawSpotShadow(canvas, path, zValue, lightPos, lightWidth, spotAlpha); in drawSpotShadowAlt()
398 unsigned char alpha = (unsigned char)(spotAlpha*255.999f); in drawSpotShadowAlt()
411 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument
419 this->drawSpotShadowAlt(canvas, path, zValue, lightPos, lightWidth, spotAlpha); in drawShadowedPath()
426 spotAlpha = 0; in drawShadowedPath()
[all …]
/external/skia/src/effects/shadows/
DSkSpotShadowMaskFilter.cpp26 SkScalar lightRadius, SkScalar spotAlpha, uint32_t flags);
80 SkScalar lightRadius, SkScalar spotAlpha, in Make() argument
85 lightRadius, spotAlpha, flags)); in Make()
93 SkScalar spotAlpha, in SkSpotShadowMaskFilterImpl() argument
98 , fSpotAlpha(spotAlpha) in SkSpotShadowMaskFilterImpl()
129 const SkScalar spotAlpha = buffer.readScalar(); in CreateProc() local
133 spotAlpha, flags); in CreateProc()
DSkSpotShadowMaskFilter.h29 SkScalar lightRadius, SkScalar spotAlpha,
/external/skia/include/utils/
DSkShadowUtils.h42 SkScalar spotAlpha, SkColor color,
67 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color,
/external/skia/gm/
Dshadowutils.cpp17 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local
18 SkShadowUtils::DrawShadow(canvas, path, height, lightPos, lightR, ambientAlpha, spotAlpha, in draw_shadow()