Searched refs:newWord (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 126 final String newWord = mWordEditText.getText().toString(); in apply() local 138 if (TextUtils.isEmpty(newWord)) { in apply() 142 mSavedWord = newWord; in apply() 148 if (TextUtils.isEmpty(newShortcut) && hasWord(newWord, context)) { in apply() 155 UserDictionarySettings.deleteWord(newWord, null, resolver); in apply() 158 UserDictionarySettings.deleteWord(newWord, newShortcut, resolver); in apply() 163 UserDictionary.Words.addWord(context, newWord.toString(), in apply()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryAddWordContents.java | 148 final String newWord = mWordEditText.getText().toString(); in apply() local 162 if (TextUtils.isEmpty(newWord)) { in apply() 166 mSavedWord = newWord; in apply() 172 if (TextUtils.isEmpty(newShortcut) && hasWord(newWord, context)) { in apply() 179 UserDictionarySettings.deleteWord(newWord, null, resolver); in apply() 182 UserDictionarySettings.deleteWord(newWord, newShortcut, resolver); in apply() 187 UserDictionaryCompatUtils.addWord(context, newWord.toString(), in apply()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 417 final PtNode newWord = new PtNode(Arrays.copyOfRange(word, in add() local 423 newChildren.mData.add(addIndex, newWord); in add()
|