Searched refs:textShadow (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
D | OpenGLRenderer.h | 315 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() argument 318 if (textShadow) { in getTextShadow() 319 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma); in getTextShadow() 320 textShadow->dx = blur.fOffset.fX; in getTextShadow() 321 textShadow->dy = blur.fOffset.fY; in getTextShadow() 322 textShadow->color = blur.fColor; in getTextShadow()
|
D | DisplayListOp.h | 252 OpenGLRenderer::TextShadow textShadow; in getLocalBounds() local 253 if (OpenGLRenderer::getTextShadow(mPaint, &textShadow)) { in getLocalBounds() 255 shadow.translate(textShadow.dx, textShadow.dx); in getLocalBounds() 256 shadow.outset(textShadow.radius); in getLocalBounds()
|
D | OpenGLRenderer.cpp | 2027 TextShadow textShadow; 2028 if (!getTextShadow(paint, &textShadow)) { 2036 paint, text, bytesCount, count, textShadow.radius, positions); 2042 const float sx = x - texture->left + textShadow.dx; 2043 const float sy = y - texture->top + textShadow.dy; 2049 .setFillShadowTexturePaint(*texture, textShadow.color, *paint, currentSnapshot()->alpha)
|