Searched refs:FontLanguage (Results 1 – 7 of 7) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 35 class FontLanguage { 38 FontLanguage() : mBits(0) { } in FontLanguage() function 41 FontLanguage(const char* buf, size_t size); 43 bool operator==(const FontLanguage other) const { return mBits == other.mBits; } 49 int match(const FontLanguage other) const; 52 explicit FontLanguage(uint32_t bits) : mBits(bits) { } in FontLanguage() function 71 FontStyle(FontLanguage lang, int variant = 0, int weight = 4, bool italic = false) { 78 FontLanguage getLanguage() const { return FontLanguage(bits >> kLangShift); } in getLanguage() 125 FontFamily(FontLanguage lang, int variant) : mLang(lang), mVariant(variant) { in FontFamily() 136 FontLanguage lang() const { return mLang; } in lang() [all …]
|
D | FontCollection.h | 59 FontFamily* getFamilyForChar(uint32_t ch, FontLanguage lang, int variant) const;
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 35 FontLanguage::FontLanguage(const char* buf, size_t size) { in FontLanguage() function in android::FontLanguage 64 std::string FontLanguage::getString() const { in getString() 86 int FontLanguage::match(const FontLanguage other) const { in match()
|
D | FontCollection.cpp | 103 FontLanguage lang, int variant) const { in getFamilyForChar() 165 FontLanguage lang = style.getLanguage(); in itemize()
|
D | Layout.cpp | 719 FontLanguage language = ctx->style.getLanguage(); in doLayoutRun()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 37 FontLanguage fontLanguage; in FontFamily_create() 40 fontLanguage = FontLanguage(str.c_str(), str.size()); in FontFamily_create()
|
D | MinikinUtils.cpp | 49 FontLanguage minikinLang(lang.c_str(), lang.size()); in doLayout()
|