Searched refs:textShadow (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h106 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { argument
109 if (textShadow) {
110 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma);
111 textShadow->dx = blur.fOffset.fX;
112 textShadow->dy = blur.fOffset.fY;
113 textShadow->color = blur.fColor;
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp205 PaintUtils::TextShadow textShadow; local
206 if (!PaintUtils::getTextShadow(op.paint, &textShadow)) {
212 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions);
218 const float sx = op.x - texture->left + textShadow.dx;
219 const float sy = op.y - texture->top + textShadow.dy;
225 .setFillShadowTexturePaint(*texture, textShadow.color, *op.paint, textOpState.alpha)
239 shadowBounds.translate(textShadow.dx, textShadow.dy);
240 shadowBounds.outset(textShadow.radius, textShadow
[all...]
H A DDisplayListOp.h251 PaintUtils::TextShadow textShadow; variable
252 if (PaintUtils::getTextShadow(mPaint, &textShadow)) {
254 shadow.translate(textShadow.dx, textShadow.dx);
255 shadow.outset(textShadow.radius);
H A DOpenGLRenderer.cpp1965 PaintUtils::TextShadow textShadow; local
1966 if (!PaintUtils::getTextShadow(paint, &textShadow)) {
1974 paint, glyphs, count, textShadow.radius, positions);
1980 const float sx = x - texture->left + textShadow.dx;
1981 const float sy = y - texture->top + textShadow.dy;
1987 .setFillShadowTexturePaint(*texture, textShadow.color, *paint, currentSnapshot()->alpha)

Completed in 140 milliseconds