Home
last modified time | relevance | path

Searched refs:mOldWord (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordContents.java57 private final String mOldWord; field in UserDictionaryAddWordContents
77 mOldWord = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents()
87 mOldWord = oldInstanceToBeEdited.mSavedWord; in UserDictionaryAddWordContents()
100 outState.putString(EXTRA_ORIGINAL_WORD, mOldWord); in saveStateIntoBundle()
111 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
114 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in delete()
122 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
124 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in apply()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordContents.java57 private final String mOldWord; field in UserDictionaryAddWordContents
77 mOldWord = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents()
87 mOldWord = oldInstanceToBeEdited.mSavedWord; in UserDictionaryAddWordContents()
100 outState.putString(EXTRA_ORIGINAL_WORD, mOldWord); in saveStateIntoBundle()
111 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
114 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in delete()
122 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
124 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in apply()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordContents.java68 private final String mOldWord; field in UserDictionaryAddWordContents
99 mOldWord = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents()
108 mOldWord = oldInstanceToBeEdited.mSavedWord; in UserDictionaryAddWordContents()
121 outState.putString(EXTRA_ORIGINAL_WORD, mOldWord); in saveStateIntoBundle()
132 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
135 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in delete()
144 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
146 UserDictionarySettings.deleteWord(mOldWord, mOldShortcut, resolver); in apply()