/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 54 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 55 EndHyphenEdit::NO_EDIT, layout1); in TEST() 58 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 59 EndHyphenEdit::NO_EDIT, layout2); in TEST() 77 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 79 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() 85 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 87 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() 93 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST() 95 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST() [all …]
|
D | LayoutTest.cpp | 51 layout.doLayout(utf16, range, Bidi::FORCE_LTR, paint, StartHyphenEdit::NO_EDIT, in doLayout() 52 EndHyphenEdit::NO_EDIT); in doLayout() 62 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, pieces); in doLayoutWithPrecomputedPieces() 95 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 96 EndHyphenEdit::NO_EDIT); in TEST_F() 115 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 116 EndHyphenEdit::NO_EDIT); in TEST_F() 135 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 136 EndHyphenEdit::NO_EDIT); in TEST_F() 155 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 85 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 86 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 293 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 295 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 567 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 568 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 615 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 616 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 653 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 654 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() [all …]
|
D | OptimalLineBreakerTest.cpp | 94 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 95 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 830 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 831 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 882 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 883 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 924 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 925 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 957 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 958 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | GreedyLineBreaker.cpp | 106 StartHyphenEdit mStartHyphenEdit = StartHyphenEdit::NO_EDIT; 157 mSumOfCharWidths - mSumOfCharWidthsAtPrevWordBoundary, EndHyphenEdit::NO_EDIT, in tryLineBreakWithWordBreak() 158 StartHyphenEdit::NO_EDIT); // No hyphen modification. in tryLineBreakWithWordBreak() 217 EndHyphenEdit::NO_EDIT, nullptr /* advances */, nullptr); in tryLineBreakWithHyphenation() 246 EndHyphenEdit::NO_EDIT, nullptr /* advances */, nullptr); in tryLineBreakWithHyphenation() 268 EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 280 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 349 breakLineAt(mPrevWordBoundsOffset, mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, in process() 350 StartHyphenEdit::NO_EDIT); in process()
|
D | Layout.cpp | 267 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, &pieces, in getBoundsWithPrecomputedPieces() 314 iter == start ? startHyphen : StartHyphenEdit::NO_EDIT, in doLayoutRunCached() 315 wordend >= end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn, in doLayoutRunCached() 332 wordstart <= start ? startHyphen : StartHyphenEdit::NO_EDIT, in doLayoutRunCached() 333 iter == end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn, layout, in doLayoutRunCached() 488 (scriptRunStart == 0) ? inStartHyphen : StartHyphenEdit::NO_EDIT; in addToHbBuffer() 491 (static_cast<size_t>(scriptRunEnd) == count) ? inEndHyphen : EndHyphenEdit::NO_EDIT; in addToHbBuffer() 527 if (startHyphen == StartHyphenEdit::NO_EDIT) { in addToHbBuffer() 538 if (endHyphen == EndHyphenEdit::NO_EDIT) { in addToHbBuffer()
|
D | LineBreakerUtil.h | 93 StartHyphenEdit::NO_EDIT /* start hyphen edit */, in populateHyphenationPoints() 98 EndHyphenEdit::NO_EDIT /* end hyphen edit */, in populateHyphenationPoints()
|
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()
|
D | MeasuredText.h | 88 Layout::measureText(text, mRange, bidiFlag, mPaint, StartHyphenEdit::NO_EDIT, in getMetrics() 89 EndHyphenEdit::NO_EDIT, advances, extents, pieces); in getMetrics()
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 78 layout.doLayout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main() 79 EndHyphenEdit::NO_EDIT); in thread_main()
|