/frameworks/base/libs/hwui/tests/microbench/ |
FontBench.cpp | 36 std::vector<glyph_t> glyphs; 41 &glyphs, &positions, &totalAdvance, &bounds); 43 fontRenderer.precache(&paint, glyphs.data(), glyphs.size(), SkMatrix::I()); 46 fontRenderer.precache(&paint, glyphs.data(), glyphs.size(), SkMatrix::I());
|
/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/skia/bench/ |
TextBlobBench.cpp | 38 SkTDArray<uint16_t> glyphs; variable 40 glyphs.append(paint.textToGlyphs(text, len, nullptr)); 41 paint.textToGlyphs(text, len, glyphs.begin()); 46 const SkTextBlobBuilder::RunBuffer& run = builder.allocRun(paint, glyphs.count(), 10, 10, 48 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|
/external/harfbuzz_ng/test/shaping/ |
run-tests.sh | 29 glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape $options "$srcdir/$fontfile"` 36 echo "$fontfile:$options:$unicodes:$glyphs" 39 if ! test "x$glyphs" = "x$glyphs_expected"; then 40 echo "Actual: $glyphs" >&2
|
record-test.sh | 39 glyphs=`echo "$text" | $hb_shape $options "$fontfile"` 56 # Verify that subset font produces same glyphs! 59 if ! test "x$glyphs" = "x$glyphs_subset"; then 60 echo "Subset font produced different glyphs!" >&2 67 echo "$glyphs" 74 glyphs=$glyphs_subset 85 echo "$glyphs" > "$glyphs_file"
|
/external/icu/icu4c/source/samples/layout/ |
rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
RenderingSurface.h | 26 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
Surface.h | 12 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
|
rsurface.h | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
|
Surface.cpp | 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, 28 glyphs, count, (INT *) dx);
|
/external/sfntly/cpp/src/sample/subsetter/ |
subset_util.cc | 67 IntegerList glyphs; 69 glyphs.push_back(i); 71 glyphs.push_back(11); 72 glyphs.push_back(10); 75 subsetter->SetGlyphs(&glyphs);
|
/external/harfbuzz_ng/src/ |
hb-ot-shape.h | 44 hb_set_t *glyphs);
|
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-layout-common-private.hh | 157 inline bool intersects (const hb_set_t *glyphs) const { 158 return glyphs->intersects (start, end); 162 inline void add_coverage (set_t *glyphs) const { 163 glyphs->add_range (start, end); 698 Supplier<GlyphID> &glyphs, 706 glyphArray[i] = glyphs[i]; 707 glyphs.advance (num_glyphs); 717 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { 718 return glyphs->has (glyphArray[index]); 722 inline void add_coverage (set_t *glyphs) const [all...] |
/external/skia/src/core/ |
SkTextBlobRunIterator.h | 26 const uint16_t* glyphs() const;
|
SkTypeface.cpp | 52 uint16_t glyphs[], int glyphCount) const override { 53 if (glyphs && glyphCount > 0) { 54 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 239 uint16_t glyphs[], int glyphCount) const { 244 if (glyphs) { 245 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 249 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount); 261 bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], int count [all...] |
/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/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]);
|
/frameworks/base/libs/hwui/ |
SkiaCanvasProxy.cpp | 242 GlyphIDConverter glyphs(text, byteLength, origPaint); 245 std::unique_ptr<SkPoint[]> pointStorage(new SkPoint[glyphs.count]); 246 std::unique_ptr<SkScalar[]> glyphWidths(new SkScalar[glyphs.count]); 247 glyphs.paint.getTextWidths(glyphs.glyphIDs, glyphs.count << 1, glyphWidths.get()); 253 glyphs.paint.measureText(glyphs.glyphIDs, glyphs.count << 1, &bounds); 256 if (glyphs.paint.getTextAlign() != SkPaint::kLeft_Align) [all...] |
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
|
TextDropShadowCache.cpp | 40 if (glyphs) { 42 hash, reinterpret_cast<const uint16_t*>(glyphs), glyphCount); 74 if (lhs.glyphs != rhs.glyphs) { 75 if (!lhs.glyphs) return -1; 76 if (!rhs.glyphs) return +1; 78 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); 148 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, 150 ShadowText entry(paint, radius, numGlyphs, glyphs, positions) [all...] |
/external/icu/icu4c/source/layout/ |
LEInsertionList.cpp | 20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord 82 return insertion->glyphs; 88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
|
/external/skia/gm/ |
typeface.cpp | 14 static void getGlyphPositions(const SkPaint& paint, const uint16_t glyphs[], 20 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 48 uint16_t* glyphs = glyphStorage.get(); local 49 int glyphCount = paint.textToGlyphs(text, len, glyphs); 56 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 66 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos); 69 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
|