Home
last modified time | relevance | path

Searched refs:TextBox (Results 1 – 25 of 49) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_painter_rtl_test.dart121 const <TextBox>[
122 TextBox.fromLTRBD(160.0, 0.0, 240.0, 10.0, TextDirection.rtl), // HEBREW1
123 TextBox.fromLTRBD( 80.0, 0.0, 160.0, 10.0, TextDirection.ltr), // english2
124 TextBox.fromLTRBD( 0.0, 0.0, 80.0, 10.0, TextDirection.rtl), // HEBREW3
130 final List<List<TextBox>> list = <List<TextBox>>[];
134 expect(list, const <List<TextBox>>[
135 <TextBox>[], // U+202E, non-printing Unicode bidi formatting character
136 <TextBox>[TextBox.fromLTRBD(230.0, 0.0, 240.0, 10.0, TextDirection.rtl)],
137 <TextBox>[TextBox.fromLTRBD(220.0, 0.0, 230.0, 10.0, TextDirection.rtl)],
138 <TextBox>[TextBox.fromLTRBD(210.0, 0.0, 220.0, 10.0, TextDirection.rtl)],
[all …]
Dtext_painter_test.dart719 …expect(painter.inlinePlaceholderBoxes[0], const TextBox.fromLTRBD(56, 0, 106, 30, TextDirection.lt…
720 …expect(painter.inlinePlaceholderBoxes[2], const TextBox.fromLTRBD(212, 0, 262, 30, TextDirection.l…
721 …expect(painter.inlinePlaceholderBoxes[3], const TextBox.fromLTRBD(318, 0, 368, 30, TextDirection.l…
722 …expect(painter.inlinePlaceholderBoxes[4], const TextBox.fromLTRBD(368, 0, 418, 30, TextDirection.l…
723 …expect(painter.inlinePlaceholderBoxes[5], const TextBox.fromLTRBD(418, 0, 468, 30, TextDirection.l…
725 …expect(painter.inlinePlaceholderBoxes[6], const TextBox.fromLTRBD(0, 30, 50, 60, TextDirection.ltr…
726 …expect(painter.inlinePlaceholderBoxes[7], const TextBox.fromLTRBD(50, 30, 100, 60, TextDirection.l…
727 …expect(painter.inlinePlaceholderBoxes[10], const TextBox.fromLTRBD(200, 30, 250, 60, TextDirection…
728 …expect(painter.inlinePlaceholderBoxes[11], const TextBox.fromLTRBD(250, 30, 300, 60, TextDirection…
729 …expect(painter.inlinePlaceholderBoxes[12], const TextBox.fromLTRBD(300, 30, 351, 60, TextDirection…
[all …]
/third_party/typescript/tests/baselines/reference/
Dinheritance1.types20 class TextBox extends Control {
21 >TextBox : TextBox
76 var t: TextBox;
77 >t : TextBox
80 >sc = t : TextBox
82 >t : TextBox
85 >c = t : TextBox
87 >t : TextBox
91 >t : TextBox
96 >t : TextBox
DinterfaceExtendsClass1.js11 class TextBox extends Control { class
50 var TextBox = /** @class */ (function (_super) {
51 __extends(TextBox, _super);
52 function TextBox() { class in TextBox
55 TextBox.prototype.select = function () { };
56 return TextBox;
Dinheritance1.js12 class TextBox extends Control { class
34 var t: TextBox;
93 var TextBox = /** @class */ (function (_super) {
94 __extends(TextBox, _super);
95 function TextBox() { class in TextBox
98 TextBox.prototype.select = function () { };
99 return TextBox;
DinterfaceExtendsClass1.symbols22 class TextBox extends Control {
23 >TextBox : Symbol(TextBox, Decl(interfaceExtendsClass1.ts, 8, 1))
27 >select : Symbol(TextBox.select, Decl(interfaceExtendsClass1.ts, 9, 31))
DinterfaceExtendsClass1.types19 class TextBox extends Control {
20 >TextBox : TextBox
Dinheritance1.symbols24 class TextBox extends Control {
25 >TextBox : Symbol(TextBox, Decl(inheritance1.ts, 9, 1))
29 >select : Symbol(TextBox.select, Decl(inheritance1.ts, 10, 31))
81 var t: TextBox;
83 >TextBox : Symbol(TextBox, Decl(inheritance1.ts, 9, 1))
Dinheritance1.errors.txt6 …37,1): error TS2741: Property 'select' is missing in type 'Control' but required in type 'TextBox'.
28 class TextBox extends Control {
61 var t: TextBox;
67 !!! error TS2741: Property 'select' is missing in type 'Control' but required in type 'TextBox'.
/third_party/flutter/engine/flutter/lib/ui/text/
Dparagraph.cc89 std::vector<TextBox> Paragraph::getRectsForRange(unsigned start, in getRectsForRange()
93 std::vector<TextBox> result; in getRectsForRange()
94 std::vector<txt::Paragraph::TextBox> boxes = m_paragraph->GetRectsForRange( in getRectsForRange()
97 for (const txt::Paragraph::TextBox& box : boxes) { in getRectsForRange()
103 std::vector<TextBox> Paragraph::getRectsForPlaceholders() { in getRectsForPlaceholders()
104 std::vector<TextBox> result; in getRectsForPlaceholders()
105 std::vector<txt::Paragraph::TextBox> boxes = in getRectsForPlaceholders()
107 for (const txt::Paragraph::TextBox& box : boxes) { in getRectsForPlaceholders()
Dtext_box.h18 struct TextBox { struct
22 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() function
30 struct DartConverter<flutter::TextBox> {
31 static Dart_Handle ToDart(const flutter::TextBox& val);
35 struct DartListFactory<flutter::TextBox> {
Dparagraph.h44 std::vector<TextBox> getRectsForRange(unsigned start,
48 std::vector<TextBox> getRectsForPlaceholders();
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_skia.cc67 std::vector<Paragraph::TextBox> ParagraphSkia::GetRectsForRange( in GetRectsForRange()
72 std::vector<skt::TextBox> skia_boxes = paragraph_->getRectsForRange( in GetRectsForRange()
76 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange()
77 for (const skt::TextBox skia_box : skia_boxes) { in GetRectsForRange()
85 std::vector<Paragraph::TextBox> ParagraphSkia::GetRectsForPlaceholders() { in GetRectsForPlaceholders()
Dparagraph_skia.h53 std::vector<TextBox> GetRectsForRange(
59 std::vector<TextBox> GetRectsForPlaceholders() override;
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dparagraph_test.dart5 import 'dart:ui' as ui show TextBox;
60 List<ui.TextBox> boxes = paragraph.getBoxesForSelection(
70 expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue);
71 expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue);
264 final List<ui.TextBox> boxes = <ui.TextBox>[
353 final List<ui.TextBox> boxes = paragraph.getBoxesForSelection(
358 expect(boxes[0], const TextBox.fromLTRBD(0.0, 4.0, 10.0, 14.0, TextDirection.ltr));
359 expect(boxes[1], const TextBox.fromLTRBD(10.0, 0.0, 24.0, 14.0, TextDirection.ltr));
360 expect(boxes[2], const TextBox.fromLTRBD(24.0, 0.0, 38.0, 14.0, TextDirection.ltr));
361 expect(boxes[3], const TextBox.fromLTRBD(38.0, 4.0, 48.0, 14.0, TextDirection.ltr));
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph.h77 struct TextBox { struct
81 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() argument
149 virtual std::vector<TextBox> GetRectsForRange(
164 virtual std::vector<TextBox> GetRectsForPlaceholders() = 0;
Dparagraph_txt.cc1537 std::vector<Paragraph::TextBox> ParagraphTxt::GetRectsForRange( in GetRectsForRange()
1544 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange()
1652 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange()
1685 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange()
1709 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange()
1715 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange()
1728 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange()
1743 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange()
1925 std::vector<Paragraph::TextBox> ParagraphTxt::GetRectsForPlaceholders() { in GetRectsForPlaceholders()
1928 std::vector<Paragraph::TextBox> boxes; in GetRectsForPlaceholders()
[all …]
/third_party/typescript/tests/cases/compiler/
Dinheritance1.ts11 class TextBox extends Control { class
33 var t: TextBox;
DinterfaceExtendsClass1.ts11 class TextBox extends Control { class
/third_party/flutter/skia/modules/skparagraph/include/
DDartTypes.h68 struct TextBox { struct
72 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() argument
DParagraph.h42 virtual std::vector<TextBox> getRectsForRange(unsigned start,
/third_party/skia/modules/skparagraph/include/
DParagraph.h44 virtual std::vector<TextBox> getRectsForRange(unsigned start,
49 virtual std::vector<TextBox> getRectsForPlaceholders() = 0;
DDartTypes.h73 struct TextBox { struct
77 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() function
/third_party/skia/modules/skparagraph/src/
DTextLine.h104 …ange, RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle, std::vector<TextBox>& boxes);
105 void getRectsForPlaceholders(std::vector<TextBox>& boxes);
/third_party/flutter/engine/flutter/third_party/txt/tests/
Dparagraph_unittests.cc147 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
245 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
321 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
397 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
471 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
545 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
619 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
694 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
827 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
967 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F()
[all …]

12