Home
last modified time | relevance | path

Searched refs:fontFamily (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/
Dicons.dart10 static const IconData tooltip = IconData(0xe900, fontFamily: 'GalleryIcons');
11 static const IconData text_fields_alt = IconData(0xe901, fontFamily: 'GalleryIcons');
12 static const IconData tabs = IconData(0xe902, fontFamily: 'GalleryIcons');
13 static const IconData switches = IconData(0xe903, fontFamily: 'GalleryIcons');
14 static const IconData sliders = IconData(0xe904, fontFamily: 'GalleryIcons');
15 static const IconData shrine = IconData(0xe905, fontFamily: 'GalleryIcons');
16 static const IconData sentiment_very_satisfied = IconData(0xe906, fontFamily: 'GalleryIcons');
17 static const IconData refresh = IconData(0xe907, fontFamily: 'GalleryIcons');
18 static const IconData progress_activity = IconData(0xe908, fontFamily: 'GalleryIcons');
19 static const IconData phone_iphone = IconData(0xe909, fontFamily: 'GalleryIcons');
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dicons.dart69 static const IconData threesixty = IconData(0xe577, fontFamily: 'MaterialIcons');
72 static const IconData threed_rotation = IconData(0xe84d, fontFamily: 'MaterialIcons');
75 static const IconData four_k = IconData(0xe072, fontFamily: 'MaterialIcons');
78 static const IconData ac_unit = IconData(0xeb3b, fontFamily: 'MaterialIcons');
81 static const IconData access_alarm = IconData(0xe190, fontFamily: 'MaterialIcons');
84 static const IconData access_alarms = IconData(0xe191, fontFamily: 'MaterialIcons');
87 static const IconData access_time = IconData(0xe192, fontFamily: 'MaterialIcons');
90 static const IconData accessibility = IconData(0xe84e, fontFamily: 'MaterialIcons');
93 static const IconData accessibility_new = IconData(0xe92c, fontFamily: 'MaterialIcons');
96 static const IconData accessible = IconData(0xe914, fontFamily: 'MaterialIcons');
[all …]
Dtypography.dart269 …display4 : TextStyle(debugLabel: 'blackMountainView display4', fontFamily: 'Roboto', inherit: …
270 …display3 : TextStyle(debugLabel: 'blackMountainView display3', fontFamily: 'Roboto', inherit: …
271 …display2 : TextStyle(debugLabel: 'blackMountainView display2', fontFamily: 'Roboto', inherit: …
272 …display1 : TextStyle(debugLabel: 'blackMountainView display1', fontFamily: 'Roboto', inherit: …
273 …headline : TextStyle(debugLabel: 'blackMountainView headline', fontFamily: 'Roboto', inherit: …
274 …title : TextStyle(debugLabel: 'blackMountainView title', fontFamily: 'Roboto', inherit: …
275 …subhead : TextStyle(debugLabel: 'blackMountainView subhead', fontFamily: 'Roboto', inherit: …
276 …body2 : TextStyle(debugLabel: 'blackMountainView body2', fontFamily: 'Roboto', inherit: …
277 …body1 : TextStyle(debugLabel: 'blackMountainView body1', fontFamily: 'Roboto', inherit: …
278 …caption : TextStyle(debugLabel: 'blackMountainView caption', fontFamily: 'Roboto', inherit: …
[all …]
Dtext_theme.dart326 String fontFamily,
341 fontFamily: fontFamily,
350 fontFamily: fontFamily,
359 fontFamily: fontFamily,
368 fontFamily: fontFamily,
377 fontFamily: fontFamily,
386 fontFamily: fontFamily,
395 fontFamily: fontFamily,
404 fontFamily: fontFamily,
413 fontFamily: fontFamily,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dicons.dart40 …static const IconData left_chevron = IconData(0xf3d2, fontFamily: iconFont, fontPackage: iconFontP…
43 …static const IconData right_chevron = IconData(0xf3d3, fontFamily: iconFont, fontPackage: iconFont…
51 …static const IconData share = IconData(0xf4ca, fontFamily: iconFont, fontPackage: iconFontPackage);
59 …static const IconData share_solid = IconData(0xf4cb, fontFamily: iconFont, fontPackage: iconFontPa…
66 static const IconData book = IconData(0xf3e7, fontFamily: iconFont, fontPackage: iconFontPackage);
73 …static const IconData book_solid = IconData(0xf3e8, fontFamily: iconFont, fontPackage: iconFontPac…
80 …static const IconData bookmark = IconData(0xf3e9, fontFamily: iconFont, fontPackage: iconFontPacka…
87 …static const IconData bookmark_solid = IconData(0xf3ea, fontFamily: iconFont, fontPackage: iconFon…
90 static const IconData info = IconData(0xf44c, fontFamily: iconFont, fontPackage: iconFontPackage);
95 …static const IconData reply = IconData(0xf4c6, fontFamily: iconFont, fontPackage: iconFontPackage);
[all …]
Dtext_theme.dart14 fontFamily: '.SF Pro Text',
24 fontFamily: '.SF Pro Text',
34 fontFamily: '.SF Pro Text',
44 fontFamily: '.SF Pro Text',
52 fontFamily: '.SF Pro Text',
61 fontFamily: '.SF Pro Text',
70 fontFamily: '.SF Pro Display',
79 fontFamily: '.SF Pro Display',
89 fontFamily: '.SF Pro Display',
99 fontFamily: '.SF Pro Display',
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_style_test.dart26 expect(s1.fontFamily, isNull);
43 expect(s1.fontFamily, isNull);
48 expect(s2.fontFamily, isNull);
62 expect(s1.fontFamily, isNull);
67 expect(s3.fontFamily, isNull);
79 expect(s1.fontFamily, isNull);
84 expect(s2.fontFamily, isNull);
91 expect(s4.fontFamily, isNull);
98 expect(s1.fontFamily, isNull);
103 expect(s3.fontFamily, isNull);
[all …]
/third_party/flutter/skia/src/ports/
DSkFontMgr_win_dw.cpp303 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const;
312 IDWriteFontFamily* fontFamily) const;
329 IDWriteFontFamily* fontFamily) in SkFontStyleSet_DirectWrite() argument
331 , fFontFamily(SkRefComPtr(fontFamily)) in SkFontStyleSet_DirectWrite()
458 IDWriteFontFamily* fontFamily) const { in makeTypefaceFromDWriteFont()
460 ProtoDWriteTypeface spec = { fontFace, font, fontFamily }; in makeTypefaceFromDWriteFont()
463 face = DWriteFontTypeface::Make(fFactory.get(), fontFace, font, fontFamily); in makeTypefaceFromDWriteFont()
476 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in onGetFamilyName() local
477 HRVM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family."); in onGetFamilyName()
480 HRVM(fontFamily->GetFamilyNames(&familyNames), "Could not get family names."); in onGetFamilyName()
[all …]
DSkTypeface_win_dw.h46 IDWriteFontFamily* fontFamily,
53 , fDWriteFontFamily(SkRefComPtr(fontFamily)) in SkTypeface()
89 IDWriteFontFamily* fontFamily,
94 new DWriteFontTypeface(get_style(font), factory, fontFace, font, fontFamily,
DSkRemotableFontMgr_win_dw.cpp127 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex() local
128 HRNM(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in getIndex()
131 int count = fontFamily->GetFontCount(); in getIndex()
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
149 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle() local
150 HR_GENERAL(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in matchIndexStyle()
156 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dstrut_style.dart41 /// `descent` are provided by the font named by [fontFamily]. If no
42 /// [fontFamily] or [fontFamilyFallback] is provided, then the platform's
76 /// * [fontFamily]: the name of the font to use when calculating the strut
81 /// be searched for when the font in [fontFamily] cannot be found. When
135 /// fontFamily: 'Raleway',
138 /// fontFamily: 'Roboto',
160 /// fontFamily: 'Roboto'
167 /// fontFamily: 'Roboto',
174 /// fontFamily: 'Roboto',
180 /// fontFamily: 'Roboto',
[all …]
Dtext_style.dart267 /// the [fontFamily] argument. The `asset` property is a path to the font file,
275 /// To select a custom font, create [TextStyle] using the [fontFamily]
282 /// const TextStyle(fontFamily: 'Raleway')
292 /// const TextStyle(fontFamily: 'Raleway', package: 'my_package')
327 /// const TextStyle(fontFamily: 'Raleway')
337 /// not present in the [fontFamily].
341 /// * [fontFamily]
356 /// fontFamily: 'Raleway',
397 /// package. It is combined with the `fontFamily` argument to set the
398 /// [fontFamily] property.
[all …]
/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp364 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const;
373 IDWriteFontFamily* fontFamily) const;
390 IDWriteFontFamily* fontFamily) in SkFontStyleSet_DirectWrite() argument
392 , fFontFamily(SkRefComPtr(fontFamily)) in SkFontStyleSet_DirectWrite()
529 IDWriteFontFamily* fontFamily) const { in makeTypefaceFromDWriteFont()
531 ProtoDWriteTypeface spec = { fontFace, font, fontFamily }; in makeTypefaceFromDWriteFont()
534 face = DWriteFontTypeface::Make(fFactory.get(), fontFace, font, fontFamily, nullptr); in makeTypefaceFromDWriteFont()
547 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in onGetFamilyName() local
548 HRVM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family."); in onGetFamilyName()
551 HRVM(fontFamily->GetFamilyNames(&familyNames), "Could not get family names."); in onGetFamilyName()
[all …]
DSkTypeface_win_dw.h66 IDWriteFontFamily* fontFamily, in DWriteFontTypeface() argument
70 , fDWriteFontFamily(SkRefComPtr(fontFamily)) in DWriteFontTypeface()
109 IDWriteFontFamily* fontFamily, in Make() argument
113 get_style(font), factory, fontFace, font, fontFamily, std::move(loaders))); in Make()
DSkRemotableFontMgr_win_dw.cpp127 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex() local
128 HRNM(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in getIndex()
131 int count = fontFamily->GetFontCount(); in getIndex()
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
149 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle() local
150 HR_GENERAL(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in matchIndexStyle()
156 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
/third_party/flutter/flutter/packages/flutter/test/material/
Dtab_bar_theme_test.dart57 expect(selectedRenderObject.text.style.fontFamily, equals('Roboto'));
61 expect(unselectedRenderObject.text.style.fontFamily, equals('Roboto'));
136 const TextStyle labelStyle = TextStyle(fontFamily: 'foobar');
137 const TextStyle unselectedLabelStyle = TextStyle(fontFamily: 'baz');
146 expect(selectedRenderObject.text.style.fontFamily, equals(labelStyle.fontFamily));
148 expect(unselectedRenderObject.text.style.fontFamily, equals(unselectedLabelStyle.fontFamily));
153 const TextStyle labelStyle = TextStyle(fontFamily: 'foobar');
161 expect(selectedRenderObject.text.style.fontFamily, equals(labelStyle.fontFamily));
163 expect(unselectedRenderObject.text.style.fontFamily, equals('Roboto'));
169 const TextStyle labelStyle = TextStyle(fontFamily: '1');
[all …]
Dtypography_test.dart20 expect(Typography(platform: TargetPlatform.android).black.title.fontFamily, 'Roboto');
21 expect(Typography(platform: TargetPlatform.fuchsia).black.title.fontFamily, 'Roboto');
27 return s.fontFamily == '.SF UI Display';
31 return s.fontFamily == '.SF UI Text';
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontCollection.cpp159 const std::shared_ptr<FontFamily>& fontFamily) const { in calcFamilyScore()
160 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily); in calcFamilyScore()
168 calcLanguageMatchingScore(langListId, *fontFamily); in calcFamilyScore()
169 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily); in calcFamilyScore()
195 const std::shared_ptr<FontFamily>& fontFamily) const { in calcCoverageScore()
196 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore()
197 if (!hasVSGlyph && !fontFamily->getCoverage().get(ch)) { in calcCoverageScore()
203 if ((vs == 0 || hasVSGlyph) && mFamilies[0] == fontFamily) { in calcCoverageScore()
219 FontLanguageListCache::getById(fontFamily->langId()); in calcCoverageScore()
265 const FontFamily& fontFamily) { in calcLanguageMatchingScore() argument
[all …]
DFontCollection.h114 const std::shared_ptr<FontFamily>& fontFamily) const;
119 const std::shared_ptr<FontFamily>& fontFamily) const;
122 const FontFamily& fontFamily);
125 const FontFamily& fontFamily);
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DFont.java6 public Font(String fontFamily, float size) { in Font() argument
7 mNativeInstance = nCreate(fontFamily, size); in Font()
26 private static native long nCreate(String fontFamily, float size); in nCreate() argument
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dicon_data.dart24 this.fontFamily,
33 final String fontFamily;
38 /// that the given [fontFamily] is obtained from the appropriate asset.
58 && fontFamily == typedOther.fontFamily
64 int get hashCode => hashValues(codePoint, fontFamily, fontPackage, matchTextDirection);
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtheme_test.dart87 textStyle: TextStyle(fontFamily: 'Skeuomorphic'),
92 expect(theme.textTheme.textStyle.fontFamily, 'Skeuomorphic');
99 textStyle: TextStyle(fontFamily: 'Skeuomorphic'),
105 expect(theme.textTheme.textStyle.fontFamily, 'Skeuomorphic');
111 textStyle: TextStyle(fontFamily: 'Flat'),
116 expect(theme.textTheme.textStyle.fontFamily, 'Flat');
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/fortnightly/
Dfortnightly.dart158 fontFamily: 'Merriweather',
198 fontFamily: 'Merriweather',
206 fontFamily: 'LibreFranklin',
213 fontFamily: 'Merriweather',
220 fontFamily: 'Merriweather',
228 fontFamily: 'LibreFranklin',
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dicon_test.dart21 child: Icon(IconData(0xd0a0, fontFamily: 'Arial')),
120 child: Icon(IconData(0x41, fontFamily: 'Roboto')),
126 expect(richText.text.style.fontFamily, equals('Roboto'));
203 expect(const IconData(123), isNot(const IconData(123, fontFamily: 'f')));
207 expect(const IconData(123).hashCode, isNot(const IconData(123, fontFamily: 'f').hashCode));
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/text/
Dparagraph.dart295 String fontFamily,
308 _fontFamily = fontFamily,
390 'fontFamily: ${_fontFamily ?? "unspecified"}, '
413 String fontFamily,
437 _isFontFamilyProvided = fontFamily != null,
438 _fontFamily = fontFamily ?? '',
544 … 'fontFamily: ${_isFontFamilyProvided && _fontFamily != null ? _fontFamily : "unspecified"}, '
565 /// * `fontFamily`: The name of the font to use when painting the text (e.g.,
569 /// the font in `fontFamily` cannot be found.
594 /// glyphs may overlap with lines above. If a [fontFamily] is specified, the
[all …]

12345