Home
last modified time | relevance | path

Searched refs:strutStyle (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/modules/skparagraph/src/
DParagraphCache.cpp112 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 ()()
DParagraphImpl.cpp583 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()
604strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
609 strutStyle.getLeading() < 0 ? 0 in resolveStrut()
610 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
DTextLine.cpp1021 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/
DParagraphImpl.cpp456 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()
482strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
487strutStyle.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/
DParagraphStyle.h61 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
/third_party/skia/modules/skparagraph/include/
DParagraphStyle.h90 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dparagraph.dart77 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;
Deditable.dart152 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/
Dselectable_text.dart196 this.strutStyle,
238 this.strutStyle,
310 /// {@macro flutter.widgets.editableText.strutStyle}
311 final StrutStyle strutStyle;
565 strutStyle: widget.strutStyle ?? StrutStyle.disabled,
Dtext_form_field.dart87 StrutStyle strutStyle,
163 strutStyle: strutStyle,
Dtext_field.dart255 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/
Dtext.dart258 this.strutStyle,
289 this.strutStyle,
323 /// {@macro flutter.painting.textPainter.strutStyle}
324 final StrutStyle strutStyle;
417 strutStyle: strutStyle,
Deditable_text.dart356 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/
Dparagraph.js72 s['strutStyle'] = strutStyle(s['strutStyle']);
91 function strutStyle(s) { function
Dparagraph_bindings.cpp220 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/
Dtext_golden_test.dart257 strutStyle: StrutStyle(),
285 strutStyle: StrutStyle(
315 strutStyle: StrutStyle(
368 strutStyle: StrutStyle(
401 strutStyle: StrutStyle(
460 strutStyle: StrutStyle(
Dselectable_text_test.dart977 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/
Dtext_style.dart1075 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,
Dtext_painter.dart144 StrutStyle strutStyle,
158 _strutStyle = strutStyle,
304 /// {@template flutter.painting.textPainter.strutStyle}
316 StrutStyle get strutStyle => _strutStyle;
318 set strutStyle(StrutStyle value) {
400 strutStyle: _strutStyle,
Dstrut_style.dart137 /// strutStyle: StrutStyle(
179 /// strutStyle: StrutStyle(
220 /// strutStyle: StrutStyle(
277 /// strutStyle: StrutStyle(
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dtext_field.dart215 this.strutStyle,
372 /// {@macro flutter.widgets.editableText.strutStyle}
373 final StrutStyle strutStyle;
837 strutStyle: widget.strutStyle,
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_field_test.dart184 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/
DSkParagraphTest.cpp2235 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/
Dtext.dart770 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/
Dtext_field_test.dart2179 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(

12