/frameworks/base/libs/hwui/tests/unit/ |
FontRendererTests.cpp | 39 std::vector<glyph_t> glyphs; local 44 &glyphs, &positions, &totalAdvance, &bounds); 47 auto result = fontRenderer.renderDropShadow(&paint, glyphs.data(), glyphs.size(),
|
TextDropShadowCacheTests.cpp | 39 std::vector<glyph_t> glyphs; local 44 &glyphs, &positions, &totalAdvance, &bounds); 47 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data());
|
/external/harfbuzz_ng/src/ |
test-would-substitute.cc | 100 hb_codepoint_t glyphs[2]; local 101 if (!hb_font_glyph_from_string (font, argv[3], -1, &glyphs[0]) || 103 !hb_font_glyph_from_string (font, argv[4], -1, &glyphs[1]))) 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, false);
|
hb-ot-shape-complex-arabic-fallback.hh | 52 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1]; local 69 glyphs[num_glyphs].set (u_glyph); 80 hb_stable_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 117 /* Sort out the first-glyphs */ 131 /* Now that the first-glyphs are sorted, walk again, populate ligatures. */
|
/external/harfbuzz_ng/util/ |
hb-ot-shape-closure.cc | 58 glyphs = hb_set_create (); 68 hb_set_clear (glyphs); 69 shaper.shape_closure (text, text_len, font, buffer, glyphs); 71 if (hb_set_is_empty (glyphs)) 76 for (hb_codepoint_t i = -1; hb_set_next (glyphs, &i);) 96 hb_set_destroy (glyphs); 97 glyphs = NULL; 106 hb_set_t *glyphs; member in struct:shape_closure_consumer_t
|
helper-cairo.hh | 54 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 63 if (glyphs) 64 cairo_glyph_free (glyphs); 72 *x_advance = glyphs[num_glyphs].x; 73 *y_advance = glyphs[num_glyphs].y;
|
/external/icu/icu4c/source/test/letest/ |
letest.h | 45 LEGlyphID *glyphs; member in struct:TestResult
|
cletest.c | 46 LEGlyphID *glyphs = NULL; local 64 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 75 le_getGlyphs(engine, glyphs, &status); 78 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 125 DELETE_ARRAY(glyphs); 219 LEGlyphID glyphs[6]; local 240 le_getGlyphs(engine, glyphs, &status); 300 if (actual->glyphs[i] != expected->glyphs[i]) { 302 testID, i, expected->glyphs[i], actual->glyphs[i]) [all...] |
gendata.cpp | 209 LEGlyphID *glyphs = NULL; local 318 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 322 engine->getGlyphs(glyphs, leStatus); 333 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 344 DELETE_ARRAY(glyphs);
|
xmlreader.cpp | 151 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs"); 182 UnicodeString text, glyphs, indices, positions; local 214 glyphs = element->getText(TRUE); 228 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 245 DELETE_ARRAY(expected.glyphs);
|
/external/skia/bench/ |
SkGlyphCacheBench.cpp | 25 uint16_t glyphs['z']; local 27 glyphs[c] = cache->unicharToGlyph(c); 31 const SkGlyph& g = cache->getGlyphIDMetrics(glyphs[c]);
|
TextBlobBench.cpp | 35 SkTDArray<uint16_t> glyphs; variable 37 glyphs.append(paint.textToGlyphs(text, len, nullptr)); 38 paint.textToGlyphs(text, len, glyphs.begin()); 43 const SkTextBlobBuilder::RunBuffer& run = builder.allocRun(paint, glyphs.count(), 10, 10, 45 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|
CmapBench.cpp | 35 uint16_t glyphs[NGLYPHS]; local 39 paint.textToGlyphs(text, len, glyphs); 46 uint16_t glyphs[NGLYPHS]; local 51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
|
FontCacheBench.cpp | 123 int glyphs = 0; variable 128 glyphs += count; 131 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs, 132 collisions * 100.0 / glyphs, gRec[i].fName);
|
/external/mesa3d/src/mesa/main/ |
dlist.h | 53 * we're probably drawing bitmap font glyphs. We try to put all the bitmap 54 * glyphs into one texture map then render the glCallLists as a textured 69 struct gl_bitmap_glyph *glyphs; member in struct:gl_bitmap_atlas
|
/external/harfbuzz_ng/test/api/ |
test-shape.c | 92 hb_glyph_info_t *glyphs; local 116 glyphs = hb_buffer_get_glyph_infos (buffer, NULL); 126 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]); 127 g_assert_cmphex (glyphs[i].cluster, ==, i); 148 hb_glyph_info_t *glyphs; local 165 glyphs = hb_buffer_get_glyph_infos (buffer, NULL); 173 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]); 174 g_assert_cmphex (glyphs[i].cluster, ==, output_clusters[i]);
|
test-buffer.c | 185 hb_glyph_info_t *glyphs; local 194 glyphs = hb_buffer_get_glyph_infos (b, &len2); 199 g_assert_cmphex (glyphs[i].mask, ==, 1); 200 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); 201 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 214 g_assert_cmphex (glyphs[i].cluster, ==, cluster); 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]) 382 hb_glyph_info_t *glyphs; local 679 hb_glyph_info_t *glyphs; local 738 hb_glyph_info_t *glyphs; local 792 hb_glyph_info_t *glyphs; local [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
leperf.cpp | 43 LEGlyphID *glyphs = NULL; local 49 glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount + 10); 52 engine->getGlyphs(glyphs, status); 56 delete glyphs; 118 u_printf("leperf: glyphs=%d\n", p.glyphCount);
|
xmlreader.cpp | 155 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs"); 186 UnicodeString text, glyphs, indices, positions; local 218 glyphs = element->getText(TRUE); 232 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 249 DELETE_ARRAY(expected.glyphs);
|
/external/skia/tests/ |
FontMgrTest.cpp | 30 uint16_t glyphs[5]; local 31 sk_bzero(glyphs, sizeof(glyphs)); 33 int count = font->textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, SK_ARRAY_COUNT(glyphs)); 37 REPORTER_ASSERT(reporter, 0 != glyphs[i]); 39 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e' 40 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[3]); // 'l' == 'l [all...] |
/external/ImageMagick/MagickCore/ |
type.h | 74 *glyphs; member in struct:_TypeInfo
|
/external/skia/include/core/ |
SkTextBlob.h | 129 * Returns an immutable SkTextBlob for the current runs/glyphs, 139 * A run is a sequence of glyphs sharing the same font metrics 143 * character information will be associated with the glyphs). 155 * except that Harfbuzz interleaves glyphs and clusters. 158 SkGlyphID* glyphs; member in struct:final::SkTextBlobBuilder::RunBuffer 169 * @param count Number of glyphs. 172 * corresponds to this sequence of glyphs. If 0, 179 * build() call. The buffer is guaranteed to hold @count@ glyphs. 198 * @param count Number of glyphs. 201 * corresponds to this sequence of glyphs. If 0 [all...] |
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 38 flags(0), italicStyle(0.0f), scaleX(0), glyphs(nullptr), positions(nullptr) { 51 , glyphs(srcGlyphs) 71 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount); 72 glyphs = reinterpret_cast<const glyph_t*>(str.string()); 87 const glyph_t* glyphs; member in struct:android::uirenderer::ShadowText
|
/external/icu/icu4c/source/samples/layout/ |
paragraph.cpp | 252 const LEGlyphID *glyphs = visualRun->getGlyphs(); local 255 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
|
/external/skia/gm/ |
textbloblooper.cpp | 27 // Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal 31 SkTDArray<uint16_t> glyphs; local 34 glyphs.append(paint.textToGlyphs(text, len, nullptr)); 35 paint.textToGlyphs(text, len, glyphs.begin()); 47 const SkTextBlobBuilder::RunBuffer& run = builder->allocRunPos(paint, glyphs.count()); 48 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|