Searched refs:glyph (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 74 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, Rect *bounds) { argument 75 int nPenX = x + glyph->mBitmapLeft; 76 int nPenY = y + glyph->mBitmapTop; 78 int width = (int) glyph->mBitmapWidth; 79 int height = (int) glyph->mBitmapHeight; 95 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y) { argument 96 int nPenX = x + glyph->mBitmapLeft; 97 int nPenY = y + glyph->mBitmapTop + glyph->mBitmapHeight; 99 float u1 = glyph 113 drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 200 glyph_t glyph = GET_GLYPH(text); local 235 updateGlyphCache(SkPaint* paint, const SkGlyph& skiaGlyph, CachedGlyphInfo* glyph) argument 273 cacheGlyph(SkPaint* paint, glyph_t glyph) argument 394 cacheBitmap(const SkGlyph& glyph, uint32_t* retOriginX, uint32_t* retOriginY) argument [all...] |
H A D | FontRenderer.h | 42 #define GET_METRICS(paint, glyph) paint->getGlyphMetrics(glyph) 44 #define IS_END_OF_STRING(glyph) false 47 #define GET_METRICS(paint, glyph) paint->getUnicharMetrics(glyph) 49 #define IS_END_OF_STRING(glyph) glyph < 0 107 // Location of the cached glyph in the bitmap 123 // Values below contain a glyph's origin in the bitmap 139 CachedGlyphInfo* cacheGlyph(SkPaint* paint, glyph_t glyph); 253 fitBitmap(const SkGlyph& glyph, uint32_t *retOriginX, uint32_t *retOriginY) argument [all...] |
/frameworks/base/libs/rs/ |
H A D | rsFont.cpp | 90 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { argument 93 int32_t nPenX = x + glyph->mBitmapLeft; 94 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; 96 float u1 = glyph->mBitmapMinU; 97 float u2 = glyph->mBitmapMaxU; 98 float v1 = glyph->mBitmapMinV; 99 float v2 = glyph->mBitmapMaxV; 101 int32_t width = (int32_t) glyph->mBitmapWidth; 102 int32_t height = (int32_t) glyph 110 drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 136 measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) argument 236 updateGlyphCache(CachedGlyphInfo *glyph) argument 281 cacheGlyph(uint32_t glyph) argument 325 CachedGlyphInfo *glyph = mCachedGlyphs.valueAt(i); local [all...] |
H A D | rsFont.h | 85 // (each glyph may be longer than a char because we are dealing with utf data) 97 // Location of the cached glyph in the bitmap 112 // Values below contain a glyph's origin in the bitmap 132 CachedGlyphInfo *cacheGlyph(uint32_t glyph); 133 void updateGlyphCache(CachedGlyphInfo *glyph); 134 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds); 135 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y); 136 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, 214 // Texture to cache glyph bitmaps
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.cpp | 129 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, argument 141 uint16_t glyph16 = glyph; 160 static void getGlyphMetrics(HB_Font hbFont, HB_Glyph glyph, HB_GlyphMetrics* metrics) argument 167 uint16_t glyph16 = glyph;
|
H A D | TextLayoutCache.cpp | 537 LOGD(" glyph[%d]=%d - offset.x=%f offset.y=%f", i, shaperItem.glyphs[i], 600 jchar glyph = (jchar) shaperItem.glyphs[(!isRTL) ? i : countGlyphs - 1 - i]; local 602 LOGD("HARFBUZZ -- glyph[%d]=%d", i, glyph); 604 outGlyphs->add(glyph); 620 // These arrays are all indexed by glyph 627 // it is big enough to hold one element per glyph. So we allocate log_clusters along 628 // with the other glyph arrays above.
|
Completed in 103 milliseconds