Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp39 builder.addStyleRun(0, 2, std::move(paint1), false /* is RTL */); in TEST()
43 builder.addStyleRun(4, 6, std::move(paint2), false /* is RTL */); in TEST()
67 builder.addStyleRun(0, text.size(), std::move(paint), false /* is RTL */); in TEST()
86 builder.addStyleRun(0, helloLength, std::move(paint), false /* is RTL */); in TEST()
89 builder.addStyleRun(helloLength, text.size(), std::move(paint2), false /* is RTL */); in TEST()
110 builder.addStyleRun(0, text.size(), std::move(paint), false /* is RTL */); in TEST()
129 builder.addStyleRun(0, helloLength, std::move(paint), false /* is RTL */); in TEST()
132 builder.addStyleRun(helloLength, text.size(), std::move(paint2), false /* is RTL */); in TEST()
154 builder.addStyleRun(0, text.size(), std::move(paint), false /* is RTL */); in TEST()
225 builder.addStyleRun(0, helloLength, std::move(paint), false /* is RTL */); in TEST()
[all …]
DGreedyLineBreakerTest.cpp82 builder.addStyleRun(0, textBuffer.size(), std::move(paint), false); in doLineBreak()
DOptimalLineBreakerTest.cpp83 builder.addStyleRun(0, textBuffer.size(), std::move(paint), false); in doLineBreak()
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp73 toBuilder(builderPtr)->addStyleRun(start, end, std::move(minikinPaint), isRtl); in nAddStyleRun()
/frameworks/minikin/include/minikin/
DMeasuredText.h223 void addStyleRun(int32_t start, int32_t end, MinikinPaint&& paint, bool isRtl) { in addStyleRun() function