HomeSort by relevance Sort by last modified time
    Searched refs:TextShadow (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/hwui/utils/
PaintUtils.h 71 struct TextShadow {
78 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) {
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/
BakedOpDispatcher.cpp 199 PaintUtils::TextShadow textShadow;
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.radius)
    [all...]

Completed in 898 milliseconds