Lines Matching refs:mSuggest
142 @UsedForTesting Suggest mSuggest;
450 ResearchLogger.getInstance().init(this, mKeyboardSwitcher, mSuggest);
484 resetContactsDictionary(null == mSuggest ? null : mSuggest.getContactsDictionary());
502 if (mSuggest != null) {
503 oldContactsDictionary = mSuggest.getContactsDictionary();
504 mSuggest.close();
508 mSuggest = new Suggest(this /* Context */, subtypeLocale,
511 mSuggest.setAutoCorrectionThreshold(mSettings.getCurrent().mAutoCorrectionThreshold);
516 ResearchLogger.getInstance().initSuggest(mSuggest);
521 mSuggest.setUserDictionary(mUserDictionary);
527 mSuggest.setUserHistoryDictionary(mUserHistoryDictionary);
531 * Resets the contacts dictionary in mSuggest according to the user settings.
540 (null != mSuggest && mSettings.getCurrent().mUseContactsDict);
567 if (null != mSuggest) {
568 mSuggest.setContactsDictionary(dictionaryToUse);
574 mSuggest.resetMainDict(this, subtypeLocale, this /* SuggestInitializationListener */);
580 if (mSuggest != null) {
581 mSuggest.close();
582 mSuggest = null;
756 if (null != mSuggest && null != currentLocale && !currentLocale.equals(mSuggest.mLocale)) {
773 if (mSuggest != null && currentSettings.mCorrectionEnabled) {
774 mSuggest.setAutoCorrectionThreshold(currentSettings.mAutoCorrectionThreshold);
2163 if (mSuggest == null
2185 if (keyboard == null || mSuggest == null) {
2195 return mSuggest.getSuggestedWords(mWordComposer, prevWord, keyboard.getProximityInfo(),
2368 // Please note that if mSuggest is null, it means that everything is off: suggestion
2371 SuggestedWordInfo.KIND_TYPED == suggestionInfo.mKind && mSuggest != null
2373 && !AutoCorrection.isValidWord(mSuggest.getUnigramDictionaries(), suggestion, true);
2418 if (mSuggest == null) return null;
2425 final Suggest suggest = mSuggest;