Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java493 assertEquals(0, StringUtils.getTrailingSingleQuotesCount("")); in testGetTrailingSingleQuotesCount()
494 assertEquals(1, StringUtils.getTrailingSingleQuotesCount("'")); in testGetTrailingSingleQuotesCount()
495 assertEquals(5, StringUtils.getTrailingSingleQuotesCount("'''''")); in testGetTrailingSingleQuotesCount()
496 assertEquals(0, StringUtils.getTrailingSingleQuotesCount("a")); in testGetTrailingSingleQuotesCount()
497 assertEquals(0, StringUtils.getTrailingSingleQuotesCount("'this")); in testGetTrailingSingleQuotesCount()
498 assertEquals(1, StringUtils.getTrailingSingleQuotesCount("'word'")); in testGetTrailingSingleQuotesCount()
499 assertEquals(0, StringUtils.getTrailingSingleQuotesCount("I'm")); in testGetTrailingSingleQuotesCount()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DComposedData.java51 - StringUtils.getTrailingSingleQuotesCount(mTypedWord); in copyCodePointsExceptTrailingSingleQuotesAndReturnCodePointCount()
DStringUtils.java619 public static int getTrailingSingleQuotesCount(@Nonnull final CharSequence charSequence) { in getTrailingSingleQuotesCount() method in StringUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java159 StringUtils.getTrailingSingleQuotesCount(typedWordString); in getSuggestedWordsForNonBatchInput()