Home
last modified time | relevance | path

Searched refs:wordInfo (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java90 final WordInfo wordInfo = (WordInfo)o; in equals()
91 if (mWord == null || wordInfo.mWord == null) { in equals()
92 return mWord == wordInfo.mWord in equals()
93 && mIsBeginningOfSentence == wordInfo.mIsBeginningOfSentence; in equals()
95 return TextUtils.equals(mWord, wordInfo.mWord) in equals()
96 && mIsBeginningOfSentence == wordInfo.mIsBeginningOfSentence; in equals()
126 public NgramContext getNextNgramContext(final WordInfo wordInfo) { in getNextNgramContext() argument
129 prevWordsInfo[0] = wordInfo; in getNextNgramContext()
144 final NgramContext.WordInfo wordInfo = mPrevWordsInfo[i]; in extractPrevWordsContext() local
145 if (wordInfo.mIsBeginningOfSentence) { in extractPrevWordsContext()
[all …]
DSuggest.java126 final SuggestedWordInfo wordInfo = suggestionsContainer.get(i); in getTransformedSuggestedWordInfoList() local
127 final Locale wordLocale = wordInfo.mSourceDict.mLocale; in getTransformedSuggestedWordInfoList()
129 wordInfo, null == wordLocale ? defaultLocale : wordLocale, in getTransformedSuggestedWordInfoList()
306 final SuggestedWordInfo wordInfo = suggestionsContainer.get(i); in getSuggestedWordsForBatchInput() local
307 final Locale wordlocale = wordInfo.mSourceDict.mLocale; in getSuggestedWordsForBatchInput()
309 wordInfo, null == wordlocale ? locale : wordlocale, isAllUpperCase, in getSuggestedWordsForBatchInput()
411 final SuggestedWordInfo wordInfo, final Locale locale, final boolean isAllUpperCase, in getTransformedSuggestedWordInfo() argument
413 final StringBuilder sb = new StringBuilder(wordInfo.mWord.length()); in getTransformedSuggestedWordInfo()
415 sb.append(wordInfo.mWord.toUpperCase(locale)); in getTransformedSuggestedWordInfo()
417 sb.append(StringUtils.capitalizeFirstCodePoint(wordInfo.mWord, locale)); in getTransformedSuggestedWordInfo()
[all …]
DSuggestedWords.java164 final SuggestedWordInfo wordInfo = getInfo(pos); in getDebugString() local
165 if (wordInfo == null) { in getDebugString()
168 final String debugString = wordInfo.getDebugString(); in getDebugString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripView.java256 public void onSuggestionSelected(final SuggestedWordInfo wordInfo) {
257 mListener.pickSuggestionManually(wordInfo);
469 final SuggestedWordInfo wordInfo = mSuggestedWords.getInfo(index); in onClick() local
470 mListener.pickSuggestionManually(wordInfo); in onClick()