/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Overlay_autogen.cpp | 22 int GetFontSize(int fontSize, bool largeFont) in GetFontSize() argument 24 if (largeFont && fontSize > 0) in GetFontSize() 26 return fontSize - 1; in GetFontSize() 28 return fontSize; in GetFontSize() 39 const int32_t fontSize = GetFontSize(kFontLayerMedium, kLargeFont); in initOverlayWidgets() local 42 const int32_t width = 12 * kFontGlyphWidths[fontSize]; in initOverlayWidgets() 43 const int32_t height = kFontGlyphHeights[fontSize]; in initOverlayWidgets() 46 widget->fontSize = fontSize; in initOverlayWidgets() 62 const int32_t fontSize = GetFontSize(kFontLayerSmall, kLargeFont); in initOverlayWidgets() local 65 const int32_t width = 150 * kFontGlyphWidths[fontSize]; in initOverlayWidgets() [all …]
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | paragraph_test.dart | 14 for (double fontSize in <double>[10.0, 20.0, 30.0, 40.0]) { 19 fontSize: fontSize, 25 expect(paragraph.height, closeTo(fontSize, 0.001)); 27 expect(paragraph.minIntrinsicWidth, closeTo(fontSize * 4.0, 0.001)); 28 expect(paragraph.maxIntrinsicWidth, closeTo(fontSize * 4.0, 0.001)); 29 expect(paragraph.alphabeticBaseline, closeTo(fontSize * .8, 0.001)); 38 for (double fontSize in <double>[10.0, 20.0, 30.0, 40.0]) { 43 fontSize: fontSize, 47 paragraph.layout(ParagraphConstraints(width: fontSize * 5.0)); 49 expect(paragraph.height, closeTo(fontSize * 2.0, 0.001)); // because it wraps [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | typography.dart | 344 …display4 : TextStyle(debugLabel: 'englishLike display4 2014', inherit: false, fontSize: 112.0, fon… 345 …display3 : TextStyle(debugLabel: 'englishLike display3 2014', inherit: false, fontSize: 56.0, fon… 346 …display2 : TextStyle(debugLabel: 'englishLike display2 2014', inherit: false, fontSize: 45.0, fon… 347 …display1 : TextStyle(debugLabel: 'englishLike display1 2014', inherit: false, fontSize: 34.0, fon… 348 …headline : TextStyle(debugLabel: 'englishLike headline 2014', inherit: false, fontSize: 24.0, fon… 349 …title : TextStyle(debugLabel: 'englishLike title 2014', inherit: false, fontSize: 20.0, fon… 350 …subhead : TextStyle(debugLabel: 'englishLike subhead 2014', inherit: false, fontSize: 16.0, fon… 351 …body2 : TextStyle(debugLabel: 'englishLike body2 2014', inherit: false, fontSize: 14.0, fon… 352 …body1 : TextStyle(debugLabel: 'englishLike body1 2014', inherit: false, fontSize: 14.0, fon… 353 …caption : TextStyle(debugLabel: 'englishLike caption 2014', inherit: false, fontSize: 12.0, fon… [all …]
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | text_theme_test.dart | 140 expect(sizeTheme.display4.fontSize, baseTheme.display4.fontSize * 2.0 + 5.0); 141 expect(sizeTheme.display3.fontSize, baseTheme.display3.fontSize * 2.0 + 5.0); 142 expect(sizeTheme.display2.fontSize, baseTheme.display2.fontSize * 2.0 + 5.0); 143 expect(sizeTheme.display1.fontSize, baseTheme.display1.fontSize * 2.0 + 5.0); 144 expect(sizeTheme.caption.fontSize, baseTheme.caption.fontSize * 2.0 + 5.0); 145 expect(sizeTheme.headline.fontSize, baseTheme.headline.fontSize * 2.0 + 5.0); 146 expect(sizeTheme.title.fontSize, baseTheme.title.fontSize * 2.0 + 5.0); 147 expect(sizeTheme.subhead.fontSize, baseTheme.subhead.fontSize * 2.0 + 5.0); 148 expect(sizeTheme.body2.fontSize, baseTheme.body2.fontSize * 2.0 + 5.0); 149 expect(sizeTheme.body1.fontSize, baseTheme.body1.fontSize * 2.0 + 5.0); [all …]
|
D | theme_test.dart | 277 expect(glyphText.text.style.fontSize, 10.0); 290 expect(glyphText.text.style.fontSize, 15.0); 296 expect(glyphText.text.style.fontSize, 20.0); 340 fontSize: _kMagicFontSize, 344 expect(customTheme.primaryTextTheme.body1.fontSize, _kMagicFontSize); 353 actualFontSize = theme.primaryTextTheme.body1.fontSize; 398 expect(style.fontSize, isNotNull); 450 expect(theme.textTheme.textStyle.fontSize, 17.0); 461 expect(theme.textTheme.textStyle.fontSize, 17.0); 478 expect(theme.textTheme.textStyle.fontSize, 17.0); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | text_style_test.dart | 22 fontSize: 10.0, 27 expect(s1.fontSize, 10.0); 44 expect(s1.fontSize, 10.0); 49 expect(s2.fontSize, 10.0); 63 expect(s1.fontSize, 10.0); 68 expect(s3.fontSize, 18.0); 80 expect(s1.fontSize, 10.0); 85 expect(s2.fontSize, 10.0); 92 expect(s4.fontSize, 10.0); 99 expect(s1.fontSize, 10.0); [all …]
|
D | text_painter_rtl_test.dart | 19 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 44 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 175 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 265 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 333 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 340 style: TextStyle(fontFamily: 'Ahem', fontSize: 20.0), 366 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 373 style: TextStyle(fontFamily: 'Ahem', fontSize: 20.0), 420 style: TextStyle(fontFamily: 'Ahem', fontSize: 10.0), 427 style: TextStyle(fontFamily: 'Ahem', fontSize: 20.0), [all …]
|
/third_party/typescript/tests/dets/cases/ |
D | dynamicallyBuildUIElements.ets | 49 .fontSize(18) 96 .fontSize(30) 100 .fontSize(30) 110 Text('noParam').fontSize(30) 116 Text(label).fontSize(30) 149 .fontSize(30) 158 .fontSize(30) 160 .fontSize(30) 204 .fontSize(30) 207 .fontSize(20) [all …]
|
D | statusManagementOfApplicationLevelVariables.ets | 48 Button(`更改@StorageLink修饰的变量:${this.varA}`).height(40).fontSize(14) 55 Button(`更改@StorageProp修饰的变量:${this.languageCode}`).height(40).fontSize(14) 87 .fontSize(50) 105 .fontSize(50) 120 .fontSize(18) 134 .fontSize(18)
|
D | targetEtsExample.ets | 103 Text("hello").fontSize(value) 119 .fontSize(30) 121 .fontSize(30)
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | strut_style.dart | 31 /// * `leading * fontSize / 2` or half the font leading if `leading` is undefined (half leading) 34 /// * `leading * fontSize / 2` or half the font leading if `leading` is undefined (half leading) 47 /// shorter than the [fontSize]. When [height] is provided, the line's EM-square 48 /// ascent and descent (which sums to [fontSize]) will be scaled by [height] to 49 /// achieve a final line height of `fontSize * height + fontSize * leading` 85 /// * [fontSize]: the size of the ascent plus descent in logical pixels. This 90 /// * [height]: the multiple of [fontSize] the line's height should be. 93 /// descent (which sum to [fontSize]) is scaled by [height]. 101 /// [fontSize]. Leading is additional spacing between lines. Half of the 134 /// fontSize: 10, [all …]
|
D | text_style.dart | 120 /// a multiple of [fontSize]. For most fonts, setting [height] to 1.0 is not 130 /// Since the `fontSize` is set to 10, the final height of the line is 136 /// style: TextStyle(height: 5, fontSize: 10), 197 /// fontSize: 40, 208 /// fontSize: 40, 230 /// fontSize: 40, 403 this.fontSize, 504 /// During painting, the [fontSize] is multiplied by the current 510 final double fontSize; 537 /// by the font's metrics directly, which may differ from the fontSize. [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | text_theme.dart | 15 fontSize: 17.0, 25 fontSize: 17.0, 35 fontSize: 17.0, 45 fontSize: 10.0, 53 fontSize: 17.0, 62 fontSize: 17.0, 71 fontSize: 34.0, 80 fontSize: 34.0, 90 fontSize: 25.0, 100 fontSize: 25.0, [all …]
|
/third_party/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 65 fontSize: 20, property 81 fontSize: 24, property 149 fontSize: 20, property 177 fontSize: 40, property 221 fontSize: 20, property 253 fontSize: 20, property 288 fontSize: 28, property 302 fontSize: 28, property 307 fontSize: 32, property 356 fontSize: 30, property [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | text_golden_test.dart | 317 fontSize: 14, 348 fontSize: 30, 354 fontSize: 5, 361 fontSize: 25, 369 fontSize: 14, 409 fontSize: 14, 440 fontSize: 30, 446 fontSize: 9, 453 fontSize: 27, 461 fontSize: 14, [all …]
|
/third_party/weex-loader/deps/weex-styler/test/ |
D | parse.js | 32 expect(data.jsonStyle).eql({foo: {fontSize: '200px'}}) property 53 foo: {fontSize: 20, color: '#ff5000'}, property 54 bar: {fontSize: 20, color: '#000000'} property 66 foo: {fontSize: 20, color: '#ff5000', height: 30}, property 67 bar: {fontSize: 20, color: '#ff5000', height: 30}, property 136 fontSize: 20, color: '#ff5000', height: 30, property 164 fontSize: 20, property 185 fontSize: 32, property
|
/third_party/flutter/engine/flutter/lib/ui/text/ |
D | paragraph_builder.h | 33 double fontSize, 42 double fontSize, 80 double fontSize,
|
D | paragraph_builder.cc | 144 double fontSize, in create() argument 149 strutFontFamilies, fontSize, in create() 166 double fontSize, in ParagraphBuilder() argument 195 style.font_size = fontSize; in ParagraphBuilder() 278 double fontSize, in pushStyle() argument 337 style.font_size = fontSize; in pushStyle()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/text/ |
D | paragraph.dart | 296 double fontSize, 309 _fontSize = fontSize, 391 'fontSize: ${_fontSize != null ? _fontSize.toStringAsFixed(1) : "unspecified"}, ' 415 double fontSize, 441 _fontSize = fontSize, 546 'fontSize: ${_fontSize != null ? _fontSize.toStringAsFixed(1) : "unspecified"}, ' 571 /// * `fontSize`: The size of glyphs (in logical pixels) to use when painting 576 /// `(lineHeight + leading) * fontSize` tall when fontSize 577 /// is not null. When fontSize is null, there is no minimum line height. Tall 578 /// glyphs due to baseline alignment or large [TextStyle.fontSize] may cause [all …]
|
/third_party/skia/experimental/sktext/src/ |
D | Paint.h | 32 float fontSize() const override { return fSize; } in fontSize() function 60 float fontSize() const override { return fSize; } in fontSize() function 79 const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, 84 const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle,
|
D | Paint.cpp | 24 … const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkScalar x, SkScalar y) { in drawText() argument 27 … fontFamily, fontSize, fontStyle, SkSize::Make(SK_ScalarInfinity, SK_ScalarInfinity), x, y); in drawText() 33 …const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkSize reqSize, SkScalar x, … in drawText() argument 36 …rivialFontChain> fontChain = sk_make_sp<TrivialFontChain>(fontFamily.c_str(), fontSize, fontStyle); in drawText()
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/fortnightly/ |
D | fortnightly.dart | 159 fontSize: 18, 200 fontSize: 28, 207 fontSize: 18, 214 fontSize: 14, 221 fontSize: 16, 229 fontSize: 10,
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/cupertino/ |
D | cupertino_navigation_demo.dart | 229 fontSize: 13.0, 334 style: const TextStyle(fontSize: 24.0, fontWeight: FontWeight.bold), 341 fontSize: 16.0, 356 fontSize: 14.0, 385 fontSize: 15.0, 472 fontSize: 14.0, 481 fontSize: 12.0, 501 fontSize: 16.0, 511 fontSize: 12.0, 595 fontSize: 15.0, [all …]
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | editable_test.dart | 34 style: TextStyle(height: 1.0, fontSize: 10.0, fontFamily: 'Ahem'), 86 style: TextStyle(height: 1.0, fontSize: 10.0, fontFamily: 'Ahem'), 121 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 196 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 269 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 310 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 368 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 449 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 473 height: 1.0, fontSize: 10.0, fontFamily: 'Ahem', 530 style: TextStyle(height: 1.0, fontSize: 10.0, fontFamily: 'Ahem'),
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/shrine/ |
D | app.dart | 113 title: base.title.copyWith(fontSize: 18.0), 114 caption: base.caption.copyWith(fontWeight: FontWeight.w400, fontSize: 14.0), 115 body2: base.body2.copyWith(fontWeight: FontWeight.w500, fontSize: 16.0), 116 button: base.button.copyWith(fontWeight: FontWeight.w500, fontSize: 14.0),
|