/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 30 static LayoutPiece buildLayout(const std::string& text, const MinikinPaint& paint) { in buildLayout() function 36 static LayoutPiece buildLayout(const std::string& text, const std::vector<std::string>& fonts) { in buildLayout() function 44 return buildLayout(text, paint); in buildLayout() 47 static LayoutPiece buildLayout(const std::string& text, const std::vector<std::string>& fonts, in buildLayout() function 57 return buildLayout(text, paint); in buildLayout() 74 auto layout = buildLayout("I", {"LayoutTestFont.ttf"}); in TEST() 86 auto layout = buildLayout("II", {"LayoutTestFont.ttf"}); in TEST() 102 auto layout = buildLayout("IV", {"LayoutTestFont.ttf"}); in TEST() 129 auto layout = buildLayout("I\u3042", {"LayoutTestFont.ttf", "Hiragana.ttf"}); in TEST() 145 auto layout = buildLayout("\u3042I", {"LayoutTestFont.ttf", "Hiragana.ttf"}); in TEST() [all …]
|
D | MeasuredTextTest.cpp | 161 Layout layout = mt->buildLayout(text, Range(0, 0), fullContext, samePaint, in TEST() 165 layout = mt->buildLayout(text, Range(0, 1), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 176 layout = mt->buildLayout(text, Range(0, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 190 layout = mt->buildLayout(text, Range(1, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 201 layout = mt->buildLayout(text, Range(0, text.size()), fullContext, samePaint, in TEST() 235 Layout layout = mt->buildLayout(text, Range(0, 0), fullContext, samePaint, in TEST() 239 layout = mt->buildLayout(text, Range(0, 1), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 250 layout = mt->buildLayout(text, Range(0, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 264 layout = mt->buildLayout(text, Range(1, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 275 layout = mt->buildLayout(text, Range(7, 7), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 68 return mt->buildLayout(textBuf, range, contextRange, minikinPaint, startHyphen, endHyphen); in doLayout()
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 194 Layout buildLayout(const U16StringPiece& textBuf, const Range& range, const Range& contextRange,
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 276 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout() function in minikin::MeasuredText
|