Home
last modified time | relevance | path

Searched refs:FontLanguage (Results 1 – 7 of 7) sorted by relevance

/frameworks/minikin/include/minikin/
DFontFamily.h35 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 …]
DFontCollection.h59 FontFamily* getFamilyForChar(uint32_t ch, FontLanguage lang, int variant) const;
/frameworks/minikin/libs/minikin/
DFontFamily.cpp35 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()
DFontCollection.cpp103 FontLanguage lang, int variant) const { in getFamilyForChar()
165 FontLanguage lang = style.getLanguage(); in itemize()
DLayout.cpp719 FontLanguage language = ctx->style.getLanguage(); in doLayoutRun()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp37 FontLanguage fontLanguage; in FontFamily_create()
40 fontLanguage = FontLanguage(str.c_str(), str.size()); in FontFamily_create()
DMinikinUtils.cpp49 FontLanguage minikinLang(lang.c_str(), lang.size()); in doLayout()