Searched refs:mSuggest (Results 1 - 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DSuggestHelper.java31 protected final Suggest mSuggest; field in class:SuggestHelper
38 mSuggest = new Suggest(context, dictionaryId, null);
47 mSuggest = new Suggest(context, dictionaryPath, startOffset, length, null, locale);
54 mSuggest.setCorrectionMode(Suggest.CORRECTION_FULL);
61 mSuggest.setCorrectionMode(correctionMode);
65 return mSuggest.hasMainDictionary();
92 return AutoCorrection.isValidWord(mSuggest.getUnigramDictionaries(),
98 return mSuggest.getSuggestions(createWordComposer(typed), null,
104 SuggestedWords suggestions = mSuggest.getSuggestions(word, null,
112 SuggestedWords suggestions = mSuggest
[all...]
H A DUserBigramSuggestHelper.java41 mSuggest.setCorrectionMode(Suggest.CORRECTION_FULL_BIGRAM);
42 mSuggest.setUserBigramDictionary(mUserBigram);
51 mSuggest.setUserBigramDictionary(mUserBigram);
62 mSuggest.getSuggestions(firstChar, previous, mKeyboard.getProximityInfo());
65 mUserBigram.getBigrams(firstChar, previous, mSuggest);
68 for (int i = 0; i < mSuggest.mBigramSuggestions.size(); i++) {
69 final CharSequence word = mSuggest.mBigramSuggestions.get(i);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIME.java166 private Suggest mSuggest; field in class:LatinIME
550 resetContactsDictionary(null == mSuggest ? null : mSuggest.getContactsDictionary());
562 if (mSuggest != null) {
563 oldContactsDictionary = mSuggest.getContactsDictionary();
564 mSuggest.close();
570 mSuggest = new Suggest(this, mainDicResId, keyboardLocale);
572 mSuggest.setAutoCorrectionThreshold(mSettingsValues.mAutoCorrectionThreshold);
576 mSuggest.setUserDictionary(mUserDictionary);
583 mSuggest
[all...]

Completed in 310 milliseconds