Home
last modified time | relevance | path

Searched refs:addStyleRun (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp42 builder.addStyleRun(0, 2, std::move(paint1), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
46 builder.addStyleRun(4, 6, std::move(paint2), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
72 builder.addStyleRun(0, text.size(), std::move(paint), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
92 builder.addStyleRun(0, text.size(), std::move(paint), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
108 builder.addStyleRun(0, text.size(), std::move(paint), lbStyle, lbWordStyle, true /* is RTL */); in TEST()
125 builder.addStyleRun(0, helloLength, std::move(paint), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
128 builder.addStyleRun(helloLength, text.size(), std::move(paint2), lbStyle, lbWordStyle, in TEST()
152 builder.addStyleRun(0, text.size(), std::move(paint), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
173 builder.addStyleRun(0, helloLength, std::move(paint), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
176 builder.addStyleRun(helloLength, text.size(), std::move(paint2), 0 /* no line break */, in TEST()
[all …]
DGreedyLineBreakerTest.cpp82 builder.addStyleRun(0, textBuffer.size(), std::move(paint), (int)LineBreakStyle::None, in doLineBreak()
112 builder.addStyleRun(0, textBuffer.size(), std::move(paint), (int)LineBreakStyle::None, in TEST_F()
DOptimalLineBreakerTest.cpp78 builder.addStyleRun(0, textBuffer.size(), std::move(paint), 0, 0, false); in doLineBreak()
1861 builder.addStyleRun(0, textBuffer.size(), std::move(paint), 0, 0, false); in TEST_F()
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp74 ->addStyleRun(start, end, std::move(minikinPaint), lbStyle, lbWordStyle, isRtl); in nAddStyleRun()
/frameworks/minikin/include/minikin/
DMeasuredText.h251 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, int lineBreakStyle, in addStyleRun() function