Home
last modified time | relevance | path

Searched refs:textShadow (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DOpenGLRenderer.h300 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() argument
303 if (textShadow) { in getTextShadow()
304 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma); in getTextShadow()
305 textShadow->dx = blur.fOffset.fX; in getTextShadow()
306 textShadow->dy = blur.fOffset.fY; in getTextShadow()
307 textShadow->color = blur.fColor; in getTextShadow()
DDisplayListOp.h265 OpenGLRenderer::TextShadow textShadow; in getLocalBounds() local
266 if (OpenGLRenderer::getTextShadow(mPaint, &textShadow)) { in getLocalBounds()
268 shadow.translate(textShadow.dx, textShadow.dx); in getLocalBounds()
269 shadow.outset(textShadow.radius); in getLocalBounds()
DOpenGLRenderer.cpp2624 TextShadow textShadow;
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);