Home
last modified time | relevance | path

Searched refs:mSuggestedWords (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestion_results.cpp28 while (!mSuggestedWords.empty()) { in outputSuggestions()
29 const SuggestedWord &suggestedWord = mSuggestedWords.top(); in outputSuggestions()
39 if (mSuggestedWords.size() == 1) { in outputSuggestions()
44 mSuggestedWords.pop(); in outputSuggestions()
71 const SuggestedWord &mWorstSuggestion = mSuggestedWords.top(); in addSuggestion()
74 mSuggestedWords.pop(); in addSuggestion()
79 mSuggestedWords.push(SuggestedWord(codePoints, codePointCount, score, type, in addSuggestion()
84 auto copyOfSuggestedWords = mSuggestedWords; in getSortedScores()
95 auto copyOfSuggestedWords = mSuggestedWords; in dumpSuggestions()
Dsuggestion_results.h34 mSuggestedWords() {} in SuggestionResults()
53 return mSuggestedWords.size(); in getSuggestionCount()
62 SuggestedWord, std::vector<SuggestedWord>, SuggestedWord::Comparator> mSuggestedWords; variable
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureFloatingTextDrawingPreview.java103 private SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance(); field in GestureFloatingTextDrawingPreview
123 mSuggestedWords = suggestedWords; in setSuggetedWords()
142 if (!isPreviewEnabled() || mSuggestedWords.isEmpty() in drawPreview()
143 || TextUtils.isEmpty(mSuggestedWords.getWord(0))) { in drawPreview()
149 final String text = mSuggestedWords.getWord(0); in drawPreview()
157 if (mSuggestedWords.isEmpty() || TextUtils.isEmpty(mSuggestedWords.getWord(0))) { in updatePreviewPosition()
161 final String text = mSuggestedWords.getWord(0); in updatePreviewPosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java35 public final SuggestedWords mSuggestedWords; field in MoreSuggestions
39 mSuggestedWords = suggestedWords; in MoreSuggestions()
181 private SuggestedWords mSuggestedWords; field in MoreSuggestions.Builder
201 mSuggestedWords = suggestedWords; in layout()
214 if (isIndexSubjectToAutoCorrection(mSuggestedWords, index)) { in build()
216 word = mSuggestedWords.getLabel(SuggestedWords.INDEX_OF_TYPED_WORD); in build()
217 info = mSuggestedWords.getDebugString(SuggestedWords.INDEX_OF_TYPED_WORD); in build()
219 word = mSuggestedWords.getLabel(index); in build()
220 info = mSuggestedWords.getDebugString(index); in build()
233 return new MoreSuggestions(params, mSuggestedWords); in build()
DSuggestionStripView.java83 private SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance(); field in SuggestionStripView
202 mSuggestedWords = suggestedWords; in setSuggestions()
204 getContext(), mSuggestedWords, mSuggestionsStrip, this); in setSuggestions()
306 if (mSuggestedWords.size() <= mStartIndexOfMoreSuggestions) { in showMoreSuggestions()
313 builder.layout(mSuggestedWords, mStartIndexOfMoreSuggestions, maxWidth, in showMoreSuggestions()
466 if (index >= mSuggestedWords.size()) { in onClick()
469 final SuggestedWordInfo wordInfo = mSuggestedWords.getInfo(index); in onClick()
DMoreSuggestionsView.java104 final SuggestedWords suggestedWords = ((MoreSuggestions)keyboard).mSuggestedWords; in onKeyInput()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java86 public SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance(); field in InputLogic
156 mSuggestedWords = SuggestedWords.getEmptyInstance(); in startInput()
276 final SuggestedWords suggestedWords = mSuggestedWords; in onPickSuggestionManually()
282 mSuggestedWords, suggestionInfo, mDictionaryFacilitator); in onPickSuggestionManually()
313 mSuggestedWords = SuggestedWords.getEmptyInstance(); in onPickSuggestionManually()
336 mSuggestedWords, suggestionInfo, mDictionaryFacilitator); in onPickSuggestionManually()
590 mSuggestedWords = suggestedWords; in setSuggestedWords()
655 if (mSuggestedWords.isPrediction()) { in handleFunctionalEvent()
944 if (!mSuggestedWords.isPunctuationSuggestions()) { in handleSeparatorEvent()
949 if (wasComposingWord || mSuggestedWords.isEmpty()) { in handleSeparatorEvent()
[all …]
DInputLogicHandler.java157 suggestedWordsToShowSuggestions = mInputLogic.mSuggestedWords; in showGestureSuggestionsWithPreviewVisuals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1902 return DebugFlags.DEBUG_ENABLED ? mInputLogic.mSuggestedWords : null; in getSuggestedWordsForTest()