Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java336 int letterCount = 1; in getCapitalizationType() local
339 if (1 != capsCount && letterCount != capsCount) break; in getCapitalizationType()
343 ++letterCount; in getCapitalizationType()
347 ++letterCount; in getCapitalizationType()
354 return (letterCount == capsCount ? CAPITALIZE_ALL : CAPITALIZE_NONE); in getCapitalizationType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java159 int letterCount = 0; in getCheckabilityInScript() local
175 if (ScriptUtils.isLetterPartOfScript(codePoint, script)) ++letterCount; in getCheckabilityInScript()
179 return (letterCount * 4 < length * 3) in getCheckabilityInScript()