Home
last modified time | relevance | path

Searched refs:kLtr (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DParagraphStyle.cpp24 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()
DTextLine.cpp1012 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()
DParagraphImpl.cpp419 auto textDirection = fParagraphStyle.getTextDirection() == TextDirection::kLtr in computeCodeUnitProperties()
863 …ffectiveAlign == TextAlign::kJustify && fParagraphStyle.getTextDirection() == TextDirection::kLtr); in formatLines()
DRun.h105 …TextDirection getTextDirection() const { return leftToRight() ? TextDirection::kLtr : TextDirectio… in getTextDirection()
/third_party/skia/experimental/sktext/samples/
DText.cpp49 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/
DShapedText.cpp51 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST()
70 auto shapedText = fontResolvedText->shape(&unicodeText, TextDirection::kLtr); in UNIX_ONLY_TEST()
DSelectableText.cpp104 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()
DWrappedText.cpp102 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/
DPaint.cpp10 …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()
DText.cpp275 …odeText->getUnicode(), text8.c_str(), text8.size(), textDirection == TextDirection::kLtr ? 0 : 1)); in shape()
/third_party/skia/experimental/sktext/editor/
DDefaults.h13 const TextDirection DEFAULT_TEXT_DIRECTION = TextDirection::kLtr;
/third_party/skia/modules/androidkit/src/
DText.cpp35 skia::text::TextDirection::kLtr, skia::text::TextAlign::kLeft, in Text_RenderText()
/third_party/skia/modules/skparagraph/include/
DDartTypes.h63 kLtr, enumerator
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp93 .value("LTR", para::TextDirection::kLtr) in EMSCRIPTEN_BINDINGS()
/third_party/skia/experimental/sktext/include/
DTypes.h27 kLtr, enumerator
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp1759 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/
DSkParagraphTest.cpp2485 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 …]