Searched refs:textShadow (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 75 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() argument 78 if (textShadow) { in getTextShadow() 79 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma); in getTextShadow() 80 textShadow->dx = blur.fOffset.fX; in getTextShadow() 81 textShadow->dy = blur.fOffset.fY; in getTextShadow() 82 textShadow->color = blur.fColor; in getTextShadow()
|
/frameworks/base/libs/hwui/ |
D | BakedOpDispatcher.cpp | 196 PaintUtils::TextShadow textShadow; in renderTextShadow() local 197 if (!PaintUtils::getTextShadow(op.paint, &textShadow)) { in renderTextShadow() 203 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions); in renderTextShadow() 209 const float sx = op.x - texture->left + textShadow.dx; in renderTextShadow() 210 const float sy = op.y - texture->top + textShadow.dy; in renderTextShadow() 216 .setFillShadowTexturePaint(*texture, textShadow.color, *op.paint, textOpState.alpha) in renderTextShadow() 230 shadowBounds.translate(textShadow.dx, textShadow.dy); in renderTextShadow() 231 shadowBounds.outset(textShadow.radius, textShadow.radius); in renderTextShadow()
|