/third_party/skia/modules/skparagraph/src/ |
D | ParagraphStyle.cpp | 24 fTextDirection = TextDirection::kLtr; in ParagraphStyle() 34 return (fTextDirection == TextDirection::kLtr) ? TextAlign::kLeft : TextAlign::kRight; in effective_align() 36 return (fTextDirection == TextDirection::kLtr) ? TextAlign::kRight : TextAlign::kLeft; in effective_align()
|
D | TextLine.cpp | 1012 if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kLtr) { in measureTextInsideOneRun() 1186 fOwner->paragraphStyle().getTextDirection() == TextDirection::kLtr) { in iterateThroughVisualRuns() 1423 } else if (paragraphStyle.getTextDirection() == TextDirection::kLtr && in getRectsForRange() 1484 if (right.direction == TextDirection::kLtr && in getRectsForRange()
|
D | ParagraphImpl.cpp | 419 auto textDirection = fParagraphStyle.getTextDirection() == TextDirection::kLtr in computeCodeUnitProperties() 863 …ffectiveAlign == TextAlign::kJustify && fParagraphStyle.getTextDirection() == TextDirection::kLtr); in formatLines()
|
D | Run.h | 105 …TextDirection getTextDirection() const { return leftToRight() ? TextDirection::kLtr : TextDirectio… in getTextDirection()
|
/third_party/skia/experimental/sktext/samples/ |
D | Text.cpp | 49 TextDirection direction = TextDirection::kLtr) { in drawLine() 99 drawLine(canvas, width, height, line, TextAlign::kLeft, TextDirection::kLtr); in onDrawContent() 101 drawLine(canvas, width, height, line, TextAlign::kRight, TextDirection::kLtr); in onDrawContent() 103 drawLine(canvas, width, height, line, TextAlign::kCenter, TextDirection::kLtr); in onDrawContent() 105 drawLine(canvas, width, height, line, TextAlign::kJustify, TextDirection::kLtr); in onDrawContent()
|
/third_party/skia/experimental/sktext/tests/ |
D | ShapedText.cpp | 51 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 70 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST()
|
D | SelectableText.cpp | 104 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 152 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 194 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 235 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 276 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST()
|
D | WrappedText.cpp | 102 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST() 151 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST()
|
/third_party/skia/experimental/sktext/src/ |
D | Paint.cpp | 10 …return drawText(std::move(text), canvas, TextDirection::kLtr, TextAlign::kLeft, foregroundPaint, b… in drawText() 17 …TextDirection::kLtr, TextAlign::kLeft, foregroundPaint, backgroundPaint, SkString("Roboto"), 14, S… in drawText() 84 auto shapedText = fontResolvedText->shape(unicodeText.get(), TextDirection::kLtr); in layout()
|
D | Text.cpp | 275 …odeText->getUnicode(), text8.c_str(), text8.size(), textDirection == TextDirection::kLtr ? 0 : 1)); in shape()
|
/third_party/skia/experimental/sktext/editor/ |
D | Defaults.h | 13 const TextDirection DEFAULT_TEXT_DIRECTION = TextDirection::kLtr;
|
/third_party/skia/modules/androidkit/src/ |
D | Text.cpp | 35 skia::text::TextDirection::kLtr, skia::text::TextAlign::kLeft, in Text_RenderText()
|
/third_party/skia/modules/skparagraph/include/ |
D | DartTypes.h | 63 kLtr, enumerator
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings_gen.cpp | 93 .value("LTR", para::TextDirection::kLtr) in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/experimental/sktext/include/ |
D | Types.h | 27 kLtr, enumerator
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 1759 paragraph_style.setTextDirection(direction ? TextDirection::kLtr : TextDirection::kRtl); in onDrawContent() 2051 td == TextDirection::kLtr ? "left" : "right", in onDrawContent() 2099 box.direction == TextDirection::kLtr ? "left" : "right"); in onDrawContent() 2112 draw(w, h, TextDirection::kLtr, TextAlign::kRight, "LTR+RIGHT#1234567890"); in onDrawContent() 2113 draw(w, h, TextDirection::kLtr, TextAlign::kRight, "قففغغغغقففغغغغقففغغغ"); in onDrawContent() 2118 draw(w, h, TextDirection::kLtr, TextAlign::kLeft, "LTR+LEFT##1234567890"); in onDrawContent() 2119 draw(w, h, TextDirection::kLtr, TextAlign::kLeft, "قففغغغغقففغغغغقففغغغ"); in onDrawContent()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 2485 paragraph_style.setTextDirection(TextDirection::kLtr); in UNIX_ONLY_TEST() 2533 paragraph_style.setTextDirection(TextDirection::kLtr); in UNIX_ONLY_TEST() 5643 draw("left", TextAlign::kLeft, TextDirection::kLtr); in UNIX_ONLY_TEST() 5644 draw("right", TextAlign::kRight, TextDirection::kLtr); in UNIX_ONLY_TEST() 5645 draw("center", TextAlign::kCenter, TextDirection::kLtr); in UNIX_ONLY_TEST() 5646 draw("justify LTR", TextAlign::kJustify, TextDirection::kLtr); in UNIX_ONLY_TEST() 5929 paragraph_style.setTextDirection(TextDirection::kLtr); in UNIX_ONLY_TEST() 6632 paragraph_style.setTextDirection(TextDirection::kLtr); in UNIX_ONLY_TEST() 6645 boxes[0].direction == TextDirection::kRtl && boxes[1].direction == TextDirection::kLtr); in UNIX_ONLY_TEST() 6690 paragraph_style.setTextDirection(TextDirection::kLtr); in UNIX_ONLY_TEST() [all …]
|