Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLocale.cpp117 constexpr uint32_t unpackScript(uint32_t packedScript) { in unpackScript() argument
120 const uint32_t first = (packedScript >> 15) + FIRST_LETTER_BASE; in unpackScript()
121 const uint32_t second = ((packedScript >> 10) & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
122 const uint32_t third = ((packedScript >> 5) & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
123 const uint32_t fourth = (packedScript & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
465 uint32_t packedScript = packScript(script); in supportsScript() local
466 if (packedScript == mScript) return true; in supportsScript()
467 return supportsScript(mSubScriptBits, scriptToSubScriptBits(packedScript)); in supportsScript()
471 uint32_t packedScript = packScript(c1, c2, c3, c4); in supportsScript() local
472 if (packedScript == mScript) return true; in supportsScript()
[all …]