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