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);
51 int penX; member
DFont.cpp303 float penX = 0.0f; in render() local
318 penX += pathOffset - textWidth; in render()
321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
329 penX += AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta); in render()
333 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
336 penX += cachedGlyph->mAdvanceX; in render()
401 int penX = x + (int)roundf(positions[(glyphsCount << 1)]); in render() local
404 mState->historyTracker().glyphRendered(cachedGlyph, penX, penY); in render()
406 (*this.*render)(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH, bounds, positions); in render()
/frameworks/base/libs/hwui/
DFontRenderer.cpp565 image.penX = 0; in renderDropShadow()
597 int penX = intRadius - bounds.left; in renderDropShadow() local
604 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, Font::BITMAP, dataBuffer, in renderDropShadow()
616 image.penX = penX; in renderDropShadow()
DTextDropShadowCache.cpp165 texture->left = shadow.penX; in get()
DFontRenderer.h106 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()