| /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 | 122 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/Em.ttf")); in DEF_TEST() local 138 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST() local 183 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST() 254 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 275 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() local 295 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 317 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 366 { in DEF_TEST() 457 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 475 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), 0); in DEF_TEST() local [all …]
|
| D | FCITest.cpp | 52 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in fontmgr_understands_ft_named_instance_bits() local 103 sk_sp<SkTypeface> typeface(fciDirect->makeTypeface(resultIdentity).release()); in DEF_TEST() local
|
| D | FontTest.cpp | 38 SkTypeface* typeface; in serialize_deserialize() local 104 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST() local
|
| D | SkStrikeCacheTest.cpp | 25 sk_sp<SkTypeface> typeface = in DEF_TEST() local
|
| D | SerializationTest.cpp | 376 static sk_sp<SkData> serialize_typeface_proc(SkTypeface* typeface, void* ctx) { in serialize_typeface_proc() 398 sk_sp<SkTypeface> typeface = SkTypeface::MakeDeserialize(stream); in deserialize_typeface_proc() local 402 static void serialize_and_compare_typeface(sk_sp<SkTypeface> typeface, in serialize_and_compare_typeface() 448 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in makeDistortableWithNonDefaultAxes() local 466 auto typeface = MakeResourceAsTypeface("fonts/test.ttc", 1); in TestPictureTypefaceSerialization() local 477 auto typeface = makeDistortableWithNonDefaultAxes(reporter); in TestPictureTypefaceSerialization() local 487 SkString DumpTypeface(const SkTypeface& typeface) { in DumpTypeface() 540 static void TestTypefaceSerialization(skiatest::Reporter* reporter, sk_sp<SkTypeface> typeface) { in TestTypefaceSerialization()
|
| /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()
|
| /external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
| D | FontAssetManager.java | 60 Typeface typeface = fontMap.get(tempPair); in getTypeface() local 76 Typeface typeface = null; in getFontFamily() local 97 private Typeface typefaceForStyle(Typeface typeface, String style) { in typefaceForStyle()
|
| /external/skia/src/pdf/ |
| D | SkPDFFont.cpp | 108 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics() 160 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap() 173 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkTypeface& typeface, in FontType() 221 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local 241 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont() 502 const SkTypeface* typeface, in type3_descriptor() 535 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike() 547 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local 720 bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFDocument* doc) { in CanEmbedTypeface()
|
| D | SkPDFType1Font.cpp | 231 const SkTypeface* typeface, in make_type1_font_descriptor() 262 const SkTypeface* typeface) { in type_1_glyphnames() 275 const SkTypeface* typeface) { in type1_font_descriptor() 288 SkTypeface* typeface = pdfFont.typeface(); in SkPDFEmitType1Font() local
|
| /external/lottie/lottie/src/main/java/com/airbnb/lottie/model/ |
| D | Font.java | 19 private Typeface typeface; field in Font 49 public void setTypeface(@Nullable Typeface typeface) { in setTypeface()
|
| /external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/examples/ |
| D | TextExamplesPage.kt | 61 val typeface = rememberTypeface("fonts/Roboto.ttf") in Example2() constant 75 var typeface: Typeface? by remember { mutableStateOf(null) } in rememberTypeface() variable
|
| /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()
|
| /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/skia/src/ports/ |
| D | SkScalerContext_win_dw.cpp | 58 static SkSharedMutex* maybe_dw_mutex(DWriteFontTypeface& typeface) { in maybe_dw_mutex() 106 static bool is_hinted(DWriteFontTypeface* typeface) { in is_hinted() 132 bool get_gasp_range(DWriteFontTypeface* typeface, int size, GaspRange* range) { in get_gasp_range() 177 static bool has_bitmap_strike(DWriteFontTypeface* typeface, GaspRange range) { in has_bitmap_strike() 270 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in SkScalerContext_DW() local 434 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in generateAdvance() local 491 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in getBoundingBox() local 788 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in generateMetrics() local 1062 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in drawDWMask() local 1161 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in drawColorGlyphImage() local [all …]
|
| /external/skia/modules/canvaskit/tests/ |
| D | font_test.js | 248 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fontType.buffer); constant 264 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fetchedByteBuffers[3]); constant 278 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(notoSerifFontBuffer); constant
|
| /external/skia/src/sfnt/ |
| D | SkOTUtils.cpp | 170 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make() 191 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
|
| /external/skia/modules/skottie/src/text/ |
| D | Font.h | 64 const sk_sp<SkTypeface>& typeface() const { return fTypeface; } in typeface() function
|
| /external/skia/docs/examples/ |
| D | text_rendering.cpp | 9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw() local
|
| /external/skia/gm/ |
| D | bigtext.cpp | 70 auto typeface = MakeResourceAsTypeface("fonts/SpiderSymbol.ttf"); variable
|