Home
last modified time | relevance | path

Searched refs:penX (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/font/
DFontCacheHistoryTracker.cpp31 if (entry.penX == -1 && entry.penY == -1) { in dumpRenderEntry()
36 log.appendFormat(" at (%d, %d)\n", entry.penX, entry.penY); in dumpRenderEntry()
63 void FontCacheHistoryTracker::glyphRendered(CachedGlyphInfo* glyphInfo, int penX, int penY) { in glyphRendered() argument
71 entry.penX = penX; in glyphRendered()
DFontCacheHistoryTracker.h32 void glyphRendered(CachedGlyphInfo*, int penX, int penY);
50 int penX; member
DFont.cpp309 float penX = 0.0f; in render() local
324 penX += pathOffset - textWidth; in render()
327 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
335 penX += AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta); in render()
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
342 penX += cachedGlyph->mAdvanceX; in render()
409 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); in render() local
412 mState->historyTracker().glyphRendered(cachedGlyph, penX, penY); in render()
414 (*this.*render)(cachedGlyph, penX, penY, in render()
/frameworks/base/libs/hwui/
DFontRenderer.cpp568 image.penX = 0; in renderDropShadow()
600 int penX = intRadius - bounds.left; in renderDropShadow() local
607 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, in renderDropShadow()
619 image.penX = penX; in renderDropShadow()
DTextDropShadowCache.cpp166 texture->left = shadow.penX; in get()
DFontRenderer.h109 int32_t penX; member
/frameworks/rs/
DrsFont.cpp177 int32_t penX = x, penY = y; in renderUTF() local
204 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF()
207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF()
210 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF()
215 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF()