Home
last modified time | relevance | path

Searched refs:glyph (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/
DrsFont.cpp92 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { in drawCachedGlyph() argument
95 int32_t nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph()
96 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in drawCachedGlyph()
98 float u1 = glyph->mBitmapMinU; in drawCachedGlyph()
99 float u2 = glyph->mBitmapMaxU; in drawCachedGlyph()
100 float v1 = glyph->mBitmapMinV; in drawCachedGlyph()
101 float v2 = glyph->mBitmapMaxV; in drawCachedGlyph()
103 int32_t width = (int32_t) glyph->mBitmapWidth; in drawCachedGlyph()
104 int32_t height = (int32_t) glyph->mBitmapHeight; in drawCachedGlyph()
112 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, in drawCachedGlyph() argument
[all …]
DrsFont.h130 CachedGlyphInfo *cacheGlyph(uint32_t glyph);
131 void updateGlyphCache(CachedGlyphInfo *glyph);
132 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
133 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y);
134 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y,
/frameworks/base/tools/fonts/
Dfontchain_linter.py116 reverse_cmap = {glyph: code for code, glyph in emoji_map.items()}
121 for base, glyph in vs_dict[vs]:
122 if glyph is None:
125 emoji_map[(base, vs)] = glyph
139 sequence = [reverse_cmap[glyph] for glyph in sequence]
336 for glyph in set(coverage.values()):
337 maps_to_glyph = [seq for seq in coverage if coverage[seq] == glyph]
350 glyph))
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp61 hb_codepoint_t glyph, void* /* userData */) { in harfbuzzGetGlyphHorizontalAdvance() argument
63 float advance = args->font->GetHorizontalAdvance(glyph, *args->paint, args->fakery); in harfbuzzGetGlyphHorizontalAdvance()
76 const hb_codepoint_t* glyph = first_glyph; in harfbuzzGetGlyphHorizontalAdvances() local
78 glyphVec[i] = *glyph; in harfbuzzGetGlyphHorizontalAdvances()
79 glyph = reinterpret_cast<const hb_codepoint_t*>(reinterpret_cast<const uint8_t*>(glyph) + in harfbuzzGetGlyphHorizontalAdvances()
207 hb_codepoint_t glyph; in determineHyphenChar() local
211 if (hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
223 if (!hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp58 LOG_ALWAYS_FATAL_IF(face->glyph->format != FT_GLYPH_FORMAT_OUTLINE, in loadGlyphOrDie()
93 return FTPosToFloat(mFtFace->glyph->advance.x); in GetHorizontalAdvance()
102 FT_Outline_Get_CBox(&mFtFace->glyph->outline, &bbox); in GetBounds()
/frameworks/base/cmds/bootanimation/
DFORMAT.md72 * For a NxM image each character glyph will be N/16 pixels wide and M/(12*2) pixels high