/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 128 uint32_t localeListId, in calcFamilyScore() argument 130 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily); in calcFamilyScore() 136 const uint32_t localeScore = calcLocaleMatchingScore(localeListId, *fontFamily); in calcFamilyScore() 155 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, in calcCoverageScore() argument 179 switch (LocaleListCache::getById(localeListId).getEmojiStyle()) { in calcCoverageScore() 219 const LocaleList& fontLocaleList = LocaleListCache::getById(fontFamily.localeListId()); in calcLocaleMatchingScore() 254 uint32_t ch, uint32_t vs, uint32_t localeListId, FontFamily::Variant variant) const { 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() 375 const uint32_t localeListId = paint.localeListId; in itemize() local [all …]
|
D | LineBreakerUtil.h | 63 inline Locale getEffectiveLocale(uint32_t localeListId) { in getEffectiveLocale() argument 64 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale() 158 if (localeListId != newLocaleListId) { in updateLocaleIfNecessary() 162 localeListId = newLocaleListId; in updateLocaleIfNecessary() 190 uint32_t localeListId = LocaleListCache::kInvalidListId;
|
D | FontFamily.cpp | 113 FontFamily::FontFamily(uint32_t localeListId, Variant variant, std::vector<Font>&& fonts) in FontFamily() argument 114 : mLocaleListId(localeListId), in FontFamily() 117 mIsColorEmoji(LocaleListCache::getById(localeListId).getEmojiStyle() == in FontFamily()
|
D | GreedyLineBreaker.cpp | 322 uint32_t localeListId = LocaleListCache::kInvalidListId; in process() local 329 if (localeListId != newLocaleListId) { in process() 333 localeListId = newLocaleListId; in process()
|
D | Layout.cpp | 668 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in doLayoutRun()
|
/frameworks/minikin/include/minikin/ |
D | MinikinFont.h | 43 localeListId(0), in MinikinPaint() 56 uint32_t localeListId; member 70 paintFlags == paint.paintFlags && localeListId == paint.localeListId &&
|
D | FontCollection.h | 81 uint32_t localeListId, 85 uint32_t localeListId, 88 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
|
D | MeasuredText.h | 82 uint32_t getLocaleListId() const override { return mPaint.localeListId; } in getLocaleListId() 115 ReplacementRun(const Range& range, float width, uint32_t localeListId) in ReplacementRun() argument 116 : Run(range), mWidth(width), mLocaleListId(localeListId) {} in ReplacementRun() 213 void addReplacementRun(int32_t start, int32_t end, float width, uint32_t localeListId) { in addReplacementRun() argument 215 std::make_unique<ReplacementRun>(Range(start, end), width, localeListId)); in addReplacementRun()
|
D | FontFamily.h | 137 FontFamily(uint32_t localeListId, Variant variant, std::vector<Font>&& fonts); 141 uint32_t localeListId() const { return mLocaleListId; } in localeListId() function
|
D | LayoutCache.h | 46 mLocaleListId(paint.localeListId), in LayoutCacheKey()
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 94 paint.localeListId = registerLocaleList(ITEMIZE_TEST_CASES[testIndex].languageTag); 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 | 214 paint1.localeListId = LocaleListCache::getId("en-US"); in TEST() 218 paint2.localeListId = LocaleListCache::getId("ja-JP"); in TEST()
|
D | FontCollectionItemizeTest.cpp | 65 const uint32_t localeListId = registerLocaleList(localeList); in itemize() local 68 paint.localeListId = localeListId; in itemize()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 43 minikinPaint.localeListId = paint->getMinikinLocaleListId(); in prepareMinikinPaint()
|