HomeSort by relevance Sort by last modified time
    Searched refs:UserDictionary (Results 1 - 25 of 26) sorted by null

1 2

  /cts/tests/tests/provider/src/android/provider/cts/
UserDictionary_WordsTest.java 23 import android.provider.UserDictionary;
35 UserDictionary.Words._ID,
36 UserDictionary.Words.WORD,
37 UserDictionary.Words.FREQUENCY,
38 UserDictionary.Words.LOCALE };
66 UserDictionary.Words.addWord(getContext(), word, frequency,
67 UserDictionary.Words.LOCALE_TYPE_ALL);
69 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION,
70 UserDictionary.Words.WORD + "='" + word + "'", null, null);
72 mAddedBackup.add(Uri.withAppendedPath(UserDictionary.Words.CONTENT_URI
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java 17 package com.android.inputmethod.latin.userdictionary;
28 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.SHORTCU
    [all...]
UserDictionaryList.java 17 package com.android.inputmethod.latin.userdictionary;
27 import android.provider.UserDictionary;
58 final Cursor cursor = activity.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
59 new String[] { UserDictionary.Words.LOCALE },
68 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
UserDictionaryAddWordContents.java 17 package com.android.inputmethod.latin.userdictionary;
24 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,
208 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
UserDictionaryCompatUtils.java 22 import android.provider.UserDictionary;
37 ? UserDictionary.Words.LOCALE_TYPE_CURRENT : UserDictionary.Words.LOCALE_TYPE_ALL;
38 UserDictionary.Words.addWord(context, word, freq, localeType);
41 // {@link UserDictionary.Words#addWord(Context,String,int,String,Locale)} was introduced
46 UserDictionary.Words.addWord(context, word, freq, shortcut, locale);
  /packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java 28 import android.provider.UserDictionary;
49 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT
58 UserDictionary.Words.LOCALE + "=?";
60 UserDictionary.Words.LOCALE + " is null";
62 private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD
63 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?";
64 private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WORD
65 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryAddWordContents.java 24 import android.provider.UserDictionary;
164 UserDictionary.Words.addWord(context, newWord.toString(),
171 private static final String[] HAS_WORD_PROJECTION = { UserDictionary.Words.WORD };
172 private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD
173 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
174 private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD
175 + "=? AND " + UserDictionary.Words.LOCALE + " is null";
181 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
185 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
UserDictionaryList.java 31 import android.provider.UserDictionary;
83 UserDictionary.Words.CONTENT_URI, new String[] { UserDictionary.Words.LOCALE },
92 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
PersonalDictionaryLookup.java 24 import android.provider.UserDictionary;
52 * data once when created and reloads it when notified of changes to {@link UserDictionary}
260 UserDictionary.Words.CONTENT_URI,
537 Cursor cursor = mResolver.query(UserDictionary.Words.CONTENT_URI,
538 null, null, null, UserDictionary.Words.DEFAULT_SORT_ORDER);
547 final int dictLocaleIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
555 final int dictWordIndex = cursor.getColumnIndex(UserDictionary.Words.WORD);
603 final int shortcutIndex = cursor.getColumnIndex(UserDictionary.Words.SHORTCUT);
UserBinaryDictionary.java 25 import android.provider.UserDictionary.Words;
  /frameworks/base/core/java/android/provider/
UserDictionary.java 32 public class UserDictionary {
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 17 package com.android.providers.userdictionary;
36 import android.provider.UserDictionary;
37 import android.provider.UserDictionary.Words;
64 private static final String AUTHORITY = UserDictionary.AUTHORITY;
244 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);
DictionaryBackupAgent.java 17 package com.android.providers.userdictionary;
41 import android.provider.UserDictionary.Words;
52 private static final String KEY_DICTIONARY = "userdictionary";
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
PersonalDictionaryLookupTest.java 30 import android.provider.UserDictionary;
84 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale);
86 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, null,
87 UserDictionary.Words.WORD + "='" + word + "'", null, null);
89 Uri uri = Uri.withAppendedPath(UserDictionary.Words.CONTENT_URI,
90 cursor.getString(cursor.getColumnIndex(UserDictionary.Words._ID)));
97 * Deletes the entry for the given word from UserDictionary.
  /packages/apps/Settings/src/com/android/settings/search/
DynamicIndexableContentMonitor.java 36 import android.provider.UserDictionary;
156 UserDictionary.Words.CONTENT_URI, true, mUserDictionaryContentObserver);
301 if (UserDictionary.Words.CONTENT_URI.equals(uri)) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 22 import android.provider.UserDictionary.Words;
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 

Completed in 944 milliseconds

1 2