/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 | 147 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, argument 149 ShadowText entry(paint, radius, numGlyphs, glyphs, positions); 156 mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, radius, positions);
|
H A D | FontRenderer.cpp | 557 int numGlyphs, float radius, 577 mCurrentFont->measure(paint, glyphs, numGlyphs, &bounds, positions); 604 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, Font::BITMAP, dataBuffer, 638 void FontRenderer::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, argument 641 font->precache(paint, glyphs, numGlyphs); 649 int numGlyphs, int x, int y, const float* positions, Rect* bounds, 657 mCurrentFont->render(paint, glyphs, numGlyphs, x, y, positions); 667 int numGlyphs, const SkPath* path, float hOffset, float vOffset, 675 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset); 556 renderDropShadow(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, float radius, const float* positions) argument 648 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 666 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 | 289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, argument 291 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 0, 0, nullptr, positions); 294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, argument 296 if (numGlyphs == 0 || glyphs == nullptr) { 312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2)); 321 while (glyphsCount < numGlyphs && penX < pathLength) { 342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds, argument 349 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions); 352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { argument 353 if (numGlyphs 371 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 | 686 unsigned int numGlyphs; local 687 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer.get(), &numGlyphs); 698 if (numGlyphs) { 702 for (unsigned int i = 0; i < numGlyphs; i++) { 748 if (numGlyphs) { 749 mAdvances[info[numGlyphs - 1].cluster - clusterOffset] += letterSpaceHalfRight;
|