/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 55 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 56 EndHyphenEdit::NO_EDIT, layout1); in TEST() 59 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 60 EndHyphenEdit::NO_EDIT, layout2); in TEST() 78 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 80 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() 86 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 88 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() 94 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 96 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() [all …]
|
D | LayoutTest.cpp | 64 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 65 EndHyphenEdit::NO_EDIT); in TEST_F() 82 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 83 EndHyphenEdit::NO_EDIT); in TEST_F() 100 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 101 EndHyphenEdit::NO_EDIT); in TEST_F() 118 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 119 EndHyphenEdit::NO_EDIT); in TEST_F() 148 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 149 EndHyphenEdit::NO_EDIT); in TEST_F() [all …]
|
D | MeasuredTextTest.cpp | 162 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in TEST() 165 layout = mt->buildLayout(text, Range(0, 1), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 166 EndHyphenEdit::NO_EDIT); in TEST() 176 layout = mt->buildLayout(text, Range(0, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 177 EndHyphenEdit::NO_EDIT); in TEST() 190 layout = mt->buildLayout(text, Range(1, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 191 EndHyphenEdit::NO_EDIT); in TEST() 202 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in TEST() 236 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in TEST() 239 layout = mt->buildLayout(text, Range(0, 1), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() [all …]
|
D | GreedyLineBreakerTest.cpp | 100 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 101 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 307 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 309 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 582 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 583 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 629 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 630 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 667 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 668 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() [all …]
|
D | OptimalLineBreakerTest.cpp | 109 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 110 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 844 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 845 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 895 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 896 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 934 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 935 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 981 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 982 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() [all …]
|
D | LayoutCoreTest.cpp | 33 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in buildLayout()
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 68 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, compositor); in getMetrics() 71 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, paintId, in getMetrics() 114 piece.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in measureHyphenPiece() 116 piece.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in measureHyphenPiece() 195 range.getStart() == piece.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in appendLayout() 197 range.getEnd() == piece.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in appendLayout() 239 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, paintId, in getBounds() 269 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, paintId, in getExtent() 287 targetRange.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in buildLayout() 289 targetRange.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in buildLayout()
|
D | GreedyLineBreaker.cpp | 107 StartHyphenEdit mStartHyphenEdit = StartHyphenEdit::NO_EDIT; 158 mSumOfCharWidths - mSumOfCharWidthsAtPrevWordBoundary, EndHyphenEdit::NO_EDIT, in tryLineBreakWithWordBreak() 159 StartHyphenEdit::NO_EDIT); // No hyphen modification. in tryLineBreakWithWordBreak() 218 EndHyphenEdit::NO_EDIT, nullptr); in tryLineBreakWithHyphenation() 247 EndHyphenEdit::NO_EDIT, nullptr); in tryLineBreakWithHyphenation() 269 EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 281 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 356 breakLineAt(mPrevWordBoundsOffset, mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, in process() 357 StartHyphenEdit::NO_EDIT); in process()
|
D | LineBreakerUtil.h | 89 StartHyphenEdit::NO_EDIT /* start hyphen edit */, in populateHyphenationPoints() 94 EndHyphenEdit::NO_EDIT /* end hyphen edit */, pieces); in populateHyphenationPoints()
|
D | Layout.cpp | 84 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in doLayoutRunCached() 86 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in doLayoutRunCached()
|
D | LayoutCore.cpp | 250 (scriptRunStart == 0) ? inStartHyphen : StartHyphenEdit::NO_EDIT; in addToHbBuffer() 253 (static_cast<size_t>(scriptRunEnd) == count) ? inEndHyphen : EndHyphenEdit::NO_EDIT; in addToHbBuffer() 289 if (startHyphen == StartHyphenEdit::NO_EDIT) { in addToHbBuffer() 300 if (endHyphen == EndHyphenEdit::NO_EDIT) { in addToHbBuffer()
|
D | Hyphenator.cpp | 174 return EndHyphenEdit::NO_EDIT; in editForThisLine() 186 return StartHyphenEdit::NO_EDIT; in editForNextLine()
|
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 76 NO_EDIT = 0b000, enumerator 87 NO_EDIT = 0b00, enumerator 117 return hyph != StartHyphenEdit::NO_EDIT; in isInsertion() 160 case EndHyphenEdit::NO_EDIT: in getHyphenString()
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 78 Layout layout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main() 79 EndHyphenEdit::NO_EDIT); in thread_main()
|