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

  /frameworks/minikin/include/minikin/
FontFamily.h 32 // FontLanguage is a compact representation of a bcp-47 language tag. It
35 class FontLanguage {
38 FontLanguage() : mBits(0) { }
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) { }
71 FontStyle(FontLanguage lang, int variant = 0, int weight = 4, bool italic = false) {
78 FontLanguage getLanguage() const { return FontLanguage(bits >> kLangShift);
    [all...]
FontCollection.h 59 FontFamily* getFamilyForChar(uint32_t ch, FontLanguage lang, int variant) const;
  /frameworks/minikin/libs/minikin/
FontFamily.cpp 35 FontLanguage::FontLanguage(const char* buf, size_t size) {
64 std::string FontLanguage::getString() const {
86 int FontLanguage::match(const FontLanguage other) const {
FontCollection.cpp 107 FontLanguage lang, int variant) const {
172 FontLanguage lang = style.getLanguage();
Layout.cpp 754 FontLanguage language = ctx->style.getLanguage();
    [all...]
  /frameworks/base/core/jni/android/graphics/
FontFamily.cpp 39 FontLanguage fontLanguage;
42 fontLanguage = FontLanguage(str.c_str(), str.size());
44 return (jlong)new FontFamily(fontLanguage, variant);
MinikinUtils.cpp 37 FontLanguage minikinLang(lang.c_str(), lang.size());

Completed in 5250 milliseconds