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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAutoCorrection.java52 CharSequence typedWord, double autoCorrectionThreshold, int correctionMode,
58 dictionaries, wordComposer, suggestions, typedWord, correctionMode)) {
60 mAutoCorrectionWord = typedWord;
62 sortedScores, typedWord, autoCorrectionThreshold)) {
102 WordComposer wordComposer, ArrayList<CharSequence> suggestions, CharSequence typedWord,
104 if (TextUtils.isEmpty(typedWord)) return false;
105 boolean allowsAutoCorrect = allowsToBeAutoCorrected(dictionaries, typedWord, false);
113 CharSequence typedWord, double autoCorrectionThreshold) {
116 && typedWord != null && suggestions.size() > 0 && sortedScores.length > 0) {
122 typedWord,autoCorrectionSuggestio
50 updateAutoCorrectionStatus(Map<String, Dictionary> dictionaries, WordComposer wordComposer, ArrayList<CharSequence> suggestions, int[] sortedScores, CharSequence typedWord, double autoCorrectionThreshold, int correctionMode, CharSequence whitelistedWord) argument
101 hasAutoCorrectionForTypedWord(Map<String, Dictionary> dictionaries, WordComposer wordComposer, ArrayList<CharSequence> suggestions, CharSequence typedWord, int correctionMode) argument
111 hasAutoCorrectionForBinaryDictionary(WordComposer wordComposer, ArrayList<CharSequence> suggestions, int correctionMode, int[] sortedScores, CharSequence typedWord, double autoCorrectionThreshold) argument
[all...]
H A DDictionary.java96 * @param typedWord the word to compare with
99 protected boolean same(final char[] word, final int length, final CharSequence typedWord) { argument
100 if (typedWord.length() != length) {
104 if (word[i] != typedWord.charAt(i)) {
H A DSuggestedWords.java155 public Builder addTypedWordAndPreviousSuggestions(CharSequence typedWord, argument
160 addWord(typedWord, null, false);
161 alreadySeen.add(typedWord.toString());
H A DTextEntryState.java49 public static void acceptedDefault(CharSequence typedWord, CharSequence actualWord, argument
51 if (typedWord == null) return;
54 typedWord.toString(), actualWord.toString(), separatorCode);
56 displayState("acceptedDefault", "typedWord", typedWord, "actualWord", actualWord);
62 public static void backToAcceptedDefault(CharSequence typedWord) { argument
63 if (typedWord == null) return;
73 if (DEBUG) displayState("backToAcceptedDefault", "typedWord", typedWord);
76 public static void acceptedTyped(CharSequence typedWord) { argument
81 acceptedSuggestion(CharSequence typedWord, CharSequence actualWord) argument
[all...]
H A DLatinIME.java1603 CharSequence typedWord = mWordComposer.getTypedWord();
1604 TextEntryState.backToAcceptedDefault(typedWord);
1605 if (!TextUtils.isEmpty(typedWord) && !typedWord.equals(mBestWord)) {
1607 ic, mLastSelectionEnd - typedWord.length(), typedWord, mBestWord);
1744 final CharSequence typedWord = wordComposer.getTypedWord();
1752 mSuggest.getUnigramDictionaries(), typedWord, preferCapitalization());
1767 if (typedWord != null) {
1768 if (builder.size() > 1 || typedWord
1786 showSuggestions(SuggestedWords suggestedWords, CharSequence typedWord) argument
[all...]

Completed in 85 milliseconds