Home
last modified time | relevance | path

Searched refs:UserDictionary (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionarySettings.java28 import android.provider.UserDictionary;
55 { UserDictionary.Words._ID, UserDictionary.Words.WORD};
57 { UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT};
66 UserDictionary.Words.WORD,
70 UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT
90 UserDictionary.Words.LOCALE + "=?";
92 UserDictionary.Words.LOCALE + " is null";
95 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?";
98 + UserDictionary.Words.SHORTCUT + "=''";
100 UserDictionary.Words.WORD + "=?";
[all …]
H A DUserDictionaryAddWordContents.java24 import android.provider.UserDictionary;
194 private static final String[] HAS_WORD_PROJECTION = { UserDictionary.Words.WORD };
195 private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD
196 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
197 private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD
198 + "=? AND " + UserDictionary.Words.LOCALE + " is null";
204 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI, in hasWord()
208 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI, in hasWord()
H A DUserDictionaryList.java27 import android.provider.UserDictionary;
58 final Cursor cursor = activity.getContentResolver().query(UserDictionary.Words.CONTENT_URI, in getUserDictionaryLocalesSet()
59 new String[] { UserDictionary.Words.LOCALE }, in getUserDictionaryLocalesSet()
68 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet()
/aosp12/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryCursorLoader.java22 import android.provider.UserDictionary;
36 UserDictionary.Words._ID,
37 UserDictionary.Words.WORD,
38 UserDictionary.Words.SHORTCUT
47 UserDictionary.Words.LOCALE + "=?";
49 UserDictionary.Words.LOCALE + " is null";
76 UserDictionary.Words.CONTENT_URI, QUERY_PROJECTION, in loadInBackground()
78 "UPPER(" + UserDictionary.Words.WORD + ")"); in loadInBackground()
81 candidate = getContext().getContentResolver().query(UserDictionary.Words.CONTENT_URI, in loadInBackground()
83 new String[]{queryLocale}, "UPPER(" + UserDictionary.Words.WORD + ")"); in loadInBackground()
H A DUserDictionarySettings.java27 import android.provider.UserDictionary;
55 private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD
56 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?";
57 private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WORD
58 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR "
59 + UserDictionary.Words.SHORTCUT + "=''";
141 new String[]{UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT}, in createAdapter()
209 mCursor.getColumnIndexOrThrow(UserDictionary.Words.WORD)); in getWord()
219 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); in getShortcut()
226 UserDictionary.Words.CONTENT_URI, DELETE_SELECTION_WITHOUT_SHORTCUT, in deleteWord()
[all …]
H A DUserDictionaryAddWordContents.java24 import android.provider.UserDictionary;
163 UserDictionary.Words.addWord(context, newWord.toString(), in apply()
170 private static final String[] HAS_WORD_PROJECTION = {UserDictionary.Words.WORD};
171 private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD
172 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
173 private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD
174 + "=? AND " + UserDictionary.Words.LOCALE + " is null";
181 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI, in hasWord()
185 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI, in hasWord()
H A DUserDictionaryListPreferenceController.java22 import android.provider.UserDictionary;
82 UserDictionary.Words.CONTENT_URI, new String[]{UserDictionary.Words.LOCALE}, in getUserDictionaryLocalesSet()
91 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DUserDictionaryCompatUtils.java22 import android.provider.UserDictionary;
37 ? UserDictionary.Words.LOCALE_TYPE_CURRENT : UserDictionary.Words.LOCALE_TYPE_ALL; in addWord()
38 UserDictionary.Words.addWord(context, word, freq, localeType); in addWord()
46 UserDictionary.Words.addWord(context, word, freq, shortcut, locale); in addWordWithShortcut()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
H A DUserDictionaryListControllerTest.java30 import android.provider.UserDictionary;
59 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
145 new String[]{UserDictionary.Words.LOCALE}); in query()
H A DUserDictionaryCursorLoaderTest.java26 import android.provider.UserDictionary;
47 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
/aosp12/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java37 import android.provider.UserDictionary;
38 import android.provider.UserDictionary.Words;
65 private static final String AUTHORITY = UserDictionary.AUTHORITY;
249 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId); in insert()
H A DDictionaryBackupAgent.java41 import android.provider.UserDictionary.Words;
/aosp12/frameworks/base/core/java/android/provider/
H A DUserDictionary.java35 public class UserDictionary { class
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DUserBinaryDictionary.java25 import android.provider.UserDictionary.Words;
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidWordLevelSpellCheckerSession.java22 import android.provider.UserDictionary.Words;
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes6011 android.provider.UserDictionary$Words
H A Dboot-image-profile.txt29403 Landroid/provider/UserDictionary$Words;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes6009 android.provider.UserDictionary$Words
H A Dboot-image-profile.txt39040 Landroid/provider/UserDictionary$Words;
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt35976 public class UserDictionary {
35977 ctor public UserDictionary();
35982 public static class UserDictionary.Words implements android.provider.BaseColumns {
35983 ctor public UserDictionary.Words();
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt25831 public class UserDictionary {
25832 ctor public UserDictionary();
25837 public static class UserDictionary.Words implements android.provider.BaseColumns {
25838 ctor public UserDictionary.Words();
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt46601 Landroid/provider/UserDictionary;->FREQUENCY_MAX:I
46602 Landroid/provider/UserDictionary;->FREQUENCY_MIN:I