Searched refs:textShadow (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 78 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() argument 81 if (textShadow) { in getTextShadow() 82 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma); in getTextShadow() 83 textShadow->dx = blur.fOffset.fX; in getTextShadow() 84 textShadow->dy = blur.fOffset.fY; in getTextShadow() 85 textShadow->color = blur.fColor; in getTextShadow()
|
/frameworks/base/libs/hwui/ |
D | BakedOpDispatcher.cpp | 199 PaintUtils::TextShadow textShadow; in renderTextShadow() local 200 if (!PaintUtils::getTextShadow(op.paint, &textShadow)) { in renderTextShadow() 206 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions); in renderTextShadow() 212 const float sx = op.x - texture->left + textShadow.dx; in renderTextShadow() 213 const float sy = op.y - texture->top + textShadow.dy; in renderTextShadow() 219 .setFillShadowTexturePaint(*texture, textShadow.color, *op.paint, textOpState.alpha) in renderTextShadow() 233 shadowBounds.translate(textShadow.dx, textShadow.dy); in renderTextShadow() 234 shadowBounds.outset(textShadow.radius, textShadow.radius); in renderTextShadow()
|