/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 55 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 …]
|
D | LayoutTest.cpp | 52 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 …]
|
D | GreedyLineBreakerTest.cpp | 86 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()
|
D | LineBreakerTestHelper.h | 69 StartHyphenEdit start, EndHyphenEdit end, float*, in measureHyphenPiece() 89 EndHyphenEdit endEdit) in LineBreakExpectation() 95 EndHyphenEdit mEndEdit; 164 const EndHyphenEdit endEdit = endHyphenEdit(edit); in toString()
|
D | OptimalLineBreakerTest.cpp | 95 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/ |
D | Hyphenator.h | 73 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 …]
|
D | 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);
|
D | MeasuredText.h | 65 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,
|
D | LayoutPieces.h | 43 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, const Layout& layout) { in insert() 55 bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, F& f) const { in getOrCreate()
|
D | LayoutCache.h | 33 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/ |
D | GreedyLineBreaker.cpp | 58 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()
|
D | Hyphenator.cpp | 158 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()
|
D | Layout.cpp | 230 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 …]
|
D | MeasuredText.cpp | 60 StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, in buildLayout()
|
D | LineBreakerUtil.h | 98 EndHyphenEdit::NO_EDIT /* end hyphen edit */, in populateHyphenationPoints()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 60 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit); in doLayout() 78 const minikin::EndHyphenEdit endHyphen = minikin::endHyphenEdit(hyphenEdit); in measureText()
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 79 EndHyphenEdit::NO_EDIT); in thread_main()
|