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

/frameworks/base/libs/hwui/font/
H A DFont.cpp316 float penX = 0.0f; local
331 penX += pathOffset - textWidth;
334 while (glyphsCount < numGlyphs && penX < pathLength) {
342 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
346 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
349 penX += SkFixedToFloat(cachedGlyph->mAdvanceX);
421 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); local
424 (*this.*render)(cachedGlyph, penX, penY,
/frameworks/base/libs/hwui/
H A DFontRenderer.h118 image(dropShadow.image), penX(dropShadow.penX),
125 int32_t penX; member in struct:android::uirenderer::FontRenderer::DropShadow
H A DFontRenderer.cpp602 image.penX = 0;
639 int penX = intRadius - bounds.left; local
646 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
658 image.penX = penX;
H A DTextDropShadowCache.cpp189 texture->left = shadow.penX;
/frameworks/rs/
H A DrsFont.cpp178 int32_t penX = x, penY = y; local
205 drawCachedGlyph(cachedGlyph, penX, penY);
208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
211 measureCachedGlyph(cachedGlyph, penX, penY, bounds);
216 penX += (cachedGlyph->mAdvanceX >> 6);

Completed in 90 milliseconds