/frameworks/av/cmds/screenrecord/ |
H A D | FontBitmap.h | 6 static const uint32_t numGlyphs = 95; member in class:FontBitmap
|
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 148 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, argument 150 ShadowText entry(paint, radius, numGlyphs, glyphs, positions); 156 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs,
|
H A D | FontRenderer.cpp | 561 int numGlyphs, float radius, const float* positions) { 580 mCurrentFont->measure(paint, glyphs, numGlyphs, &bounds, positions); 607 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, 641 void FontRenderer::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, argument 644 font->precache(paint, glyphs, numGlyphs); 652 int numGlyphs, int x, int y, const float* positions, 660 mCurrentFont->render(paint, glyphs, numGlyphs, x, y, positions); 670 int numGlyphs, const SkPath* path, float hOffset, float vOffset, 678 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset); 560 renderDropShadow(const SkPaint* paint, const glyph_t *glyphs, int numGlyphs, float radius, const float* positions) argument 651 renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, int x, int y, const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) argument 669 renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) argument
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 295 int numGlyphs, int x, int y, const float* positions) { 296 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 300 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, argument 302 if (numGlyphs == 0 || glyphs == nullptr) { 318 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2)); 327 while (glyphsCount < numGlyphs && penX < pathLength) { 349 int numGlyphs, Rect *bounds, const float* positions) { 355 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions); 358 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { argument 359 if (numGlyphs 294 render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, const float* positions) argument 348 measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect *bounds, const float* positions) argument 377 render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 161 uint32_t start, int32_t numGlyphs, 164 if (!mInitialized || numGlyphs == 0 || text == nullptr || len == 0) { 179 if (numGlyphs > 0) { 180 glyphsLeft = numGlyphs; 218 if (numGlyphs > 0) { 745 uint32_t startIndex, int32_t numGlyphs, 774 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs, 160 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 744 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 941 unsigned int numGlyphs; local 942 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer, &numGlyphs); 953 if (numGlyphs) 958 for (unsigned int i = 0; i < numGlyphs; i++) { 1007 if (numGlyphs) 1009 mAdvances[info[numGlyphs - 1].cluster - clusterOffset] += letterSpaceHalfRight;
|