/packages/providers/UserDictionaryProvider/ |
proguard.flags | 1 -keep class com.android.providers.userdictionary.UserDictionaryProvider
|
AndroidManifest.xml | 18 package="com.android.providers.userdictionary"
|
/cts/tests/tests/provider/src/android/provider/cts/ |
UserDictionary_WordsTest.java | 23 import android.provider.UserDictionary; 39 UserDictionary.Words._ID, 40 UserDictionary.Words.WORD, 41 UserDictionary.Words.FREQUENCY, 42 UserDictionary.Words.LOCALE }; 70 UserDictionary.Words.addWord(getContext(), word, frequency, 71 UserDictionary.Words.LOCALE_TYPE_ALL); 73 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION, 74 UserDictionary.Words.WORD + "='" + word + "'", null, null); 89 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale) [all...] |
/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/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...] |
UserDictionarySettingsUtils.java | 17 package com.android.inputmethod.latin.userdictionary; 35 // locale in UserDictionary.Words.addWord.
|
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,
|
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);
|
UserDictionaryLocalePicker.java | 17 package com.android.inputmethod.latin.userdictionary;
|
UserDictionaryAddWordFragment.java | 17 package com.android.inputmethod.latin.userdictionary; 20 import com.android.inputmethod.latin.userdictionary.UserDictionaryAddWordContents.LocaleRenderer; 21 import com.android.inputmethod.latin.userdictionary.UserDictionaryLocalePicker.LocationChangedListener;
|
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 25 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...] |
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 309 ????????????? {@link android.provider.UserDictionary.Words#CONTENT_URI} ?????????words???????? URI ?????? 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 348 withAppendedId()} ??????UserDictionary ????? URI ? ID ????????? 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 447 ?????????????????? <code>UserDictionary.Words.WORD + " = ?"</code> ???????????????????????????????????????? 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [all...] |
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI} ?????????????????? URI? 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 348 withAppendedId()} ? ID ??? UserDictionary ?? URI? 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 447 ?????????????????????? <code>UserDictionary.Words.WORD + " = ?"</code>??????????????????????????? 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [all...] |
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI} ??????????????? URI? 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 447 ?????????????????? <code>UserDictionary.Words.WORD + " = ?"</code> ????????????????????????? 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 607 UserDictionary.Words.WORD, // Contract class constant containing the word column nam [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
FragmentUtils.java | 32 import com.android.inputmethod.latin.userdictionary.UserDictionaryAddWordFragment; 33 import com.android.inputmethod.latin.userdictionary.UserDictionaryList; 34 import com.android.inputmethod.latin.userdictionary.UserDictionaryLocalePicker; 35 import com.android.inputmethod.latin.userdictionary.UserDictionarySettings;
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI}? 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 350 withAppendedId()}? ???? UserDictionary ??? URI? ID? ?????. 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 448 ???? ??? ???? ?? ?? <code>UserDictionary.Words.WORD + " = ?"</code>? ???? 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [all...] |
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI} ? ?????????? ??????? ???? ???????? URI ???????? 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 349 ? URI. ? ??????? ???? ???? ??? ?????????? ?????????????? ? URI ???????? UserDictionary ???????????? ????? {@link android.content.ContentUris#withAppendedId 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 448 <code>UserDictionary.Words.WORD + " = ?"</code>, 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [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 | 24 import android.provider.UserDictionary; 83 UserDictionary.Words.CONTENT_URI, new String[] { UserDictionary.Words.LOCALE }, 92 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
|
UserDictionarySettingsUtils.java | 34 // locale in UserDictionary.Words.addWord.
|
/frameworks/base/docs/html/guide/topics/providers/ |
content-provider-basics.jd | 248 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 312 {@link android.provider.UserDictionary.Words#CONTENT_URI} contains the content URI of 341 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 352 withAppendedId()} to append an id to the UserDictionary content URI. 418 UserDictionary.Words._ID, // Contract class constant for the _ID column name 419 UserDictionary.Words.WORD, // Contract class constant for the word column name 420 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 450 a word, the selection clause is set to <code>UserDictionary.Words.WORD + " = ?"</code> and 472 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 481 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [all...] |
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI} contém a URI de conteúdo 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 350 withAppendedId()} para anexar um ID à URI de conteúdo UserDictionary. 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 448 uma palavra, a cláusula de seleção será definida como <code>UserDictionary.Words.WORD + " = ?"</code> 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words tabl [all...] |
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/ |
content-provider-basics.jd | 246 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 310 {@link android.provider.UserDictionary.Words#CONTENT_URI} mengandung URI konten dari 339 Uri singleUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI,4); 416 UserDictionary.Words._ID, // Contract class constant for the _ID column name 417 UserDictionary.Words.WORD, // Contract class constant for the word column name 418 UserDictionary.Words.LOCALE // Contract class constant for the locale column name 448 sebuah kata, klausa pemilihan akan diatur ke <code>UserDictionary.Words.WORD + " = ?"</code> dan 470 mSelectionClause = UserDictionary.Words.WORD + " = ?"; 479 UserDictionary.Words.CONTENT_URI, // The content URI of the words table 607 UserDictionary.Words.WORD, // Contract class constant containing the word column nam [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 17 package com.android.providers.userdictionary; 37 import android.provider.UserDictionary; 38 import android.provider.UserDictionary.Words; 65 private static final String AUTHORITY = UserDictionary.AUTHORITY; 245 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);
|
/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.
|