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

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

Completed in 117 milliseconds