Searched refs:sortedSeparators (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | RecapitalizeStatus.java | 42 private static final int getStringMode(final String string, final int[] sortedSeparators) { in getStringMode() argument 47 } else if (StringUtils.isIdenticalAfterCapitalizeEachWord(string, sortedSeparators)) { in getStringMode() 90 final Locale locale, final int[] sortedSeparators) { in start() argument 99 final int initialMode = getStringMode(mStringBefore, sortedSeparators); in start() 101 mSortedSeparators = sortedSeparators; in start()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 384 @Nonnull final int[] sortedSeparators) { in isIdenticalAfterCapitalizeEachWord() argument 396 needsCapsNext = (Arrays.binarySearch(sortedSeparators, codePoint) >= 0); in isIdenticalAfterCapitalizeEachWord() 405 @Nonnull final int[] sortedSeparators, @Nonnull final Locale locale) { in capitalizeEachWord() argument 417 needsCapsNext = (Arrays.binarySearch(sortedSeparators, nextChar.codePointAt(0)) >= 0); in capitalizeEachWord()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 346 final int[] sortedSeparators, final Locale locale) { in checkCapitalize() argument 347 assertEquals(dst, StringUtils.capitalizeEachWord(src, sortedSeparators, locale)); in checkCapitalize() 349 == StringUtils.isIdenticalAfterCapitalizeEachWord(src, sortedSeparators)); in checkCapitalize()
|