Searched refs:numGlyphs (Results 1 - 11 of 11) sorted by path

/frameworks/av/cmds/screenrecord/
H A DFontBitmap.h6 static const uint32_t numGlyphs = 95; member in class:FontBitmap
H A DTextRenderer.cpp34 uint32_t TextRenderer::mXOffset[FontBitmap::numGlyphs];
50 for (unsigned int i = 0; i < FontBitmap::numGlyphs; i++) {
160 if (chi >= FontBitmap::numGlyphs) {
163 assert(chi < FontBitmap::numGlyphs);
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp595 uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) {
614 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions);
646 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
680 void FontRenderer::precache(const SkPaint* paint, const char* text, int numGlyphs, argument
683 font->precache(paint, text, numGlyphs);
691 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y,
699 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions);
709 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path,
717 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
594 renderDropShadow(const SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, float radius, const float* positions) argument
690 renderPosText(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds, Functor* functor, bool forceFinish) argument
708 renderTextOnPath(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, Functor* functor) argument
H A DFontRenderer.h100 void precache(const SkPaint* paint, const char* text, int numGlyphs, const SkMatrix& matrix);
105 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions,
110 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path,
132 uint32_t len, int numGlyphs, float radius, const float* positions);
H A DTextDropShadowCache.cpp172 int numGlyphs, float radius, const float* positions) {
180 len, numGlyphs, radius, positions);
171 get(const SkPaint* paint, const char* text, uint32_t len, int numGlyphs, float radius, const float* positions) argument
H A DTextDropShadowCache.h139 int numGlyphs, float radius, const float* positions);
/frameworks/base/libs/hwui/font/
H A DFont.cpp300 int numGlyphs, int x, int y, const float* positions) {
301 render(paint, text, start, len, numGlyphs, x, y, FRAMEBUFFER, NULL,
306 int numGlyphs, const SkPath* path, float hOffset, float vOffset) {
307 if (numGlyphs == 0 || text == NULL || len == 0) {
334 while (glyphsCount < numGlyphs && penX < pathLength) {
356 int numGlyphs, Rect *bounds, const float* positions) {
362 render(paint, text, start, len, numGlyphs, 0, 0, MEASURE, NULL, 0, 0, bounds, positions);
365 void Font::precache(const SkPaint* paint, const char* text, int numGlyphs) { argument
368 if (numGlyphs == 0 || text == NULL) {
373 while (glyphsCount < numGlyphs) {
299 render(const SkPaint* paint, const char *text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, const float* positions) argument
305 render(const SkPaint* paint, const char *text, uint32_t start, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset) argument
355 measure(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, Rect *bounds, const float* positions) argument
386 render(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument
[all...]
H A DFont.h85 int numGlyphs, int x, int y, const float* positions);
88 int numGlyphs, const SkPath* path, float hOffset, float vOffset);
113 void precache(const SkPaint* paint, const char* text, int numGlyphs);
116 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap,
120 int numGlyphs, Rect *bounds, const float* positions);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp726 unsigned int numGlyphs; local
727 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer, &numGlyphs);
729 if (numGlyphs)
734 for (unsigned int i = 0; i < numGlyphs; i++) {
762 if (numGlyphs)
764 mAdvances[info[numGlyphs - 1].cluster - start] += letterSpaceHalfRight;
/frameworks/rs/
H A DrsFont.cpp162 uint32_t start, int32_t numGlyphs,
165 if (!mInitialized || numGlyphs == 0 || text == NULL || len == 0) {
180 if (numGlyphs > 0) {
181 glyphsLeft = numGlyphs;
219 if (numGlyphs > 0) {
750 uint32_t startIndex, int32_t numGlyphs,
778 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs,
161 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
749 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
H A DrsFont.h86 uint32_t start, int32_t numGlyphs,
149 uint32_t startIndex = 0, int numGlyphs = -1,

Completed in 213 milliseconds