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

1 2

  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 35 import android.provider.UserDictionary.Words;
40 * Provides access to a database of user defined words. Each item has a word and a frequency.
66 private static final String USERDICT_TABLE_NAME = "words";
72 private static final int WORDS = 1;
90 + Words._ID + " INTEGER PRIMARY KEY,"
91 + Words.WORD + " TEXT,"
92 + Words.FREQUENCY + " INTEGER,"
93 + Words.LOCALE + " TEXT,"
94 + Words.APP_ID + " INTEGER,"
95 + Words.SHORTCUT + " TEXT
    [all...]
DictionaryBackupAgent.java 40 import android.provider.UserDictionary.Words;
67 Words._ID,
68 Words.WORD,
69 Words.FREQUENCY,
70 Words.LOCALE,
71 Words.APP_ID,
72 Words.SHORTCUT
98 restoreDictionary(data, Words.CONTENT_URI);
149 Cursor cursor = getContentResolver().query(Words.CONTENT_URI, PROJECTION,
150 null, null, Words.WORD)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
UserDictionary_WordsTest.java 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,
91 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
UserDictionaryCompatUtils.java 20 import android.provider.UserDictionary.Words;
26 // UserDictionary.Words#addWord(Context, String, int, String, Locale) was introduced
28 private static final Method METHOD_addWord = CompatUtils.getMethod(Words.class, "addWord",
35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut,
41 localeType = Words.LOCALE_TYPE_ALL;
45 localeType = Words.LOCALE_TYPE_CURRENT;
47 localeType = Words.LOCALE_TYPE_ALL;
50 Words.addWord(context, word, freq, localeType);
  /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 174 private static final String[] HAS_WORD_PROJECTION = { UserDictionary.Words.WORD };
175 private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD
176 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
177 private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD
178 + "=? AND " + UserDictionary.Words.LOCALE + " is null";
184 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
188 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
UserDictionaryList.java 52 final Cursor cursor = activity.managedQuery(UserDictionary.Words.CONTENT_URI,
53 new String[] { UserDictionary.Words.LOCALE },
61 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
  /packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java 57 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT
66 UserDictionary.Words.LOCALE + "=?";
68 UserDictionary.Words.LOCALE + " is null";
70 private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD
71 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?";
72 private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WORD
73 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR "
74 + UserDictionary.Words.SHORTCUT + "=''"
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
UserBinaryDictionary.java 27 import android.provider.UserDictionary.Words;
36 * An expandable dictionary that stores the words in the user dictionary provider into a binary
46 // TODO: use Words.SHORTCUT when we target JellyBean or above
52 Words.WORD,
54 Words.FREQUENCY,
58 Words.WORD,
59 Words.FREQUENCY,
113 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver);
124 final int indexWord = cursor.getColumnIndex(Words.WORD);
190 Words.CONTENT_URI, PROJECTION_QUERY, request.toString(), requestArguments, null)
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryAddWordContents.java 146 UserDictionary.Words.addWord(context, newWord.toString(),
153 private static final String[] HAS_WORD_PROJECTION = { UserDictionary.Words.WORD };
154 private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD
155 + "=? AND " + UserDictionary.Words.LOCALE + "=?";
156 private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD
157 + "=? AND " + UserDictionary.Words.LOCALE + " is null";
163 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
167 cursor = context.getContentResolver().query(UserDictionary.Words.CONTENT_URI,
UserDictionaryList.java 47 final Cursor cursor = activity.managedQuery(UserDictionary.Words.CONTENT_URI,
48 new String[] { UserDictionary.Words.LOCALE },
55 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
  /external/valgrind/main/VEX/pub/
libvex_guest_x86.h 261 } Words;
  /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
47 * Contains the user defined words.
49 public static class Words implements BaseColumns {
54 Uri.parse("content://" + AUTHORITY + "/words");
57 * 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/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.
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 22 import android.provider.UserDictionary.Words;
109 cres.registerContentObserver(Words.CONTENT_URI, true, mObserver);
152 // Our dictionary also contains a few words with 0xF2; it would be best to check
153 // if that's correct, but a web search does return results for these words so
167 * This will loosely match URLs, numbers, symbols. To avoid always underlining words that
183 // Filter out words that don't start with a letter or an apostrophe
194 // words or a URI - in either case we don't want to spell check that
237 * corrections for the text passed as an argument. It may split or group words, and
301 // TODO: make a spell checker option to block offensive words or not
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-x86-linux.c 456 out->LdtEnt.Words.word1 = entry_1;
457 out->LdtEnt.Words.word2 = entry_2;
672 if (gdt[idx].LdtEnt.Words.word1 == 0
673 && 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 615 const uint64_t* Words = Val.getRawData();
618 std::copy(Words, Words + NumWords, pVal);
620 VAL = Words[0];
    [all...]
  /external/protobuf/src/google/protobuf/
repeated_field_unittest.cc 853 std::vector<string> words; member in class:google::protobuf::__anon12913::RepeatedFieldInsertionIteratorsTest
877 words.push_back("Able");
878 words.push_back("was");
879 words.push_back("I");
880 words.push_back("ere");
881 words.push_back("I");
882 words.push_back("saw");
883 words.push_back("Elba");
884 std::copy(words.begin(), words.end()
    [all...]
  /external/llvm/lib/Support/
APInt.cpp 97 // Calculate the number of words to copy
98 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); local
99 // Copy the words from bigVal to pVal
100 memcpy(pVal, bigVal.data(), words * APINT_WORD_SIZE);
135 // assume case where both are single words is already handled
208 /// In other words, if y > x then this function returns 1, otherwise 0.
298 // Split x into high and low words
536 // Otherwise, compare all words
766 /// non-overlapping, of Words words, by Shift, which must be less than 64
    [all...]
  /external/llvm/include/llvm-c/
Core.h 601 * alive at a time. In other words, a unique type is shared among all
    [all...]
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_3_0/
BitcodeReader.cpp     [all...]

Completed in 567 milliseconds

1 2