Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLocale.cpp105 constexpr uint32_t unpackScript(uint32_t packedScript) { in unpackScript() argument
108 const uint32_t first = (packedScript >> 15) + FIRST_LETTER_BASE; in unpackScript()
109 const uint32_t second = ((packedScript >> 10) & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
110 const uint32_t third = ((packedScript >> 5) & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
111 const uint32_t fourth = (packedScript & FIVE_BITS) + REST_LETTER_BASE; in unpackScript()
443 uint32_t packedScript = packScript(script); in supportsHbScript() local
444 if (packedScript == mScript) return true; in supportsHbScript()
445 return supportsScript(mSubScriptBits, scriptToSubScriptBits(packedScript)); in supportsHbScript()