/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypefaceTest.java | 39 Typeface typeface = Typeface.create("roboto", Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface() local 47 Typeface typeface = Typeface.create(Typeface.create("roboto", Typeface.BOLD), Typeface.ITALIC); in create_withFamily_shouldCreateTypeface() local 56 Typeface typeface = Typeface.create((Typeface) null, Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface() local 65 Typeface typeface = in create_withFamily_customWeight_shouldCreateTypeface() local 76 Typeface typeface = Typeface.create(null, /* weight= */ 500, /* italic= */ false); in create_withoutFamily_customWeight_shouldCreateTypeface() local 84 Typeface typeface = Typeface.createFromFile(fontFile); in createFromFile_withFile_shouldCreateTypeface() local 92 Typeface typeface = Typeface.createFromFile(fontFile.getPath()); in createFromFile_withPath_shouldCreateTypeface() local 101 Typeface typeface = in createFromAsset_shouldCreateTypeface() local 166 Typeface typeface = in typeface_customFallbackBuilder_afterReset() local
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeTypefaceTest.java | 39 private static float measureText(String text, Typeface typeface) { in measureText() 79 Typeface typeface = createTypeface(Typeface.BOLD); in testIsBold() local 110 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate() local 125 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); in testDefaultFromStyle() local 167 Typeface typeface = in testCreateFromAsset() local 181 Typeface typeface = Typeface.createFromFile(file); in testCreateFromFileByFileReference() local 205 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName() local 229 Typeface typeface = in testInvalidCmapFont() local 241 Typeface typeface = in testInvalidCmapFont2() local 253 Typeface typeface = in testInvalidCmapFont_o_omr1() local [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypefaceTest.java | 30 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/skia/tests/ |
D | TypefaceTest.cpp | 105 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/Em.ttf")); in DEF_TEST() local 121 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST() local 167 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST() 238 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 259 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() local 279 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 301 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 350 { in DEF_TEST() 441 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 459 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), 0); in DEF_TEST() local [all …]
|
D | FontMgrFontConfigTest.cpp | 60 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in fontmgr_understands_ft_named_instance_bits() local 70 sk_sp<SkTypeface> typeface(fontMgr->legacyMakeTypeface("Distortable", SkFontStyle())); in DEF_TEST() local 176 sk_sp<SkTypeface> typeface(fciDirect->makeTypeface(resultIdentity).release()); in DEF_TEST() local
|
D | FontTest.cpp | 32 SkTypeface* typeface; in serialize_deserialize() local 98 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST() local
|
D | SkStrikeCacheTest.cpp | 16 sk_sp<SkTypeface> typeface = in DEF_TEST() local
|
/external/robolectric/integration_tests/androidx/src/test/java/org/robolectric/integrationtests/androidx/ |
D | ResourcesCompatTest.java | 19 Typeface typeface = ResourcesCompat.getFont(getApplicationContext(), R.font.vt323_regular); in getFont() local 25 Typeface typeface = ResourcesCompat.getFont(getApplicationContext(), R.font.vt323); in getFontFamily() local
|
/external/skia/modules/skparagraph/src/ |
D | TypefaceFontProvider.cpp | 27 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface() 38 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyNam… in registerTypeface() 78 void TypefaceFontStyleSet::appendTypeface(sk_sp<SkTypeface> typeface) { in appendTypeface()
|
D | OneLineShaper.cpp | 482 for (const auto& typeface : typefaces) { in matchResolvedFonts() local 503 sk_sp<SkTypeface> typeface; in matchResolvedFonts() local 595 sk_sp<SkTypeface> typeface = typefaces.size() ? typefaces.front() : nullptr; in iterateThroughShapingRegions() local 653 matchResolvedFonts(block.fStyle, [&](sk_sp<SkTypeface> typeface) { in shape()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
D | FontAssetManager.java | 57 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/src/pdf/ |
D | SkPDFFont.cpp | 106 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics() 158 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap() 171 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkTypeface& typeface, in FontType() 213 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local 233 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont() 493 const SkTypeface* typeface, in type3_descriptor() 526 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike() 538 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local 693 bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFDocument* doc) { in CanEmbedTypeface()
|
D | SkPDFType1Font.cpp | 228 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/skia/tools/fonts/ |
D | ToolUtilsFont.cpp | 32 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface() local 51 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
|
D | create_test_font_color.cpp | 19 static void export_ttx(sk_sp<TestSVGTypeface> typeface, in export_ttx()
|
D | TestFontMgr.cpp | 67 sk_sp<TestTypeface> typeface = in FontMgr() local 178 sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(this->matchFamilyStyle(familyName, style)); in onLegacyMakeTypeface() local
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | CaptionStyleCompat.java | 98 @Nullable public final Typeface typeface; field in CaptionStyleCompat 132 @Nullable Typeface typeface) { in CaptionStyleCompat()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | CaptionStyleCompat.java | 102 @Nullable public final Typeface typeface; field in CaptionStyleCompat 136 @Nullable Typeface typeface) { in CaptionStyleCompat()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ |
D | CaptionStyleCompat.java | 119 @Nullable public final Typeface typeface; field in CaptionStyleCompat 153 @Nullable Typeface typeface) { in CaptionStyleCompat()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 52 static SkSharedMutex* maybe_dw_mutex(DWriteFontTypeface& typeface) { in maybe_dw_mutex() 100 static bool is_hinted(DWriteFontTypeface* typeface) { in is_hinted() 126 bool get_gasp_range(DWriteFontTypeface* typeface, int size, GaspRange* range) { in get_gasp_range() 171 static bool has_bitmap_strike(DWriteFontTypeface* typeface, GaspRange range) { in has_bitmap_strike() 264 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in SkScalerContext_DW() local 428 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in generateAdvance() local 485 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in getBoundingBox() local 745 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in generateMetrics() local 971 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in drawDWMask() local
|
/external/skia/modules/canvaskit/tests/ |
D | font.spec.js | 241 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fontType.buffer); constant 257 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fetchedByteBuffers[3]); constant 271 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(notoSerifFontBuffer); constant
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 180 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make() 201 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
|
/external/skia/docs/examples/ |
D | text_rendering.cpp | 9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw() local
|
/external/skia/modules/androidkit/src/ |
D | Font.cpp | 20 …sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(fontMgr->matchFamilyStyle(cFontFamily, SkFontStyle(… in Font_Create() local
|
/external/skia/gm/ |
D | scaledemoji_rendering.cpp | 55 for (const auto& typeface: typefaces) { in onDraw() local
|