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

  /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 {
  /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...]

Completed in 28 milliseconds