Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp55 EndHyphenEdit::NO_EDIT, layout1); 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()
101 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1); in TEST()
103 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2); in TEST()
[all …]
DLayoutTest.cpp52 EndHyphenEdit::NO_EDIT); in doLayout()
62 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, pieces); in doLayoutWithPrecomputedPieces()
96 EndHyphenEdit::NO_EDIT); in TEST_F()
116 EndHyphenEdit::NO_EDIT); in TEST_F()
136 EndHyphenEdit::NO_EDIT); in TEST_F()
156 EndHyphenEdit::NO_EDIT); in TEST_F()
192 EndHyphenEdit::NO_EDIT); in TEST_F()
212 EndHyphenEdit::NO_EDIT); in TEST_F()
236 EndHyphenEdit::NO_EDIT); in TEST_F()
258 EndHyphenEdit::NO_EDIT); in TEST_F()
[all …]
DGreedyLineBreakerTest.cpp86 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
294 constexpr EndHyphenEdit END_HYPHEN = EndHyphenEdit::INSERT_HYPHEN; in TEST_F()
295 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
568 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
616 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
654 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
684 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
733 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
765 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
818 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
DLineBreakerTestHelper.h69 StartHyphenEdit start, EndHyphenEdit end, float*, in measureHyphenPiece()
89 EndHyphenEdit endEdit) in LineBreakExpectation()
95 EndHyphenEdit mEndEdit;
164 const EndHyphenEdit endEdit = endHyphenEdit(edit); in toString()
DOptimalLineBreakerTest.cpp95 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
96 constexpr EndHyphenEdit END_HYPHEN = EndHyphenEdit::INSERT_HYPHEN; in TEST_F()
831 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
883 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
925 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
958 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
1005 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
1076 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT; in TEST_F()
/frameworks/minikin/include/minikin/
DHyphenator.h73 enum class EndHyphenEdit : uint8_t { enum
100 inline HyphenEdit packHyphenEdit(StartHyphenEdit start, EndHyphenEdit end) { in packHyphenEdit()
104 inline EndHyphenEdit endHyphenEdit(HyphenEdit hyphenEdit) { in endHyphenEdit()
105 return static_cast<EndHyphenEdit>(hyphenEdit & MASK_END_OF_LINE); in endHyphenEdit()
112 inline bool isReplacement(EndHyphenEdit hyph) { in isReplacement()
113 return hyph == EndHyphenEdit::REPLACE_WITH_HYPHEN; in isReplacement()
120 inline bool isInsertion(EndHyphenEdit hyph) { in isInsertion()
121 return static_cast<uint8_t>(hyph) >= static_cast<uint8_t>(EndHyphenEdit::INSERT_HYPHEN); in isInsertion()
147 inline std::pair<const uint32_t*, size_t> getHyphenString(EndHyphenEdit hyph) { in getHyphenString()
149 case EndHyphenEdit::REPLACE_WITH_HYPHEN: // fall through in getHyphenString()
[all …]
DLayout.h89 const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen);
93 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
103 EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents,
165 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
173 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
180 EndHyphenEdit endHyphen);
DMeasuredText.h65 EndHyphenEdit /* endHyphen */, float* /* advances */, in measureHyphenPiece() argument
89 EndHyphenEdit::NO_EDIT, advances, extents, pieces); 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()
100 EndHyphenEdit mEndHyphen;
139 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, F& f) { in getOrCreate()
/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp58 EndHyphenEdit endHyphen) in BreakPoint()
74 float remainingNextSumOfCharWidths, EndHyphenEdit thisLineEndHyphen,
132 EndHyphenEdit thisLineEndHyphen, in breakLineAt()
157 mSumOfCharWidths - mSumOfCharWidthsAtPrevWordBoundary, EndHyphenEdit::NO_EDIT, 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()
DHyphenator.cpp158 EndHyphenEdit editForThisLine(HyphenationType type) { in editForThisLine()
161 return EndHyphenEdit::INSERT_HYPHEN; in editForThisLine()
163 return EndHyphenEdit::INSERT_ARMENIAN_HYPHEN; in editForThisLine()
165 return EndHyphenEdit::INSERT_MAQAF; in editForThisLine()
167 return EndHyphenEdit::INSERT_UCAS_HYPHEN; in editForThisLine()
169 return EndHyphenEdit::REPLACE_WITH_HYPHEN; in editForThisLine()
171 return EndHyphenEdit::INSERT_ZWJ_AND_HYPHEN; in editForThisLine()
174 return EndHyphenEdit::NO_EDIT; in editForThisLine()
DLayout.cpp230 EndHyphenEdit endHyphen) { in doLayout()
245 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutWithPrecomputedPieces()
267 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, &pieces, in getBoundsWithPrecomputedPieces()
275 EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents, in measureText()
291 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutRunCached()
315 wordend >= end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn, in doLayoutRunCached()
333 iter == end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn, layout, in doLayoutRunCached()
346 EndHyphenEdit endEdit, Layout* layout, float* advances, in LayoutAppendFunctor()
391 EndHyphenEdit mEndEdit;
404 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in doLayoutWord()
[all …]
DMeasuredText.cpp60 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in buildLayout()
DLineBreakerUtil.h98 EndHyphenEdit::NO_EDIT /* end hyphen edit */, in populateHyphenationPoints()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp60 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit); in doLayout()
78 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit); in measureText()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp79 EndHyphenEdit::NO_EDIT); in thread_main()