/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 45 std::vector<Run> itemize(U16StringPiece text, FontStyle style, uint32_t localeListId, 49 std::vector<Run> itemize(U16StringPiece text, FontStyle style, uint32_t localeListId, in itemize() argument 51 return itemize(text, style, localeListId, familyVariant, text.size()); in itemize() 89 uint32_t localeListId, 92 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, uint32_t localeListId, 95 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
|
D | MinikinPaint.h | 57 localeListId(0), in MinikinPaint() 70 uint32_t localeListId; member 87 fontFlags == paint.fontFlags && localeListId == paint.localeListId && 100 .update(localeListId) in hash()
|
D | MeasuredText.h | 90 uint32_t getLocaleListId() const override { return mPaint.localeListId; } in getLocaleListId() 120 ReplacementRun(const Range& range, float width, uint32_t localeListId) in ReplacementRun() argument 121 : Run(range), mWidth(width), mLocaleListId(localeListId) {} in ReplacementRun() 227 void addReplacementRun(int32_t start, int32_t end, float width, uint32_t localeListId) { in addReplacementRun() argument 229 std::make_unique<ReplacementRun>(Range(start, end), width, localeListId)); in addReplacementRun()
|
D | FontFamily.h | 38 FontFamily(uint32_t localeListId, FamilyVariant variant, std::vector<Font>&& fonts, 43 uint32_t localeListId() const { return mLocaleListId; } in localeListId() function
|
D | LayoutCache.h | 53 mLocaleListId(paint.localeListId), in LayoutCacheKey()
|
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 127 uint32_t localeListId, in calcFamilyScore() argument 129 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily); in calcFamilyScore() 135 const uint32_t localeScore = calcLocaleMatchingScore(localeListId, *fontFamily); in calcFamilyScore() 154 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, in calcCoverageScore() argument 178 switch (LocaleListCache::getById(localeListId).getEmojiStyle()) { in calcCoverageScore() 218 const LocaleList& fontLocaleList = LocaleListCache::getById(fontFamily.localeListId()); in calcLocaleMatchingScore() 253 uint32_t localeListId, in getFamilyForChar() argument 270 const uint32_t score = calcFamilyScore(ch, vs, variant, localeListId, family); in getFamilyForChar() 290 return getFamilyForChar(ch, vs, localeListId, variant); in getFamilyForChar() 372 uint32_t localeListId, in itemize() argument [all …]
|
D | LineBreakerUtil.h | 58 inline Locale getEffectiveLocale(uint32_t localeListId) { in getEffectiveLocale() argument 59 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale() 152 if (localeListId != newLocaleListId) { in updateLocaleIfNecessary() 156 localeListId = newLocaleListId; in updateLocaleIfNecessary() 186 uint32_t localeListId = LocaleListCache::kInvalidListId;
|
D | FontFamily.cpp | 114 FontFamily::FontFamily(uint32_t localeListId, FamilyVariant variant, std::vector<Font>&& fonts, in FontFamily() argument 116 : mLocaleListId(localeListId), in FontFamily() 119 mIsColorEmoji(LocaleListCache::getById(localeListId).getEmojiStyle() == in FontFamily()
|
D | GreedyLineBreaker.cpp | 327 uint32_t localeListId = LocaleListCache::kInvalidListId; in process() local 334 if (localeListId != newLocaleListId) { in process() 338 localeListId = newLocaleListId; in process()
|
D | LayoutCore.cpp | 359 textBuf.substr(range), paint.fontStyle, paint.localeListId, paint.familyVariant); in LayoutPiece() 462 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in LayoutPiece()
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 95 paint.localeListId = registerLocaleList(ITEMIZE_TEST_CASES[testIndex].languageTag); in BM_FontCollection_itemize() 100 paint.localeListId, paint.familyVariant); in BM_FontCollection_itemize()
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 31 uint32_t localeListId = LocaleListCache::getId(input); in createLocaleList() local 32 return LocaleListCache::getById(localeListId); in createLocaleList() 36 uint32_t localeListId = LocaleListCache::getId(input); in createLocale() local 37 return LocaleListCache::getById(localeListId)[0]; in createLocale()
|
D | LayoutCacheTest.cpp | 215 paint1.localeListId = LocaleListCache::getId("en-US"); in TEST() 219 paint2.localeListId = LocaleListCache::getId("ja-JP"); in TEST()
|
D | FontCollectionItemizeTest.cpp | 67 const uint32_t localeListId = registerLocaleList(localeList); in itemize() local 68 auto result = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize() 73 auto resultWithRunMax = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize()
|
D | GreedyLineBreakerTest.cpp | 81 paint.localeListId = LocaleListCache::getId(lang); in doLineBreak()
|
D | OptimalLineBreakerTest.cpp | 82 paint.localeListId = LocaleListCache::getId(lang); in doLineBreak()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 44 minikinPaint.localeListId = paint->getMinikinLocaleListId(); in prepareMinikinPaint()
|