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

/frameworks/base/libs/hwui/font/
H A DFont.cpp214 float penX = 0.0f; local
229 penX += pathOffset - textWidth;
232 while (glyphsCount < numGlyphs && penX < pathLength) {
240 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
244 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
247 penX += SkFixedToFloat(cachedGlyph->mAdvanceX);
304 float penX = x + 0.5f; local
316 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
321 (*this.*render)(cachedGlyph, (int) floorf(penX), penY,
325 penX
345 int penX = x + positions[(glyphsCount << 1)]; local
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.h69 image(dropShadow.image), penX(dropShadow.penX),
76 int32_t penX; member in struct:android::uirenderer::FontRenderer::DropShadow
H A DTextDropShadowCache.cpp116 texture->left = shadow.penX;
H A DFontRenderer.cpp496 image.penX = 0;
516 int penX = radius - bounds.left; local
519 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
527 image.penX = penX;
/frameworks/rs/
H A DrsFont.cpp176 int32_t penX = x, penY = y; local
203 drawCachedGlyph(cachedGlyph, penX, penY);
206 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
209 measureCachedGlyph(cachedGlyph, penX, penY, bounds);
214 penX += (cachedGlyph->mAdvanceX >> 6);

Completed in 1260 milliseconds