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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
Event.java 20 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
108 final public SuggestedWordInfo mSuggestedWordInfo;
115 final int x, final int y, final SuggestedWordInfo suggestedWordInfo, final int flags,
123 mSuggestedWordInfo = suggestedWordInfo;
131 + "non-null SuggestedWordInfo");
136 "a non-null SuggestedWordInfo");
145 null /* suggestedWordInfo */, isKeyRepeat ? FLAG_REPEAT : FLAG_NONE, null);
153 null /* suggestedWordInfo */, isKeyRepeat ? FLAG_REPEAT : FLAG_NONE, next);
163 null /* suggestedWordInfo */, FLAG_DEAD, next)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
SuggestedWordsTests.java 22 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
31 * Helper method to create a dummy {@link SuggestedWordInfo} with specifying
32 * {@link SuggestedWordInfo#KIND_TYPED}.
34 * @param word the word to be used to create {@link SuggestedWordInfo}.
35 * @return a new instance of {@link SuggestedWordInfo}.
37 private static SuggestedWordInfo createTypedWordInfo(final String word) {
40 return new SuggestedWordInfo(word, "" /* prevWordsContext */, 100 /* score */,
41 SuggestedWordInfo.KIND_TYPED,
43 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */,
48 * Helper method to create a dummy {@link SuggestedWordInfo} with specifyin
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 33 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
346 for (final SuggestedWordInfo suggestedWordInfo : suggestionResults) {
349 suggestion = suggestedWordInfo.mWord.toUpperCase(locale);
352 suggestedWordInfo.mWord, locale);
354 suggestion = suggestedWordInfo.mWord;
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
SuggestionSpanUtilsTest.java 28 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
40 * Helper method to create a dummy {@link SuggestedWordInfo}.
42 * @param kindAndFlags the kind and flags to be used to create {@link SuggestedWordInfo}.
43 * @param word the word to be used to create {@link SuggestedWordInfo}.
44 * @return a new instance of {@link SuggestedWordInfo}.
46 private static SuggestedWordInfo createWordInfo(final String word, final int kindAndFlags) {
47 return new SuggestedWordInfo(word, "" /* prevWordsContext */, 1 /* score */, kindAndFlags,
49 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */,
50 SuggestedWordInfo.NOT_A_CONFIDENCE /* autoCommitFirstWordConfidence */);
125 final SuggestedWordInfo prediction1
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestedWords.java 50 private static final ArrayList<SuggestedWordInfo> EMPTY_WORD_INFO_LIST = new ArrayList<>(0);
58 public final SuggestedWordInfo mTypedWordInfo;
70 protected final ArrayList<SuggestedWordInfo> mSuggestedWordInfoList;
72 public final ArrayList<SuggestedWordInfo> mRawSuggestions;
74 public SuggestedWords(@Nonnull final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
75 @Nullable final ArrayList<SuggestedWordInfo> rawSuggestions,
76 @Nullable final SuggestedWordInfo typedWordInfo,
114 * Get {@link SuggestedWordInfo} object for the typed word.
115 * @return The {@link SuggestedWordInfo} object for the typed word.
117 public SuggestedWordInfo getTypedWordInfo()
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java 46 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
274 final SuggestedWordInfo suggestionInfo, final int keyboardShiftState,
312 if (suggestionInfo.isKindOf(SuggestedWordInfo.KIND_APP_DEFINED)) {
580 final SuggestedWordInfo suggestedWordInfo;
582 suggestedWordInfo = suggestedWords.getInfo(SuggestedWords.INDEX_OF_AUTO_CORRECTION);
586 suggestedWordInfo = suggestedWords.mTypedWordInfo;
588 mWordComposer.setAutoCorrection(suggestedWordInfo);
    [all...]

Completed in 207 milliseconds