Searched refs:newWord (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 106 final String newWord = mWordEditText.getText().toString(); in apply() local 118 if (TextUtils.isEmpty(newWord)) { in apply() 126 if (hasWord(newWord, context)) return; in apply() 131 UserDictionarySettings.deleteWord(newWord, null, resolver); in apply() 134 UserDictionarySettings.deleteWord(newWord, newShortcut, resolver); in apply() 139 UserDictionary.Words.addWord(context, newWord.toString(), in apply()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | unigram_dictionary.cpp | 740 static inline void onTerminalWordLike(const int freq, int32_t* newWord, const int length, in onTerminalWordLike() argument 744 outWord[q] = newWord[q]; in onTerminalWordLike() 754 int32_t newWord[MAX_WORD_LENGTH_INTERNAL]; in getMostFrequentWordLikeInner() local 774 inputIndex, newWord, &inputIndex, &pos); in getMostFrequentWordLikeInner() 777 onTerminalWordLike(frequency, newWord, inputIndex, outWord, &maxFreq); in getMostFrequentWordLikeInner()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 423 final CharGroup newWord = new CharGroup(Arrays.copyOfRange(word, in add() local 428 newChildren.mData.add(addIndex, newWord); in add()
|