Home
last modified time | relevance | path

Searched refs:FontStyle (Results 1 – 25 of 55) sorted by relevance

123

/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontFamily.h38 class FontStyle {
40 FontStyle() in FontStyle() function
41 : FontStyle(0 /* variant */, 4 /* weight */, false /* italic */) {} in FontStyle()
42 FontStyle(int weight, bool italic) in FontStyle() function
43 : FontStyle(0 /* variant */, weight, italic) {} in FontStyle()
44 FontStyle(uint32_t langListId) // NOLINT(implicit) in FontStyle() function
45 : FontStyle(langListId, in FontStyle()
50 FontStyle(int variant, int weight, bool italic);
51 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
58 bool operator==(const FontStyle other) const {
[all …]
DFontFamily.cpp42 FontStyle::FontStyle(int variant, int weight, bool italic) in FontStyle() function in minikin::FontStyle
43 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) {} in FontStyle()
45 FontStyle::FontStyle(uint32_t languageListId, in FontStyle() function in minikin::FontStyle
51 android::hash_t FontStyle::hash() const { in hash()
58 uint32_t FontStyle::registerLanguageList(const std::string& languages) { in registerLanguageList()
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { in pack()
69 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) in Font()
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) in Font()
136 static int computeMatch(FontStyle style1, FontStyle style2) { in computeMatch()
146 static FontFakery computeFakery(FontStyle wanted, FontStyle actual) { in computeFakery()
[all …]
DLayout.h82 const FontStyle& style,
91 const FontStyle& style,
DFontCollection.h56 FontStyle style,
66 FakedFont baseFontFaked(FontStyle style);
DFontCollection.cpp76 const FontStyle defaultStyle; in init()
467 FontStyle style, in itemize()
542 FakedFont FontCollection::baseFontFaked(FontStyle style) { in baseFontFaked()
/third_party/flutter/engine/flutter/third_party/txt/tests/
DFontCollectionItemizeTest.cpp58 FontStyle style, in itemize()
89 const FontStyle kRegularStyle = FontStyle(); in TEST_F()
90 const FontStyle kItalicStyle = FontStyle(4, true); in TEST_F()
91 const FontStyle kBoldStyle = FontStyle(7, false); in TEST_F()
92 const FontStyle kBoldItalicStyle = FontStyle(7, true); in TEST_F()
160 itemize(collection, "U+1F469 U+1F467", FontStyle(), &runs); in TEST_F()
170 itemize(collection, "'0' U+20E3", FontStyle(), &runs); in TEST_F()
178 itemize(collection, "U+1F470 U+20E3", FontStyle(), &runs); in TEST_F()
186 itemize(collection, "U+242EE U+1F470 U+20E3", FontStyle(), &runs); in TEST_F()
202 itemize(collection, "'a' U+20E3", FontStyle(), &runs); in TEST_F()
[all …]
DFontFamilyTest.cpp52 std::vector<Font>({Font(font, FontStyle())})); in makeFamily()
502 EXPECT_EQ(0UL, FontStyle::registerLanguageList("")); in TEST_F()
503 EXPECT_NE(0UL, FontStyle::registerLanguageList("en")); in TEST_F()
504 EXPECT_NE(0UL, FontStyle::registerLanguageList("jp")); in TEST_F()
505 EXPECT_NE(0UL, FontStyle::registerLanguageList("en,zh-Hans")); in TEST_F()
507 EXPECT_EQ(FontStyle::registerLanguageList("en"), in TEST_F()
508 FontStyle::registerLanguageList("en")); in TEST_F()
509 EXPECT_NE(FontStyle::registerLanguageList("en"), in TEST_F()
510 FontStyle::registerLanguageList("jp")); in TEST_F()
512 EXPECT_EQ(FontStyle::registerLanguageList("en,zh-Hans"), in TEST_F()
[all …]
DLayoutTest.cpp82 FontStyle(), paint, mCollection); in TEST_F()
101 FontStyle(), paint, mCollection); in TEST_F()
120 FontStyle(), paint, mCollection); in TEST_F()
139 FontStyle(), paint, mCollection); in TEST_F()
174 FontStyle(), paint, mCollection); in TEST_F()
193 FontStyle(), paint, mCollection); in TEST_F()
216 FontStyle(), paint, mCollection); in TEST_F()
237 FontStyle(), paint, mCollection); in TEST_F()
273 FontStyle(), paint, mCollection); in TEST_F()
292 FontStyle(), paint, mCollection); in TEST_F()
[all …]
DFontLanguageListCacheTest.cpp30 EXPECT_NE(0UL, FontStyle::registerLanguageList("en")); in TEST_F()
31 EXPECT_NE(0UL, FontStyle::registerLanguageList("jp")); in TEST_F()
32 EXPECT_NE(0UL, FontStyle::registerLanguageList("en,zh-Hans")); in TEST_F()
DFontTestUtils.cpp80 fonts.push_back(Font(minikinFont, FontStyle(weight, italic))); in getFontFamilies()
85 fonts.push_back(Font(minikinFont, FontStyle(weight, italic))); in getFontFamilies()
94 uint32_t langId = FontStyle::registerLanguageList( in getFontFamilies()
DFontCollectionTest.cpp64 new FontFamily(std::vector<Font>({Font(font, FontStyle())}))); in TEST()
145 new FontFamily(std::vector<Font>({Font(multiAxisFont, FontStyle())}))); in TEST()
152 new FontFamily(std::vector<Font>({Font(noAxisFont, FontStyle())}))); in TEST()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_style.h49 FontStyle font_style = FontStyle::normal;
60 FontStyle strut_font_style = FontStyle::normal;
Dtext_style.h45 FontStyle font_style = FontStyle::normal;
Dfont_style.h22 enum class FontStyle { enum
Dparagraph_txt.cc135 case FontStyle::italic: in GetItalic()
137 case FontStyle::normal: in GetItalic()
143 minikin::FontStyle GetMinikinFontStyle(const TextStyle& style) { in GetMinikinFontStyle()
147 : minikin::FontStyle::registerLanguageList(style.locale); in GetMinikinFontStyle()
148 return minikin::FontStyle(language_list_id, 0, GetWeight(style), in GetMinikinFontStyle()
153 minikin::FontStyle* font, in GetFontAndMinikinPaint()
309 minikin::FontStyle font; in ComputeLineBreaks()
523 minikin::FontStyle minikin_font_style( in ComputeStrut()
525 paragraph_style_.strut_font_style == FontStyle::italic); in ComputeStrut()
793 minikin::FontStyle minikin_font; in Layout()
[all …]
/third_party/typescript/tests/cases/fourslash/etslib/
Dtext.d.ts17 declare enum FontStyle { enum
69 fontStyle(value: FontStyle): TextAttribute;
/third_party/flutter/engine/flutter/third_party/txt/tests/old/perftests/
DFontCollection.cpp90 FontStyle style(FontStyle::registerLanguageList( in BM_FontCollection_itemize()
DFontFamily.cpp30 std::vector<Font>({Font(minikinFont, FontStyle())})); in BM_FontFamily_create()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstcea708decoder.h312 } FontStyle; typedef
337 FontStyle font_style;
343 FontStyle font_style;
/third_party/flutter/skia/modules/skottie/src/layers/
DTextLayer.cpp29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() function
154 FontStyle(this, jstyle->begin()))); in parseFonts()
162 tf = fmgr->legacyMakeTypeface(nullptr, FontStyle(this, jstyle->begin())); in parseFonts()
/third_party/flutter/engine/flutter/testing/dart/
Dparagraph_test.dart17 fontStyle: FontStyle.normal,
41 fontStyle: FontStyle.normal,
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp51 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() function
282 FontStyle(this, finfo->fStyle.c_str()))); in resolveNativeTypefaces()
289 FontStyle(this, finfo->fStyle.c_str())); in resolveNativeTypefaces()
/third_party/flutter/engine/flutter/third_party/txt/benchmarks/
Dparagraph_benchmarks.cc365 minikin::FontStyle font; in BM_ParagraphMinikinDoLayout()
370 font = minikin::FontStyle(4, false); in BM_ParagraphMinikinDoLayout()
396 minikin::FontStyle font; in BM_ParagraphMinikinAddStyleRun()
401 font = minikin::FontStyle(4, false); in BM_ParagraphMinikinAddStyleRun()
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_builder_skia.cc38 txt::FontStyle font_style) { in MakeSkFontStyle()
41 font_style == txt::FontStyle::normal ? SkFontStyle::Slant::kUpright_Slant in MakeSkFontStyle()
/third_party/boost/libs/math/dot_net_example/distribution_explorer/
DDistexSplash.Designer.cs57 …t = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.… in InitializeComponent()
119 …this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing… in InitializeComponent()

123