Searched defs:penX (Results 1 - 6 of 6) sorted by relevance

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