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

/frameworks/base/libs/hwui/font/
H A DFont.cpp309 float penX = 0.0f; local
324 penX += pathOffset - textWidth;
327 while (glyphsCount < numGlyphs && penX < pathLength) {
335 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
342 penX += SkFixedToFloat(cachedGlyph->mAdvanceX);
409 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); local
412 (*this.*render)(cachedGlyph, penX, penY,
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp568 image.penX = 0;
605 int penX = intRadius - bounds.left; local
612 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY,
624 image.penX = penX;
H A DFontRenderer.h122 int32_t penX; member in struct:android::uirenderer::FontRenderer::DropShadow
H A DTextDropShadowCache.cpp166 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 44 milliseconds