Searched defs:textShadow (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h300 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { argument
303 if (textShadow) {
304 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma);
305 textShadow->dx = blur.fOffset.fX;
306 textShadow->dy = blur.fOffset.fY;
307 textShadow->color = blur.fColor;
H A DDisplayListOp.h265 OpenGLRenderer::TextShadow textShadow; local
266 if (OpenGLRenderer::getTextShadow(mPaint, &textShadow)) {
268 shadow.translate(textShadow.dx, textShadow.dx);
269 shadow.outset(textShadow.radius);
H A DOpenGLRenderer.cpp2624 TextShadow textShadow; local
2625 if (!getTextShadow(paint, &textShadow)) {
2633 paint, text, bytesCount, count, textShadow.radius, positions);
2639 const float sx = x - shadow->left + textShadow.dx;
2640 const float sy = y - shadow->top + textShadow.dy;
2642 const int shadowAlpha = ((textShadow.color >> 24) & 0xFF) * mSnapshot->alpha;
2644 textShadow.color = SK_ColorWHITE;
2649 setupDrawAlpha8Color(textShadow.color, shadowAlpha < 255 ? shadowAlpha : alpha);

Completed in 254 milliseconds