Home
last modified time | relevance | path

Searched refs:suggestionResults (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java164 final SuggestionResults suggestionResults = mDictionaryFacilitator.getSuggestionResults( in getSuggestedWordsForNonBatchInput() local
169 getTransformedSuggestedWordInfoList(wordComposer, suggestionResults, in getSuggestedWordsForNonBatchInput()
210 || suggestionResults.isEmpty() in getSuggestedWordsForNonBatchInput()
230 || suggestionResults.first().isKindOf(SuggestedWordInfo.KIND_SHORTCUT)) { in getSuggestedWordsForNonBatchInput()
233 final SuggestedWordInfo firstSuggestion = suggestionResults.first(); in getSuggestedWordsForNonBatchInput()
234 if (suggestionResults.mFirstSuggestionExceedsConfidenceThreshold in getSuggestedWordsForNonBatchInput()
271 inputStyle = suggestionResults.mIsBeginningOfSentence in getSuggestedWordsForNonBatchInput()
281 suggestionResults.mRawSuggestions, typedWordInfo, in getSuggestedWordsForNonBatchInput()
294 final SuggestionResults suggestionResults = mDictionaryFacilitator.getSuggestionResults( in getSuggestedWordsForBatchInput() local
300 new ArrayList<>(suggestionResults); in getSuggestedWordsForBatchInput()
[all …]
DDictionaryFacilitatorImpl.java621 final SuggestionResults suggestionResults = new SuggestionResults( in getSuggestionResults() local
637 suggestionResults.addAll(dictionarySuggestions); in getSuggestionResults()
638 if (null != suggestionResults.mRawSuggestions) { in getSuggestionResults()
639 suggestionResults.mRawSuggestions.addAll(dictionarySuggestions); in getSuggestionResults()
642 return suggestionResults; in getSuggestionResults()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java289 final SuggestionResults suggestionResults = mService.getSuggestionResults( in onGetSuggestionsInternal() local
292 mService.getRecommendedThreshold(), text, suggestionResults); in onGetSuggestionsInternal()
340 final SuggestionResults suggestionResults) { in getResult() argument
341 if (suggestionResults.isEmpty() || suggestionsLimit <= 0) { in getResult()
346 for (final SuggestedWordInfo suggestedWordInfo : suggestionResults) { in getResult()
366 final int bestScore = suggestionResults.first().mScore; in getResult()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp244 SuggestionResults suggestionResults(MAX_RESULTS); in latinime_BinaryDictionary_getSuggestions() local
251 &givenSuggestOptions, weightOfLangModelVsSpatialModel, &suggestionResults); in latinime_BinaryDictionary_getSuggestions()
253 dictionary->getPredictions(&ngramContext, &suggestionResults); in latinime_BinaryDictionary_getSuggestions()
256 suggestionResults.dumpSuggestions(); in latinime_BinaryDictionary_getSuggestions()
258 suggestionResults.outputSuggestions(env, outSuggestionCount, outCodePointsArray, in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp62 SuggestionResults *const suggestionResults, in NgramListenerForPrediction() argument
65 mSuggestionResults(suggestionResults), mDictStructurePolicy(dictStructurePolicy) {} in NgramListenerForPrediction()
Ddictionary.h127 const WordIdArrayView prevWordIds, SuggestionResults *const suggestionResults,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_interface.h32 SuggestionResults *const suggestionResults) const = 0;