Home
last modified time | relevance | path

Searched refs:NO_EDIT (Results 1 – 16 of 16) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp55 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 …]
DBoundsCacheTest.cpp57 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 …]
DMeasuredTextTest.cpp192 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 …]
DLayoutTest.cpp41 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 …]
DGreedyLineBreakerTest.cpp109 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 …]
DOptimalLineBreakerTest.cpp109 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 …]
DLayoutCoreTest.cpp33 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT); in buildLayout()
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp68 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()
DGreedyLineBreaker.cpp107 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()
DLineBreakerUtil.h89 StartHyphenEdit::NO_EDIT /* start hyphen edit */, in populateHyphenationPoints()
94 EndHyphenEdit::NO_EDIT /* end hyphen edit */, pieces); in populateHyphenationPoints()
DMeasurement.cpp145 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in getBounds()
147 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in getBounds()
DLayout.cpp84 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in doLayoutRunCached()
86 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in doLayoutRunCached()
DLayoutCore.cpp250 (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()
DHyphenator.cpp174 return EndHyphenEdit::NO_EDIT; in editForThisLine()
186 return StartHyphenEdit::NO_EDIT; in editForNextLine()
/frameworks/minikin/include/minikin/
DHyphenator.h76 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/
DMultithreadTest.cpp78 Layout layout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main()
79 EndHyphenEdit::NO_EDIT); in thread_main()