HomeSort by relevance Sort by last modified time
    Searched defs:typedWord (Results 1 - 6 of 6) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DistracterFilterTest.java 57 String typedWord;
59 typedWord = "Bill";
62 EMPTY_PREV_WORDS_INFO, typedWord, localeEnUs));
64 typedWord = "nOt";
67 EMPTY_PREV_WORDS_INFO, typedWord, localeEnUs));
69 typedWord = "youre";
72 EMPTY_PREV_WORDS_INFO, typedWord, localeEnUs));
74 typedWord = "Banana";
77 EMPTY_PREV_WORDS_INFO, typedWord, localeEnUs));
79 typedWord = "orange"
    [all...]
SuggestedWordsTests.java 140 final SuggestedWordInfo typedWord = wordsWithTypedWord.getTypedWordInfoOrNull();
141 assertNotNull(typedWord);
142 assertEquals(TYPED_WORD, typedWord.mWord);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestedWords.java 91 final String typedWord,
104 mTypedWord = typedWord;
193 final String typedWord, final SuggestedWords previousSuggestions) {
196 suggestionsList.add(new SuggestedWordInfo(typedWord, SuggestedWordInfo.MAX_SCORE,
200 alreadySeen.add(typedWord.toString());
347 public static boolean removeDups(final String typedWord,
353 if (!TextUtils.isEmpty(typedWord)) {
354 didRemoveTypedWord = removeSuggestedWordInfoFrom(typedWord, candidates,
395 String typedWord = null;
401 assert(null == typedWord);
    [all...]
Suggest.java 126 final String typedWord = wordComposer.getTypedWord();
127 final int trailingSingleQuotesCount = StringUtils.getTrailingSingleQuotesCount(typedWord);
129 ? typedWord.substring(0, typedWord.length() - trailingSingleQuotesCount)
130 : typedWord;
174 if (!TextUtils.isEmpty(typedWord)) {
175 suggestionsContainer.add(0, new SuggestedWordInfo(typedWord,
184 suggestionsList = getSuggestionsInfoListWithDebugInfo(typedWord, suggestionsContainer);
237 SuggestedWordInfo.removeDups(null /* typedWord */, suggestionsContainer);
260 final String typedWord, final ArrayList<SuggestedWordInfo> suggestions)
    [all...]
WordComposer.java 148 final String typedWord = mTypedWordCache.toString();
150 final int lastIndex = typedWord.length()
151 - StringUtils.getTrailingSingleQuotesCount(typedWord);
159 final int codePointSize = Character.codePointCount(typedWord, 0, lastIndex);
163 return StringUtils.copyCodePointsAndReturnCodePointCount(destination, typedWord, 0,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java     [all...]

Completed in 486 milliseconds