Searched refs:FontLanguageListCache (Results 1 - 9 of 9) sorted by relevance
/frameworks/minikin/tests/ |
H A D | FontLanguageListCacheTest.cpp | 21 #include "FontLanguageListCache.h" 35 EXPECT_EQ(0UL, FontLanguageListCache::getId("")); 37 EXPECT_EQ(FontLanguageListCache::getId("en"), FontLanguageListCache::getId("en")); 38 EXPECT_NE(FontLanguageListCache::getId("en"), FontLanguageListCache::getId("jp")); 40 EXPECT_EQ(FontLanguageListCache::getId("en,zh-Hans"), 41 FontLanguageListCache::getId("en,zh-Hans")); 42 EXPECT_NE(FontLanguageListCache::getId("en,zh-Hans"), 43 FontLanguageListCache [all...] |
H A D | FontFamilyTest.cpp | 23 #include "FontLanguageListCache.h" 35 uint32_t langId = FontLanguageListCache::getId(input); 36 return FontLanguageListCache::getById(langId); 41 uint32_t langId = FontLanguageListCache::getId(input); 42 return FontLanguageListCache::getById(langId)[0];
|
H A D | FontCollectionItemizeTest.cpp | 19 #include "FontLanguageListCache.h" 33 using android::FontLanguageListCache; 80 return FontLanguageListCache::getById(FontLanguageListCache::getId(lang_string));
|
/frameworks/minikin/libs/minikin/ |
H A D | FontLanguageListCache.h | 27 class FontLanguageListCache { class in namespace:android 42 FontLanguageListCache() {} // Singleton function in class:android::FontLanguageListCache 43 ~FontLanguageListCache() {} 46 static FontLanguageListCache* getInstance();
|
H A D | FontLanguageListCache.cpp | 19 #include "FontLanguageListCache.h" 30 const uint32_t FontLanguageListCache::kEmptyListId; 114 uint32_t FontLanguageListCache::getId(const std::string& languages) { 115 FontLanguageListCache* inst = FontLanguageListCache::getInstance(); 134 const FontLanguages& FontLanguageListCache::getById(uint32_t id) { 135 FontLanguageListCache* inst = FontLanguageListCache::getInstance(); 141 FontLanguageListCache* FontLanguageListCache [all...] |
H A D | FontFamily.cpp | 30 #include "FontLanguageListCache.h" 44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) { 60 return FontLanguageListCache::getId(languages); 71 FontFamily::FontFamily(int variant) : FontFamily(FontLanguageListCache::kEmptyListId, variant) { 163 const FontLanguages& languageList = FontLanguageListCache::getById(mLangId);
|
H A D | Android.mk | 38 FontLanguageListCache.cpp \
|
H A D | FontCollection.cpp | 27 #include "FontLanguageListCache.h" 216 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId()); 252 const FontLanguages& langList = FontLanguageListCache::getById(userLangListId); 253 const FontLanguages& fontLanguages = FontLanguageListCache::getById(fontFamily.langId());
|
H A D | Layout.cpp | 38 #include "FontLanguageListCache.h" 778 FontLanguageListCache::getById(ctx->style.getLanguageListId());
|
Completed in 1606 milliseconds