Home
last modified time | relevance | path

Searched refs:kRtl (Results 1 – 10 of 10) sorted by relevance

/external/skia/experimental/sktext/samples/
DText.cpp57 …Processor::drawText(direction == TextDirection::kRtl ? mirror(text).c_str() : normal(text).c_str(), in drawLine()
105 drawLine(canvas, width, height, line, TextAlign::kLeft, TextDirection::kRtl); in onDrawContent()
107 drawLine(canvas, width, height, line, TextAlign::kRight, TextDirection::kRtl); in onDrawContent()
109 drawLine(canvas, width, height, line, TextAlign::kCenter, TextDirection::kRtl); in onDrawContent()
111 drawLine(canvas, width, height, line, TextAlign::kJustify, TextDirection::kRtl); in onDrawContent()
/external/skia/modules/skparagraph/include/
DDartTypes.h61 kRtl, enumerator
/external/skia/experimental/sktext/include/
DTypes.h22 kRtl, enumerator
/external/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp94 .value("RTL", para::TextDirection::kRtl); in EMSCRIPTEN_BINDINGS()
Dparagraph_bindings.cpp266 if (boxes[i].direction == para::TextDirection::kRtl) { in TextBoxesToFloat32Array()
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp1384 paragraph_style.setTextDirection(TextDirection::kRtl); in onDrawContent()
1756 paragraph_style.setTextDirection(direction ? TextDirection::kLtr : TextDirection::kRtl); in onDrawContent()
1842 paragraph_style.setTextDirection(TextDirection::kRtl); in onDrawContent()
2104 draw(w, h, TextDirection::kRtl, TextAlign::kRight, "RTL+RIGHT#1234567890"); in onDrawContent()
2105 draw(w, h, TextDirection::kRtl, TextAlign::kRight, "قففغغغغقففغغغغقففغغغ"); in onDrawContent()
2110 draw(w, h, TextDirection::kRtl, TextAlign::kLeft, "RTL+LEFT##1234567890"); in onDrawContent()
2111 draw(w, h, TextDirection::kRtl, TextAlign::kLeft, "قففغغغغقففغغغغقففغغغ"); in onDrawContent()
2198 … rf1.rect.fLeft, rf1.rect.fRight, rf1.direction == TextDirection::kRtl ? "rtl" : "ltr"); in onDrawContent()
2207 … rf2.rect.fLeft, rf2.rect.fRight, rf2.direction == TextDirection::kRtl ? "rtl" : "ltr"); in onDrawContent()
2216 … rfi.rect.fLeft, rfi.rect.fRight, rfi.direction == TextDirection::kRtl ? "rtl" : "ltr"); in onDrawContent()
[all …]
/external/skia/fuzz/
DFuzzSkParagraph.cpp233 fuzz->nextEnum(&td, TextDirection::kRtl); in BuildParagraphStyle()
/external/skia/modules/skparagraph/src/
DTextLine.cpp252 } else if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kRtl) { in format()
1056 } else if (paragraphStyle.getTextDirection() == TextDirection::kRtl && in getRectsForRange()
1119 if (left.rect.fLeft > lineStart && left.direction == TextDirection::kRtl) { in getRectsForRange()
DRun.h96 …tion getTextDirection() const { return leftToRight() ? TextDirection::kLtr : TextDirection::kRtl; } in getTextDirection()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp1916 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()
1980 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST_DISABLED()
2047 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST_DISABLED()
2370 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()
5764 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()
5959 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()
6152 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()
6196 paragraph_style.setTextDirection(TextDirection::kRtl); in DEF_TEST()