Searched defs:typedWord (Results 1 - 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DAutoCorrectionUtils.java63 public static boolean shouldBlockAutoCorrectionBySafetyNet(final String typedWord, argument
71 final int typedWordLength = typedWord.length();
76 final int distance = BinaryDictionaryUtils.editDistance(typedWord, suggestion);
83 Log.e(TAG, "Safety net: before = " + typedWord + ", after = " + suggestion);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityUtils.java155 * @param typedWord the currently typed word
157 public void setAutoCorrection(final SuggestedWords suggestedWords, final String typedWord) { argument
160 mTypedWord = typedWord;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLastComposedWord.java65 final InputPointers inputPointers, final String typedWord,
71 mTypedWord = typedWord;
64 LastComposedWord(final ArrayList<Event> events, final InputPointers inputPointers, final String typedWord, final CharSequence committedWord, final String separatorString, final PrevWordsInfo prevWordsInfo, final int capitalizedMode) argument
H A DDictionary.java116 * @param typedWord the word to compare with
119 protected boolean same(final char[] word, final int length, final String typedWord) { argument
120 if (typedWord.length() != length) {
124 if (word[i] != typedWord.charAt(i)) {
H A DSuggest.java126 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, fina
259 getSuggestionsInfoListWithDebugInfo( final String typedWord, final ArrayList<SuggestedWordInfo> suggestions) argument
[all...]
H A DSuggestedWords.java91 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, argument
353 if (!TextUtils.isEmpty(typedWord)) {
354 didRemoveTypedWord = removeSuggestedWordInfoFrom(typedWord, candidates,
395 String typedWord = null;
401 assert(null == typedWord);
89 SuggestedWords(final ArrayList<SuggestedWordInfo> suggestedWordInfoList, final ArrayList<SuggestedWordInfo> rawSuggestions, final String typedWord, final boolean typedWordValid, final boolean willAutoCorrect, final boolean isObsoleteSuggestions, final int inputStyle, final int sequenceNumber) argument
192 getTypedWordAndPreviousSuggestions( final String typedWord, final SuggestedWords previousSuggestions) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A DInputLogic.java1377 final String typedWord = mWordComposer.getTypedWord();
1381 if (suggestedWords.size() > 1 || typedWord.length() <= 1) {
1384 holder.set(retrieveOlderSuggestions(typedWord, mSuggestedWords));
1455 final String typedWord = range.mWord.toString();
1457 suggestions.add(new SuggestedWordInfo(typedWord,
1463 if (!isResumableWord(settingsValues, typedWord)) {
1471 if (!TextUtils.equals(s, typedWord)) {
1481 final int[] codePoints = StringUtils.toCodePointArray(typedWord);
1491 typedWord.codePointCount(0, numberOfCharsInWordBeforeCursor));
1529 null /* rawSuggestions */, typedWord, fals
1853 retrieveOlderSuggestions(final String typedWord, final SuggestedWords previousSuggestedWords) argument
[all...]

Completed in 103 milliseconds