/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 | 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 " 66 + 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/v8/src/compiler/ |
wasm-linkage.cc | 164 stack_offset += Words(type); 173 stack_offset += Words(type); 181 int Words(LocalType type) { 184 // two words.
|
/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/test/mjsunit/ |
keywords-and-reserved_words.js | 28 // Test proper handling of keywords, future reserved words and 29 // future reserved words in strict mode as specific by 7.6.1 and 7.6.2 67 // Check for strict mode future reserved words. 148 // 7.6.1.2 Future Reserved Words (without "const") 161 // 7.6.1.2 Future Reserved Words, in strict mode only.
|
/external/v8/test/webkit/ |
keywords-and-reserved_words.js | 25 "This test verifies that keywords and reserved words match those specified in ES5 section 7.6." 59 // Check for strict mode future reserved words. 118 // Technically these are "Future Reserved Words"! 127 // Future Reserved Words, in strict mode only.
|
/packages/apps/Settings/src/com/android/settings/search/ |
DynamicIndexableContentMonitor.java | 154 UserDictionary.Words.CONTENT_URI, true, mUserDictionaryContentObserver); 306 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; 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.
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-x86-linux.c | 433 out->LdtEnt.Words.word1 = entry_1; 434 out->LdtEnt.Words.word2 = entry_2; 649 if (gdt[idx].LdtEnt.Words.word1 == 0 650 && gdt[idx].LdtEnt.Words.word2 == 0) [all...] |
/external/libvorbis/doc/ |
02-bitpacking.tex | 16 bitstream into an actual representation in fixed-width words. 19 \subsubsection{octets, bytes and words} 52 Words are native groupings of multiple bytes. Several byte orderings
|
/external/clang/lib/AST/ |
Expr.cpp | 709 const uint64_t* Words = Val.getRawData(); 712 std::copy(Words, Words + NumWords, pVal); 714 VAL = Words[0]; [all...] |
/external/llvm/lib/Support/ |
APInt.cpp | 98 // Calculate the number of words to copy 99 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); local 100 // Copy the words from bigVal to pVal 101 memcpy(pVal, bigVal.data(), words * APINT_WORD_SIZE); 136 // assume case where both are single words is already handled 209 /// In other words, if y > x then this function returns 1, otherwise 0. 299 // Split x into high and low words 541 // Otherwise, compare all words 779 /// non-overlapping, of Words words, by Shift, which must be less than 64 [all...] |