HomeSort by relevance Sort by last modified time
    Searched refs:FontLanguage (Results 1 - 11 of 11) sorted by null

  /frameworks/minikin/tests/perftests/
FontLanguage.cpp 18 #include "FontLanguage.h"
24 FontLanguage language("en-US", 5);
31 FontLanguage language("en-Latn-US", 10);
38 FontLanguage language("en-Latn-US-u-em-emoji", 21);
Android.mk 26 FontLanguage.cpp \
  /frameworks/minikin/libs/minikin/
FontLanguage.h 36 // FontLanguage is a compact representation of a BCP 47 language tag. It
39 struct FontLanguage {
48 FontLanguage()
57 FontLanguage(const char* buf, size_t length);
59 bool operator==(const FontLanguage other) const {
64 bool operator!=(const FontLanguage other) const {
73 bool isEqualScript(const FontLanguage& other) const;
99 // mLanguage = 0 means the FontLanguage is unsupported.
133 explicit FontLanguages(std::vector<FontLanguage>&& languages);
139 const FontLanguage& operator[] (size_t n) const { return mLanguages[n];
    [all...]
FontLanguage.cpp 19 #include "FontLanguage.h"
126 FontLanguage::FontLanguage(const char* buf, size_t length) : FontLanguage() {
177 FontLanguage::EmojiStyle FontLanguage::resolveEmojiStyle(const char* buf, size_t length,
210 uint8_t FontLanguage::scriptToSubScriptBits(uint32_t script) {
251 std::string FontLanguage::getString() const {
271 bool FontLanguage::isEqualScript(const FontLanguage& other) const
    [all...]
FontLanguageListCache.cpp 26 #include "FontLanguage.h"
80 static std::vector<FontLanguage> parseLanguageList(const std::string& input) {
81 std::vector<FontLanguage> result;
92 FontLanguage lang(langTag, length);
105 FontLanguage lang(langTag, length);
149 // The default language list has only one FontLanguage and it is the unsupported language.
Android.mk 25 FontLanguage.cpp \
FontFamily.cpp 29 #include "FontLanguage.h"
161 if (languageList[i].getEmojiStyle() == FontLanguage::EMSTYLE_EMOJI) {
FontCollection.cpp 27 #include "FontLanguage.h"
193 if (langs[i].getEmojiStyle() == FontLanguage::EMSTYLE_EMOJI) {
Layout.cpp 37 #include "FontLanguage.h"
    [all...]
  /frameworks/minikin/tests/unittest/
FontFamilyTest.cpp 38 static FontLanguage createFontLanguage(const std::string& input) {
44 static FontLanguage createFontLanguageWithoutICUSanitization(const std::string& input) {
45 return FontLanguage(input.c_str(), input.size());
55 FontLanguage defaultLang;
56 FontLanguage emptyLang("", 0);
57 FontLanguage english = createFontLanguage("en");
58 FontLanguage french = createFontLanguage("fr");
59 FontLanguage und = createFontLanguage("und");
60 FontLanguage undZsye = createFontLanguage("und-Zsye");
268 FontLanguage english = createFontLanguage("en")
    [all...]
FontLanguageListCacheTest.cpp 56 FontLanguage english = FontLanguageListCache::getById(enLangId)[0];
57 FontLanguage japanese = FontLanguageListCache::getById(jpLangId)[0];

Completed in 80 milliseconds