Home
last modified time | relevance | path

Searched refs:localeListId (Results 1 – 15 of 15) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontCollection.cpp128 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 …]
DLineBreakerUtil.h63 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;
DFontFamily.cpp113 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()
DGreedyLineBreaker.cpp322 uint32_t localeListId = LocaleListCache::kInvalidListId; in process() local
329 if (localeListId != newLocaleListId) { in process()
333 localeListId = newLocaleListId; in process()
DLayout.cpp668 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in doLayoutRun()
/frameworks/minikin/include/minikin/
DMinikinFont.h43 localeListId(0), in MinikinPaint()
56 uint32_t localeListId; member
70 paintFlags == paint.paintFlags && localeListId == paint.localeListId &&
DFontCollection.h81 uint32_t localeListId,
85 uint32_t localeListId,
88 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
DMeasuredText.h82 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()
DFontFamily.h137 FontFamily(uint32_t localeListId, Variant variant, std::vector<Font>&& fonts);
141 uint32_t localeListId() const { return mLocaleListId; } in localeListId() function
DLayoutCache.h46 mLocaleListId(paint.localeListId), in LayoutCacheKey()
/frameworks/minikin/tests/perftests/
DFontCollection.cpp94 paint.localeListId = registerLocaleList(ITEMIZE_TEST_CASES[testIndex].languageTag); in BM_FontCollection_itemize()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp31 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()
DLayoutCacheTest.cpp214 paint1.localeListId = LocaleListCache::getId("en-US"); in TEST()
218 paint2.localeListId = LocaleListCache::getId("ja-JP"); in TEST()
DFontCollectionItemizeTest.cpp65 const uint32_t localeListId = registerLocaleList(localeList); in itemize() local
68 paint.localeListId = localeListId; in itemize()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp43 minikinPaint.localeListId = paint->getMinikinLocaleListId(); in prepareMinikinPaint()