/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 | BoundsCacheTest.cpp | 57 boundsCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 58 EndHyphenEdit::NO_EDIT, bounds1); in TEST() 61 boundsCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST() 62 EndHyphenEdit::NO_EDIT, bounds2); in TEST() 81 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds1); in TEST() 83 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds2); in TEST() 90 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds1); in TEST() 92 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds2); in TEST() 102 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds1); in TEST() 107 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, bounds2); in TEST() [all …]
|
D | MeasuredTextTest.cpp | 192 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in TEST() 195 layout = mt->buildLayout(text, Range(0, 1), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 196 EndHyphenEdit::NO_EDIT); in TEST() 204 getBounds(text, Range(0, 1), Bidi::LTR, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 205 EndHyphenEdit::NO_EDIT, &rect); in TEST() 208 layout = mt->buildLayout(text, Range(0, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 209 EndHyphenEdit::NO_EDIT); in TEST() 220 getBounds(text, Range(0, 2), Bidi::LTR, samePaint, StartHyphenEdit::NO_EDIT, in TEST() 221 EndHyphenEdit::NO_EDIT, &rect); in TEST() 224 layout = mt->buildLayout(text, Range(1, 2), fullContext, samePaint, StartHyphenEdit::NO_EDIT, in TEST() [all …]
|
D | LayoutTest.cpp | 41 getBounds(text, Range(0, text.size()), bidiFlags, paint, StartHyphenEdit::NO_EDIT, in getBounds() 42 EndHyphenEdit::NO_EDIT, out); in getBounds() 71 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 72 EndHyphenEdit::NO_EDIT); in TEST_F() 90 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 91 EndHyphenEdit::NO_EDIT); in TEST_F() 109 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 110 EndHyphenEdit::NO_EDIT); in TEST_F() 128 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() 129 EndHyphenEdit::NO_EDIT); in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 109 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, nullptr); in TEST_F() 127 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 128 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 334 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 336 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 609 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 610 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 656 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F() 657 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F() 694 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::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() 249 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, paintId, in getBounds() 279 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, paintId, in getExtent() 297 targetRange.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in buildLayout() 299 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 | Measurement.cpp | 145 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in getBounds() 147 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in getBounds()
|
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()
|