Searched refs:penX (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 309 float penX = 0.0f; in render() local 324 penX += pathOffset - textWidth; in render() 327 while (glyphsCount < numGlyphs && penX < pathLength) { in render() 335 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta)); in render() 339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render() 342 penX += SkFixedToFloat(cachedGlyph->mAdvanceX); in render() 409 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); in render() local 412 (*this.*render)(cachedGlyph, penX, penY, in render()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 568 image.penX = 0; in renderDropShadow() 605 int penX = intRadius - bounds.left; in renderDropShadow() local 612 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, in renderDropShadow() 624 image.penX = penX; in renderDropShadow()
|
D | TextDropShadowCache.cpp | 166 texture->left = shadow.penX; in get()
|
D | FontRenderer.h | 122 int32_t penX; member
|
/frameworks/rs/ |
D | rsFont.cpp | 178 int32_t penX = x, penY = y; in renderUTF() local 205 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF() 208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF() 211 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF() 216 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF()
|