Home
last modified time | relevance | path

Searched refs:StartHyphenEdit (Results 1 – 17 of 17) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp54 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, in TEST()
58 layoutCache.getOrCreate(text, range, paint, false /* LTR */, StartHyphenEdit::NO_EDIT, 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()
101 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST()
103 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST()
[all …]
DLayoutTest.cpp51 layout.doLayout(utf16, range, Bidi::FORCE_LTR, paint, StartHyphenEdit::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()
115 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
135 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
155 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
191 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
211 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
235 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
257 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
[all …]
DGreedyLineBreakerTest.cpp85 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
293 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
567 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
569 constexpr StartHyphenEdit START_HYPHEN = StartHyphenEdit::INSERT_HYPHEN; in TEST_F()
615 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
653 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
683 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
732 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
764 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
817 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
DLineBreakerTestHelper.h69 StartHyphenEdit start, EndHyphenEdit end, float*, in measureHyphenPiece()
88 LineBreakExpectation(const std::string& lineContent, float width, StartHyphenEdit startEdit, in LineBreakExpectation()
94 StartHyphenEdit mStartEdit;
163 const StartHyphenEdit startEdit = startHyphenEdit(edit); in toString()
DOptimalLineBreakerTest.cpp94 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
830 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
832 constexpr StartHyphenEdit START_HYPHEN = StartHyphenEdit::INSERT_HYPHEN; in TEST_F()
882 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
924 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
957 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
1004 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
1075 constexpr StartHyphenEdit NO_START_HYPHEN = StartHyphenEdit::NO_EDIT; in TEST_F()
/frameworks/minikin/include/minikin/
DHyphenator.h86 enum class StartHyphenEdit : uint8_t { enum
100 inline HyphenEdit packHyphenEdit(StartHyphenEdit start, EndHyphenEdit end) { in packHyphenEdit()
108 inline StartHyphenEdit startHyphenEdit(HyphenEdit hyphenEdit) { in startHyphenEdit()
109 return static_cast<StartHyphenEdit>(hyphenEdit >> START_BITS_SHIFT); in startHyphenEdit()
116 inline bool isInsertion(StartHyphenEdit hyph) { in isInsertion()
117 return hyph != StartHyphenEdit::NO_EDIT; in isInsertion()
137 inline std::pair<const uint32_t*, size_t> getHyphenString(StartHyphenEdit hyph) { in getHyphenString()
138 if (hyph == StartHyphenEdit::INSERT_ZWJ) { in getHyphenString()
140 } else if (hyph == StartHyphenEdit::INSERT_HYPHEN) { in getHyphenString()
168 StartHyphenEdit editForNextLine(HyphenationType type);
DLayout.h89 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen);
93 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
102 const MinikinPaint& paint, StartHyphenEdit startHyphen,
165 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
173 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
179 const MinikinPaint& paint, StartHyphenEdit startHyphen,
DMeasuredText.h64 StartHyphenEdit /* startHyphen */, in measureHyphenPiece() argument
88 Layout::measureText(text, mRange, bidiFlag, mPaint, StartHyphenEdit::NO_EDIT, in getMetrics()
101 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, float* advances, in measureHyphenPiece()
183 Bidi bidiFlag, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
DLayoutPieces.h43 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, const Layout& layout) { in insert()
55 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, F& f) const { in getOrCreate()
DLayoutCache.h33 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen) in LayoutCacheKey()
99 StartHyphenEdit mStartHyphen;
139 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, F& f) { in getOrCreate()
/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp57 BreakPoint(uint32_t offset, float lineWidth, StartHyphenEdit startHyphen, in BreakPoint()
75 StartHyphenEdit nextLineStartHyphen);
106 StartHyphenEdit mStartHyphenEdit = StartHyphenEdit::NO_EDIT;
133 StartHyphenEdit nextLineStartHyphen) { in breakLineAt()
158 StartHyphenEdit::NO_EDIT); // No hyphen modification. in tryLineBreakWithWordBreak()
214 const StartHyphenEdit nextLineStartHyphenEdit = editForNextLine(hyph); in tryLineBreakWithHyphenation()
243 const StartHyphenEdit nextLineStartHyphenEdit = editForNextLine(hyph); 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()
350 StartHyphenEdit::NO_EDIT); in process()
DLayout.cpp229 const MinikinPaint& paint, StartHyphenEdit startHyphen, in doLayout()
245 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutWithPrecomputedPieces()
267 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, &pieces, in getBoundsWithPrecomputedPieces()
274 const MinikinPaint& paint, StartHyphenEdit startHyphen, in measureText()
291 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutRunCached()
314 iter == start ? startHyphen : StartHyphenEdit::NO_EDIT, in doLayoutRunCached()
332 wordstart <= start ? startHyphen : StartHyphenEdit::NO_EDIT, in doLayoutRunCached()
345 const MinikinPaint& paint, bool dir, StartHyphenEdit startEdit, in LayoutAppendFunctor()
390 StartHyphenEdit mStartEdit;
404 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutWord()
[all …]
DHyphenator.cpp178 StartHyphenEdit editForNextLine(HyphenationType type) { in editForNextLine()
181 return StartHyphenEdit::INSERT_HYPHEN; in editForNextLine()
183 return StartHyphenEdit::INSERT_ZWJ; in editForNextLine()
186 return StartHyphenEdit::NO_EDIT; in editForNextLine()
DMeasuredText.cpp60 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in buildLayout()
DLineBreakerUtil.h93 StartHyphenEdit::NO_EDIT /* start hyphen edit */, in populateHyphenationPoints()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp59 const minikin::StartHyphenEdit startHyphen = minikin::startHyphenEdit(hyphenEdit); in doLayout()
77 const minikin::StartHyphenEdit startHyphen = minikin::startHyphenEdit(hyphenEdit); in measureText()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp78 layout.doLayout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main()