HomeSort by relevance Sort by last modified time
    Searched refs:EndHyphenEdit (Results 1 - 17 of 17) sorted by null

  /frameworks/minikin/include/minikin/
Hyphenator.h 73 enum class EndHyphenEdit : uint8_t {
100 inline HyphenEdit packHyphenEdit(StartHyphenEdit start, EndHyphenEdit end) {
104 inline EndHyphenEdit endHyphenEdit(HyphenEdit hyphenEdit) {
105 return static_cast<EndHyphenEdit>(hyphenEdit & MASK_END_OF_LINE);
112 inline bool isReplacement(EndHyphenEdit hyph) {
113 return hyph == EndHyphenEdit::REPLACE_WITH_HYPHEN;
120 inline bool isInsertion(EndHyphenEdit hyph) {
121 return static_cast<uint8_t>(hyph) >= static_cast<uint8_t>(EndHyphenEdit::INSERT_HYPHEN);
147 inline std::pair<const uint32_t*, size_t> getHyphenString(EndHyphenEdit hyph)
    [all...]
Layout.h 89 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);
LayoutPieces.h 43 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, const Layout& layout) {
55 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, F& f) const {
MeasuredText.h 65 EndHyphenEdit /* endHyphen */, float* /* advances */,
89 EndHyphenEdit::NO_EDIT, advances, extents, pieces);
101 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, float* advances,
183 Bidi bidiFlag, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
LayoutCache.h 33 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen)
100 EndHyphenEdit mEndHyphen;
139 bool dir, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, F& f) {
  /frameworks/minikin/tests/unittest/
LayoutCacheTest.cpp 55 EndHyphenEdit::NO_EDIT, layout1);
59 EndHyphenEdit::NO_EDIT, layout2);
77 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1);
79 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2);
85 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1);
87 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2);
93 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1);
95 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2);
101 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout1);
103 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, layout2)
    [all...]
LayoutTest.cpp 52 EndHyphenEdit::NO_EDIT);
62 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, pieces);
96 EndHyphenEdit::NO_EDIT);
116 EndHyphenEdit::NO_EDIT);
136 EndHyphenEdit::NO_EDIT);
156 EndHyphenEdit::NO_EDIT);
192 EndHyphenEdit::NO_EDIT);
212 EndHyphenEdit::NO_EDIT);
236 EndHyphenEdit::NO_EDIT);
258 EndHyphenEdit::NO_EDIT)
    [all...]
LineBreakerTestHelper.h 69 StartHyphenEdit start, EndHyphenEdit end, float*,
89 EndHyphenEdit endEdit)
95 EndHyphenEdit mEndEdit;
134 if (expected[i].mEndEdit != endHyphenEdit(edit)) {
164 const EndHyphenEdit endEdit = endHyphenEdit(edit);
GreedyLineBreakerTest.cpp 86 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT;
294 constexpr EndHyphenEdit END_HYPHEN = EndHyphenEdit::INSERT_HYPHEN;
295 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT;
568 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT;
616 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT
    [all...]
OptimalLineBreakerTest.cpp 95 constexpr EndHyphenEdit NO_END_HYPHEN = EndHyphenEdit::NO_EDIT;
96 constexpr EndHyphenEdit END_HYPHEN = EndHyphenEdit::INSERT_HYPHEN;
    [all...]
  /frameworks/minikin/libs/minikin/
GreedyLineBreaker.cpp 58 EndHyphenEdit endHyphen)
74 float remainingNextSumOfCharWidths, EndHyphenEdit thisLineEndHyphen,
132 EndHyphenEdit thisLineEndHyphen,
157 mSumOfCharWidths - mSumOfCharWidthsAtPrevWordBoundary, EndHyphenEdit::NO_EDIT,
217 EndHyphenEdit::NO_EDIT, nullptr /* advances */, nullptr);
246 EndHyphenEdit::NO_EDIT, nullptr /* advances */, nullptr);
268 EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT);
280 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT);
349 breakLineAt(mPrevWordBoundsOffset, mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT,
Hyphenator.cpp 158 EndHyphenEdit editForThisLine(HyphenationType type) {
161 return EndHyphenEdit::INSERT_HYPHEN;
163 return EndHyphenEdit::INSERT_ARMENIAN_HYPHEN;
165 return EndHyphenEdit::INSERT_MAQAF;
167 return EndHyphenEdit::INSERT_UCAS_HYPHEN;
169 return EndHyphenEdit::REPLACE_WITH_HYPHEN;
171 return EndHyphenEdit::INSERT_ZWJ_AND_HYPHEN;
174 return EndHyphenEdit::NO_EDIT;
Layout.cpp 230 EndHyphenEdit endHyphen) {
245 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
267 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, &pieces,
275 EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents,
291 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
315 wordend >= end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn,
333 iter == end ? endHyphen : EndHyphenEdit::NO_EDIT, lpIn, layout,
346 EndHyphenEdit endEdit, Layout* layout, float* advances,
391 EndHyphenEdit mEndEdit;
404 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen
    [all...]
MeasuredText.cpp 60 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
LineBreakerUtil.h 98 EndHyphenEdit::NO_EDIT /* end hyphen edit */,
  /frameworks/base/libs/hwui/hwui/
MinikinUtils.cpp 60 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit);
78 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit);
  /frameworks/minikin/tests/stresstest/
MultithreadTest.cpp 79 EndHyphenEdit::NO_EDIT);

Completed in 298 milliseconds