Home
last modified time | relevance | path

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

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