Lines Matching refs:typedWord
1179 final String typedWord = mWordComposer.getTypedWord();
1180 if (typedWord.length() > 0) {
1182 ResearchLogger.getInstance().onWordFinished(typedWord, mWordComposer.isBatchMode());
1184 commitChosenWord(typedWord, LastComposedWord.COMMIT_TYPE_USER_TYPED_WORD,
2179 final String typedWord = mWordComposer.getTypedWord();
2180 showSuggestionStrip(suggestedWords, typedWord);
2205 private SuggestedWords maybeRetrieveOlderSuggestions(final String typedWord,
2214 if (suggestedWords.size() > 1 || typedWord.length() <= 1
2219 return getOlderSuggestions(typedWord);
2223 private SuggestedWords getOlderSuggestions(final String typedWord) {
2228 if (typedWord == null) {
2232 SuggestedWords.getTypedWordAndPreviousSuggestions(typedWord,
2242 private void showSuggestionStrip(final SuggestedWords suggestedWords, final String typedWord) {
2251 autoCorrection = typedWord;
2266 final String typedWord = mWordComposer.getTypedWord();
2268 ? typedAutoCorrection : typedWord;
2270 if (TextUtils.isEmpty(typedWord)) {
2275 Stats.onAutoCorrection(typedWord, autoCorrection, separatorString, mWordComposer);
2279 ResearchLogger.latinIme_commitCurrentAutoCorrection(typedWord, autoCorrection,
2285 if (!typedWord.equals(autoCorrection)) {
2290 // of the auto-correction flash. At this moment, the "typedWord" argument is
2293 new CorrectionInfo(mLastSelectionEnd - typedWord.length(),
2294 typedWord, autoCorrection));
2469 final String typedWord = range.mWord.toString();
2478 if (!TextUtils.equals(s, typedWord)) {
2486 mWordComposer.setComposingWord(typedWord, mKeyboardSwitcher.getKeyboard());
2524 showSuggestionStrip(suggestedWords, typedWord);