Home
last modified time | relevance | path

Searched defs:typeface (Results 1 – 25 of 127) sorted by relevance

123456

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java30 Typeface typeface = Typeface.create("roboto", Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface() local
38 Typeface typeface = Typeface.create(Typeface.create("roboto", Typeface.BOLD), Typeface.ITALIC); in create_withFamily_shouldCreateTypeface() local
47 Typeface typeface = Typeface.create((Typeface) null, Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface() local
55 Typeface typeface = Typeface.createFromFile(fontFile); in createFromFile_withFile_shouldCreateTypeface() local
63 Typeface typeface = Typeface.createFromFile(fontFile.getPath()); in createFromFile_withPath_shouldCreateTypeface() local
72 Typeface typeface = in createFromAsset_shouldCreateTypeface() local
/external/skqp/include/atlastext/
DSkAtlasTextFont.h18 static sk_sp<SkAtlasTextFont> Make(sk_sp<SkTypeface> typeface, SkScalar size) { in Make()
22 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() function
31 SkAtlasTextFont(sk_sp<SkTypeface> typeface, SkScalar size) in SkAtlasTextFont()
/external/skia/tests/
DTypefaceTest.cpp104 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/Em.ttf")); in DEF_TEST() local
120 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST() local
182 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST()
253 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local
274 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() local
294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local
316 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local
365 { in DEF_TEST()
456 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local
474 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), 0); in DEF_TEST() local
[all …]
DFontTest.cpp32 SkTypeface* typeface; in serialize_deserialize() local
98 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST() local
DSkStrikeCacheTest.cpp16 sk_sp<SkTypeface> typeface = in DEF_TEST() local
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/
DFontAssetManager.java57 Typeface typeface = fontMap.get(tempPair); in getTypeface() local
73 Typeface typeface = null; in getFontFamily() local
94 private Typeface typefaceForStyle(Typeface typeface, String style) { in typefaceForStyle()
/external/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp31 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface()
42 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyNam… in registerTypeface()
82 void TypefaceFontStyleSet::appendTypeface(sk_sp<SkTypeface> typeface) { in appendTypeface()
DOneLineShaper.cpp480 for (const auto& typeface : typefaces) { in matchResolvedFonts() local
500 sk_sp<SkTypeface> typeface; in matchResolvedFonts() local
588 sk_sp<SkTypeface> typeface = typefaces.size() ? typefaces.front() : nullptr; in iterateThroughShapingRegions() local
644 matchResolvedFonts(block.fStyle, [&](sk_sp<SkTypeface> typeface) { in shape()
/external/skqp/src/pdf/
DSkPDFFont.cpp107 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics()
157 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap()
211 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local
231 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont()
420 const SkTypeface* typeface, in make_type1_font_descriptor()
450 const SkTypeface* typeface) { in type_1_glyphnames()
463 const SkTypeface* typeface) { in type1_font_descriptor()
475 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type1() local
606 const SkTypeface* typeface, in type3_descriptor()
636 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local
[all …]
/external/skia/tools/fonts/
DToolUtilsFont.cpp32 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface() local
51 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
Dcreate_test_font_color.cpp17 static void export_ttx(sk_sp<TestSVGTypeface> typeface, in export_ttx()
/external/skia/src/pdf/
DSkPDFFont.cpp106 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics()
156 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap()
205 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local
225 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont()
485 const SkTypeface* typeface, in type3_descriptor()
518 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike()
530 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local
686 bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFDocument* doc) { in CanEmbedTypeface()
DSkPDFType1Font.cpp228 const SkTypeface* typeface, in make_type1_font_descriptor()
258 const SkTypeface* typeface) { in type_1_glyphnames()
271 const SkTypeface* typeface) { in type1_font_descriptor()
284 SkTypeface* typeface = pdfFont.typeface(); in SkPDFEmitType1Font() local
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DCaptionStyleCompat.java119 @Nullable public final Typeface typeface; field in CaptionStyleCompat
153 @Nullable Typeface typeface) { in CaptionStyleCompat()
/external/skqp/tests/
DTypefaceTest.cpp100 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST() local
156 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local
192 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local
245 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local
/external/skia/modules/canvaskit/tests/
Dfont.spec.js248 const typeface = fontMgr.MakeTypefaceFromData(fontType.buffer); constant
264 const typeface = fontMgr.MakeTypefaceFromData(fetchedByteBuffers[3]); constant
280 const typeface = fontMgr.MakeTypefaceFromData(notoSerifFontBuffer); constant
/external/skqp/gm/
Datlastext.cpp29 uint32_t color, sk_sp<SkTypeface> typeface, float size) { in draw_string()
116 for (const auto& typeface : fTypefaces) { in drawText() local
Dscaledemoji_rendering.cpp46 for (const auto& typeface: typefaces) { in onDraw() local
/external/skqp/tools/fonts/
Dcreate_test_font_color.cpp19 sk_sp<SkTestSVGTypeface> typeface = SkTestSVGTypeface::Default(); in main() local
Dsk_tool_utils_font.cpp31 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
/external/skia/src/sfnt/
DSkOTUtils.cpp180 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make()
201 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
/external/skqp/src/sfnt/
DSkOTUtils.cpp167 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make()
188 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
/external/skia/docs/examples/
Dtext_rendering.cpp9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw() local
/external/skqp/src/core/
DSkStrikeCache.cpp131 const SkTypeface& typeface) { in CreateScalerContext()
146 const SkDescriptor& desc, const SkScalerContextEffects& effects, const SkTypeface& typeface) in FindOrCreateStrikeExclusive()
152 const SkDescriptor& desc, const SkScalerContextEffects& effects, const SkTypeface& typeface) in findOrCreateStrikeExclusive()
159 const SkTypeface& typeface) -> Node* { in findOrCreateStrike()
209 auto typeface = font.getTypefaceOrDefault(); in FindOrCreateStrikeWithNoDeviceExclusive() local
/external/skia/gm/
Dscaledemoji_rendering.cpp53 for (const auto& typeface: typefaces) { in onDraw() local

123456