/cts/tests/tests/provider/src/android/provider/cts/ |
UserDictionary_WordsTest.java | 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); 91 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 38 import android.provider.UserDictionary.Words; 48 * Provides access to a database of user defined words. Each item has a word and a frequency. 72 private static final String USERDICT_TABLE_NAME = "words"; 78 private static final int WORDS = 1; 84 sUriMatcher.addURI(AUTHORITY, "words", WORDS); 85 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID); 88 sDictProjectionMap.put(Words._ID, Words._ID); 89 sDictProjectionMap.put(Words.WORD, Words.WORD) [all...] |
DictionaryBackupAgent.java | 41 import android.provider.UserDictionary.Words; 70 Words._ID, 71 Words.WORD, 72 Words.FREQUENCY, 73 Words.LOCALE, 74 Words.APP_ID, 75 Words.SHORTCUT 101 restoreDictionary(data, Words.CONTENT_URI); 152 Cursor cursor = getContentResolver().query(Words.CONTENT_URI, PROJECTION, 153 null, null, Words.WORD) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 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" [all...] |
UserDictionaryAddWordContents.java | 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 | 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);
|
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 51 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 60 UserDictionary.Words.LOCALE + "=?"; 62 UserDictionary.Words.LOCALE + " is null"; 64 private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD 65 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 66 private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WORD 67 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 68 + UserDictionary.Words.SHORTCUT + "=''" [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
UserDictionaryCompatUtils.java | 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/ |
UserBinaryDictionary.java | 25 import android.provider.UserDictionary.Words; 39 * An expandable dictionary that stores the words in the user dictionary provider into a binary 50 private static final String[] PROJECTION_QUERY = new String[] {Words.WORD, Words.FREQUENCY}; 89 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); 171 Words.CONTENT_URI, query, request, requestArguments, null); 199 final int indexWord = cursor.getColumnIndex(Words.WORD); 200 final int indexFrequency = cursor.getColumnIndex(Words.FREQUENCY); 205 // Safeguard against adding really long words.
|
PersonalDictionaryLookup.java | 54 * It can be used directly to validate words or expand shortcuts, and it can be used by instances 260 UserDictionary.Words.CONTENT_URI, 308 * Returns the set of words defined for the given locale and more general locales. 312 * Note that this method returns expanded words, not shortcuts. Shortcuts are handled 316 * @return set of words that apply to the given locale. 324 final Set<String> words = new HashSet<>(); local 333 words.add(localeStringMap.get(wordLocale)); 338 return words; 346 * Note that this method returns shortcut keys, not expanded words. Words are handle [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordContents.java | 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 | 83 UserDictionary.Words.CONTENT_URI, new String[] { UserDictionary.Words.LOCALE }, 92 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
|
/frameworks/base/core/java/android/provider/ |
UserDictionary.java | 28 * A provider of user defined words for input methods to use for predictive text input. 29 * Applications and input methods may add words into the dictionary. Words can have associated 50 * Contains the user defined words. 52 public static class Words implements BaseColumns { 57 Uri.parse("content://" + AUTHORITY + "/words"); 60 * The MIME type of {@link #CONTENT_URI} providing a directory of words.
|
/external/regex-re2/re2/ |
prog.h | 25 for (int i = 0; i < Words; i++) 43 static const int Words = (Bits+31)/32; 44 uint32 w_[Words];
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVValue.h | 170 getEncoder(O) << Union.Words[i]; 179 getDecoder(I) >> Union.Words[i]; 187 SPIRVWord Words[2];
|
/external/valgrind/VEX/pub/ |
libvex_guest_x86.h | 261 } Words;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
PersonalDictionaryLookupTest.java | 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))); 221 // But similar looking words don't match. 249 // But similar looking words don't match. 274 // But similar looking words don't match.
|
/external/v8/src/compiler/ |
wasm-linkage.cc | 195 stack_offset += Words(type); 204 stack_offset += Words(type); 212 int Words(LocalType type) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidWordLevelSpellCheckerSession.java | 22 import android.provider.UserDictionary.Words; 111 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver); 137 * This will loosely match URLs, numbers, symbols. To avoid always underlining words that 153 // Filter out words that don't start with a letter or an apostrophe 164 // words or a URI - in either case we don't want to spell check that 215 * corrections for the text passed as an argument. It may split or group words, and 262 // Handle normal words.
|
/packages/apps/Settings/src/com/android/settings/search/ |
DynamicIndexableContentMonitor.java | 448 mContentResolver.registerContentObserver(UserDictionary.Words.CONTENT_URI, 485 } else if (UserDictionary.Words.CONTENT_URI.equals(uri)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
DynamicIndexableContentMonitorTest.java | 426 final ContentObserver observer = extractContentObserver(UserDictionary.Words.CONTENT_URI); 436 observer.onChange(false /* selfChange */, UserDictionary.Words.CONTENT_URI);
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-x86-linux.c | 435 out->LdtEnt.Words.word1 = entry_1; 436 out->LdtEnt.Words.word2 = entry_2; 651 if (gdt[idx].LdtEnt.Words.word1 == 0 652 && gdt[idx].LdtEnt.Words.word2 == 0) [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
generate.go | 249 words := g.split(string(buf)) 250 if len(words) == 0 { 253 if words[0] == "-command" { 254 g.setShorthand(words) 259 fmt.Fprintf(os.Stderr, "%s\n", strings.Join(words, " ")) 264 g.exec(words) 289 // split breaks the line into words, evaluating quoted 294 var words []string 301 Words: 321 words = append(words, word [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
natconv.go | 27 // In other words, at most n digits in base b fit into a Word. 270 // convert less-significant words (include leading zeros) 334 // Convert words of q to base b digits in s. If q is large, it is recursively "split in half" 338 // The iterative method processes n Words by n divW() calls, each of which visits every Word in the 417 // Split blocks greater than leafSize Words (or set to 0 to disable recursive conversion) 448 for words := leafSize; words < m>>1 && k < len(cacheBase10.table); words <<= 1 {
|
/prebuilts/go/linux-x86/src/cmd/go/ |
generate.go | 249 words := g.split(string(buf)) 250 if len(words) == 0 { 253 if words[0] == "-command" { 254 g.setShorthand(words) 259 fmt.Fprintf(os.Stderr, "%s\n", strings.Join(words, " ")) 264 g.exec(words) 289 // split breaks the line into words, evaluating quoted 294 var words []string 301 Words: 321 words = append(words, word [all...] |