/third_party/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 112 auto& strutStyle = key.fParagraphStyle.getStrutStyle(); in operator ()() local 113 if (strutStyle.getStrutEnabled()) { in operator ()() 114 hash = mix(hash, SkGoodHash()(relax(strutStyle.getHeight()))); in operator ()() 115 hash = mix(hash, SkGoodHash()(relax(strutStyle.getLeading()))); in operator ()() 116 hash = mix(hash, SkGoodHash()(relax(strutStyle.getFontSize()))); in operator ()() 117 hash = mix(hash, SkGoodHash()(strutStyle.getHeightOverride())); in operator ()() 118 hash = mix(hash, SkGoodHash()(strutStyle.getFontStyle())); in operator ()() 119 hash = mix(hash, SkGoodHash()(strutStyle.getForceStrutHeight())); in operator ()() 120 for (auto& ff : strutStyle.getFontFamilies()) { in operator ()()
|
D | ParagraphImpl.cpp | 583 auto strutStyle = this->paragraphStyle().getStrutStyle(); in resolveStrut() local 584 if (!strutStyle.getStrutEnabled() || strutStyle.getFontSize() < 0) { in resolveStrut() 588 …SkTypeface>> typefaces = fFontCollection->findTypefaces(strutStyle.getFontFamilies(), strutStyle.g… in resolveStrut() 594 SkFont font(typefaces.front(), strutStyle.getFontSize()); in resolveStrut() 598 if (strutStyle.getHeightOverride()) { in resolveStrut() 600 auto strutMultiplier = strutStyle.getHeight() * strutStyle.getFontSize(); in resolveStrut() 604 … strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut() 609 strutStyle.getLeading() < 0 ? 0 in resolveStrut() 610 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
|
D | TextLine.cpp | 1021 const auto& strutStyle = paragraphStyle.getStrutStyle(); in getRectsForRange() local 1022 if (strutStyle.getStrutEnabled() in getRectsForRange() 1023 && strutStyle.getFontSize() > 0) { in getRectsForRange()
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 456 auto strutStyle = this->paragraphStyle().getStrutStyle(); in resolveStrut() local 457 if (!strutStyle.getStrutEnabled() || strutStyle.getFontSize() < 0) { in resolveStrut() 462 for (auto& fontFamily : strutStyle.getFontFamilies()) { in resolveStrut() 463 typeface = fFontCollection->matchTypeface(fontFamily.c_str(), strutStyle.getFontStyle()); in resolveStrut() 472 SkFont font(typeface, strutStyle.getFontSize()); in resolveStrut() 476 if (strutStyle.getHeightOverride()) { in resolveStrut() 478 auto strutMultiplier = strutStyle.getHeight() * strutStyle.getFontSize(); in resolveStrut() 482 … strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut() 487 … strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut() 653 auto strutStyle = this->paragraphStyle().getStrutStyle(); in getRectsForRange() local [all …]
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 61 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
|
/third_party/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 90 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | paragraph.dart | 77 StrutStyle strutStyle, 98 strutStyle: strutStyle, 254 /// {@macro flutter.painting.textPainter.strutStyle} 255 StrutStyle get strutStyle => _textPainter.strutStyle; 257 set strutStyle(StrutStyle value) { 258 if (_textPainter.strutStyle == value) 260 _textPainter.strutStyle = value;
|
D | editable.dart | 152 StrutStyle strutStyle, 205 strutStyle: strutStyle, 706 StrutStyle get strutStyle => _textPainter.strutStyle; 707 set strutStyle(StrutStyle value) { 708 if (_textPainter.strutStyle == value) 710 _textPainter.strutStyle = value;
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | selectable_text.dart | 196 this.strutStyle, 238 this.strutStyle, 310 /// {@macro flutter.widgets.editableText.strutStyle} 311 final StrutStyle strutStyle; 565 strutStyle: widget.strutStyle ?? StrutStyle.disabled,
|
D | text_form_field.dart | 87 StrutStyle strutStyle, 163 strutStyle: strutStyle,
|
D | text_field.dart | 255 this.strutStyle, 394 /// {@macro flutter.widgets.editableText.strutStyle} 395 final StrutStyle strutStyle; 984 strutStyle: widget.strutStyle,
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | text.dart | 258 this.strutStyle, 289 this.strutStyle, 323 /// {@macro flutter.painting.textPainter.strutStyle} 324 final StrutStyle strutStyle; 417 strutStyle: strutStyle,
|
D | editable_text.dart | 356 StrutStyle strutStyle, 430 _strutStyle = strutStyle, 520 /// {@template flutter.widgets.editableText.strutStyle} 531 /// passed, the theme's [TextStyle] will be used to generate [strutStyle] 544 StrutStyle get strutStyle { 1732 strutStyle: widget.strutStyle, 1798 this.strutStyle, 1834 final StrutStyle strutStyle; 1870 strutStyle: strutStyle, 1907 ..strutStyle = strutStyle
|
/third_party/skia/modules/canvaskit/ |
D | paragraph.js | 72 s['strutStyle'] = strutStyle(s['strutStyle']); 91 function strutStyle(s) { function
|
D | paragraph_bindings.cpp | 220 SimpleStrutStyle strutStyle; member 238 auto ss = toStrutStyle(s.strutStyle); in toParagraphStyle() 587 .field("strutStyle", &SimpleParagraphStyle::strutStyle); in EMSCRIPTEN_BINDINGS()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | text_golden_test.dart | 257 strutStyle: StrutStyle(), 285 strutStyle: StrutStyle( 315 strutStyle: StrutStyle( 368 strutStyle: StrutStyle( 401 strutStyle: StrutStyle( 460 strutStyle: StrutStyle(
|
D | selectable_text_test.dart | 977 strutStyle: StrutStyle.disabled, 1287 strutStyle: StrutStyle.disabled, 1678 strutStyle: StrutStyle.disabled, 1690 strutStyle: StrutStyle.disabled, 3301 strutStyle: StrutStyle.disabled, 3351 strutStyle: StrutStyle( 3383 strutStyle: StrutStyle( 3412 strutStyle: StrutStyle( 3442 strutStyle: StrutStyle(
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | text_style.dart | 1075 StrutStyle strutStyle, 1089 strutStyle: strutStyle == null ? null : ui.StrutStyle( 1090 fontFamily: strutStyle.fontFamily, 1091 fontFamilyFallback: strutStyle.fontFamilyFallback, 1092 fontSize: strutStyle.fontSize == null ? null : strutStyle.fontSize * textScaleFactor, 1093 height: strutStyle.height, 1094 leading: strutStyle.leading, 1095 fontWeight: strutStyle.fontWeight, 1096 fontStyle: strutStyle.fontStyle, 1097 forceStrutHeight: strutStyle.forceStrutHeight,
|
D | text_painter.dart | 144 StrutStyle strutStyle, 158 _strutStyle = strutStyle, 304 /// {@template flutter.painting.textPainter.strutStyle} 316 StrutStyle get strutStyle => _strutStyle; 318 set strutStyle(StrutStyle value) { 400 strutStyle: _strutStyle,
|
D | strut_style.dart | 137 /// strutStyle: StrutStyle( 179 /// strutStyle: StrutStyle( 220 /// strutStyle: StrutStyle( 277 /// strutStyle: StrutStyle(
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | text_field.dart | 215 this.strutStyle, 372 /// {@macro flutter.widgets.editableText.strutStyle} 373 final StrutStyle strutStyle; 837 strutStyle: widget.strutStyle,
|
/third_party/flutter/flutter/packages/flutter/test/cupertino/ |
D | text_field_test.dart | 184 child: const CupertinoTextField(strutStyle: StrutStyle.disabled), 228 strutStyle: StrutStyle.disabled, 273 strutStyle: StrutStyle( 301 strutStyle: StrutStyle( 777 strutStyle: StrutStyle.disabled, 803 strutStyle: StrutStyle.disabled, 1057 strutStyle: StrutStyle.disabled, 1076 strutStyle: StrutStyle.disabled, 1163 strutStyle: StrutStyle.disabled,
|
/third_party/flutter/skia/tests/ |
D | SkParagraphTest.cpp | 2235 StrutStyle strutStyle; in DEF_TEST() local 2236 strutStyle.setStrutEnabled(true); in DEF_TEST() 2237 strutStyle.setFontFamilies({SkString("Roboto")}); in DEF_TEST() 2238 strutStyle.setFontSize(14.0); in DEF_TEST() 2241 paragraphStyle.setStrutStyle(strutStyle); in DEF_TEST() 2281 StrutStyle strutStyle; in DEF_TEST() local 2282 strutStyle.setStrutEnabled(false); in DEF_TEST() 2285 paragraphStyle.setStrutStyle(strutStyle); in DEF_TEST()
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | text.dart | 770 StrutStyle strutStyle, 807 if (strutStyle != null) { 863 /// * `strutStyle`: The properties of the strut. Strut defines a set of minimum 886 StrutStyle strutStyle, 898 strutStyle, 905 _strutStyle = strutStyle,
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | text_field_test.dart | 2179 strutStyle: StrutStyle.disabled, 2792 strutStyle: StrutStyle.disabled, 3437 strutStyle: StrutStyle.disabled, 4050 strutStyle: StrutStyle.disabled, 4063 strutStyle: StrutStyle.disabled, 6330 strutStyle: StrutStyle.disabled, 6379 strutStyle: StrutStyle( 6410 strutStyle: StrutStyle( 6438 strutStyle: StrutStyle( 6467 strutStyle: StrutStyle(
|